User-Agent: Build Identifier: I tried using bugtool but it seemed unhappy. Simple test case: #!/usr/bin/python import xmlrpclib bz = xmlrpclib.Server('https://bugzilla.redhat.com/beta1/xmlrpc.cgi') bz.bugzilla.getBug(133045) Reproducible: Always Steps to Reproduce: 1. run python script Actual Results: Exception occurs, xmlrpc fault. Expected Results: Nice xmlrpc response with the bug required. send: 'POST /beta1/xmlrpc.cgi HTTP/1.0\r\nHost: bugzilla.redhat.com\r\nUser-Agent: xmlrpclib.py/1.0.1 (by www.pythonware.com)\r\nContent-Type: text/xml\r\nContent-Length: 159\r\n\r\n' send: "<?xml version='1.0'?>\n<methodCall>\n<methodName>bugzilla.getBug</methodName>\n<params>\n<param>\n<value><int>133045</int></value>\n</param>\n</params>\n</methodCall>\n" reply: 'HTTP/1.1 200 OK\r\n' header: Date: Fri, 15 Oct 2004 09:32:01 GMT header: Server: Apache/2.0.46 (Red Hat) header: Connection: close header: Content-Type: text/xml body: '<?xml version="1.0"?>\n<methodResponse>\n<fault>\n<value><struct>\n<member><name>faultString</name><value><string>error executing RPC `bugzilla.getBug\'.\nUndefined subroutine &main::ConnectToDatabase called at /var/www/bugzilla/beta1/xmlrpc.cgi line 156.\n</string></value></member>\n<member><name>faultCode</name><value><i4>4</i4></value></member>\n</struct></value>\n</fault>\n</methodResponse>\n\n'
the XMLRPC interface has not yet been ported to the new 2.18 version currently. It is on my list of todo items before gold. I will get you to try this again when it is ported. In the mean time please use the old site url.
Now that the beta is in production, you you verify that this is still broken?
XMLRPC support should be fully functional now in 2.18 (at least what could be done with 2.17 ;). Please try your code again to see if this is fixed now and close if so. Thanks.
Yeah tested with the python bugzilla module.