Skip to content

Instantly share code, notes, and snippets.

@hpk42
Created November 22, 2013 12:26
Show Gist options
  • Save hpk42/7599101 to your computer and use it in GitHub Desktop.
Save hpk42/7599101 to your computer and use it in GitHub Desktop.
>>> import xmlrpclib
>>> proxy=xmlrpclib.ServerProxy("https://preview-pypi.python.org/pypi")
>>> d=proxy.list_packages_with_serial()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
response.msg,
xmlrpclib.ProtocolError: <ProtocolError for preview-pypi.python.org/pypi: 500 Internal Server Error>
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment