Author prologic
Recipients prologic
Date 2008-10-01.06:24:48
SpamBayes Score 0.000154358
Marked as misclassified No
Message-id <1222842290.34.0.581261002226.issue4005@psf.upfronthosting.co.za>
In-reply-to
Content
Trying to use pydoc in it's webserver mode fails:

$ pydoc3.0 -p 8000
pydoc server ready at http://localhost:8000/
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 42939)
Traceback (most recent call last):
  File "/usr/lib/python3.0/socketserver.py", line 281, in
_handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python3.0/socketserver.py", line 307, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python3.0/socketserver.py", line 320, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.0/socketserver.py", line 614, in __init__
    self.handle()
  File "/usr/lib/python3.0/http/server.py", line 363, in handle
    self.handle_one_request()
  File "/usr/lib/python3.0/http/server.py", line 357, in handle_one_request
    method()
  File "/usr/lib/python3.0/pydoc.py", line 1957, in do_GET
    indices.append(html.index(dir, seen))
  File "/usr/lib/python3.0/pydoc.py", line 929, in index
    for importer, name, ispkg in pkgutil.iter_modules([dir]):
  File "/usr/lib/python3.0/pkgutil.py", line 147, in iter_modules
    for name, ispkg in iter_importer_modules(i, prefix):
  File "/usr/lib/python3.0/pkgutil.py", line 325, in iter_zipimport_modules
    dirlist.sort()
AttributeError: 'dict_keys' object has no attribute 'sort'
----------------------------------------
pydoc server stopped
History
Date User Action Args
2008-10-01 06:24:50prologicsetrecipients: + prologic
2008-10-01 06:24:50prologicsetmessageid: <1222842290.34.0.581261002226.issue4005@psf.upfronthosting.co.za>
2008-10-01 06:24:49prologiclinkissue4005 messages
2008-10-01 06:24:48prologiccreate