Issue #54 resolved

xmlrpc list_packages* API broken

holger krekel
created an issue

The xmlrpc list_packages and list_packages_with_serial calls are broken -- this breaks bandersnatch, devpi-server and possibly other tools from working currently.

>>> import xmlrpclib
>>> xmlrpclib.ServerProxy("")
<ServerProxy for>
>>> proxy=_
>>> proxy.list_packages_with_serial()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/", line 1578, in __request
File "/usr/lib/python2.7/", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/", line 1297, in single_request
return self.parse_response(response)
File "/usr/lib/python2.7/", line 1471, in parse_response
File "/usr/lib/python2.7/", line 560, in close
self._parser.Parse("", 1) # end of data
xml.parsers.expat.ExpatError: unclosed token: line 1257, column 0

Comments (1)

  1. Log in to comment