This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author threewestwinds
Recipients threewestwinds
Date 2011-12-07.08:14:08
SpamBayes Score 5.41652e-08
Marked as misclassified No
Message-id <>
While attempting to use pydoc, I came across the following error. On my system it's simple to reproduce: pydoc -p 1234, then visit http://localhost:1234/ in a browser.

A open('/home/(me)/DEBUG', 'w').write(binary)
 right before the m.groups() call created the attached file. Hopefully this is enough to help. Thanks.

~$ pydoc3.2 -p 1234 py/ 
Server ready at http://localhost:1234/
Server commands: [b]rowser, [q]uit
server> ----------------------------------------
Exception happened during processing of request from ('', 49185)
Traceback (most recent call last):
  File "/usr/lib/python3.2/", line 284, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python3.2/", line 310, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python3.2/", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.2/", line 638, in __init__
  File "/usr/lib/python3.2/http/", line 399, in handle
  File "/usr/lib/python3.2/http/", line 387, in handle_one_request
  File "/usr/lib/python3.2/", line 2405, in do_GET
    self.path, content_type).encode('utf-8'))
  File "/usr/lib/python3.2/", line 2723, in _url_handler
    return get_html_page(url)
  File "/usr/lib/python3.2/", line 2713, in get_html_page
    return, content)
  File "/usr/lib/python3.2/", line 2497, in page
    </body></html>''' % (title, css_link, html_navbar(), contents)
  File "/usr/lib/python3.2/", line 2530, in html_navbar
    """ % (version, html.escape(platform.platform(terse=True)))
  File "/usr/lib/python3.2/", line 1568, in platform
    libcname,libcversion = libc_ver(sys.executable)
  File "/usr/lib/python3.2/", line 184, in libc_ver
    if soversion > version:
TypeError: unorderable types: NoneType() > str()
Date User Action Args
2011-12-07 08:14:11threewestwindssetrecipients: + threewestwinds
2011-12-07 08:14:10threewestwindssetmessageid: <>
2011-12-07 08:14:10threewestwindslinkissue13545 messages
2011-12-07 08:14:08threewestwindscreate