=== chihchun_afk is now known as chihchun | ||
=== ara is now known as Guest14068 | ||
=== oSoMoN_ is now known as oSoMoN | ||
=== chihchun is now known as chihchun_afk | ||
=== chihchun_afk is now known as chihchun | ||
=== chihchun is now known as chihchun_afk | ||
dobey | wow this channel is very low traffic | 18:54 |
---|---|---|
teward | dobey: yes it seems that way :0 | 18:56 |
teward | it has its cyclical activity levels :) | 18:56 |
dobey | anyone around that knows anything about dbus-test-runner? | 18:57 |
balloons | it's summertime for northern hemisphere :-) | 20:10 |
knome | evening balloons | 20:11 |
balloons | evening. how was your Monday my friend? | 20:11 |
knome | you don't happen to know anything about the QA tracker xml-rpc? | 20:11 |
knome | ...or xml-rpc with php in general | 20:11 |
knome | the last time i hacked on this, i got no results, now i'm getting HTTP 500 | 20:12 |
knome | no? :P | 20:15 |
balloons | hmm.. what are you trying to do> | 20:36 |
balloons | nothing should have changed persay between now and last time.. depending on how long ago you tried of course | 20:36 |
knome | well i've progressed otherwise... | 20:37 |
knome | i'm basically trying to get any sensible reply from the server | 20:38 |
knome | doing "qatracker.get_access" works, and i get "admin" back, but apparently i don't know how to correctly post parameters for, say, "qatracker.products.get_list" | 20:38 |
knome | and thus, i'm getting HTTP 500 internal errors | 20:39 |
balloons | knome, hmm.. there's probably a way to glean that info | 20:39 |
balloons | knome, is your key correct? presumably yes | 20:42 |
knome | yes, i believe everything is correct, since i can use the "get_access" method and get a reply correctly | 20:43 |
knome | so maybe it's just me not knowing how to serve the parameters correctly | 20:43 |
balloons | ok, so params can be lifted from the php source | 20:44 |
balloons | i wonder if they've gotten out of sync. Best to look there first | 20:44 |
balloons | let's se | 20:44 |
knome | i did that | 20:45 |
knome | and i've received the list successfully from the server too | 20:45 |
knome | the php source is: http://bazaar.launchpad.net/~ubuntu-qa-website-devel/ubuntu-qa-website/drupal7-rewrite/view/head:/modules/qatracker/qatracker.xmlrpc.php | 20:45 |
knome | # Export: qatracker_products_get_list(status) | 20:45 |
knome | # ACL: public | 20:45 |
knome | # Returns: list of products | 20:45 |
knome | array( | 20:45 |
knome | "qatracker.products.get_list", | 20:45 |
balloons | I was just going to link you | 20:45 |
knome | "qatracker_xmlrpc_products_get_list", | 20:45 |
knome | array("array", "array"), | 20:45 |
knome | t("List all the products for a given list of status") | 20:45 |
knome | oh, oops. | 20:45 |
knome | but yeah, the first array means that the method will return an array | 20:46 |
knome | the second array should be a list of statuses (per the Export line) | 20:46 |
balloons | I can't give you more than that I'm afraid. Regardless of whether or not you get it working, do you think you could post to the mailing list about your findings? | 20:47 |
balloons | It would be useful to get some feedback and working examples for this | 20:47 |
knome | also, figuring out from http://bazaar.launchpad.net/~ubuntu-qa-website-devel/ubuntu-qa-website/python-qatracker/view/head:/qatracker.py, "Active" should be a valid product status | 20:48 |
knome | well, here's the thing: | 20:48 |
knome | the python example code is working | 20:49 |
knome | so i would guess it's only me who's struggling to send the right stuff to the server | 20:49 |
balloons | lol, sure. But what are you using to try and interact?> | 20:49 |
knome | "anything" at this point | 20:49 |
knome | let me take a PM ;) | 20:49 |
balloons | k | 20:50 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!