New submission from Peter Frauenglass <python....@everblue.info>: 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/core.py Server ready at http://localhost:1234/ Server commands: [b]rowser, [q]uit server> ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 49185) Traceback (most recent call last): File "/usr/lib/python3.2/socketserver.py", line 284, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.2/socketserver.py", line 310, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.2/socketserver.py", line 323, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.2/socketserver.py", line 638, in __init__ self.handle() File "/usr/lib/python3.2/http/server.py", line 399, in handle self.handle_one_request() File "/usr/lib/python3.2/http/server.py", line 387, in handle_one_request method() File "/usr/lib/python3.2/pydoc.py", line 2405, in do_GET self.path, content_type).encode('utf-8')) File "/usr/lib/python3.2/pydoc.py", line 2723, in _url_handler return get_html_page(url) File "/usr/lib/python3.2/pydoc.py", line 2713, in get_html_page return html.page(title, content) File "/usr/lib/python3.2/pydoc.py", line 2497, in page </body></html>''' % (title, css_link, html_navbar(), contents) File "/usr/lib/python3.2/pydoc.py", line 2530, in html_navbar """ % (version, html.escape(platform.platform(terse=True))) File "/usr/lib/python3.2/platform.py", line 1568, in platform libcname,libcversion = libc_ver(sys.executable) File "/usr/lib/python3.2/platform.py", line 184, in libc_ver if soversion > version: TypeError: unorderable types: NoneType() > str() ---------------------------------------- ---------- components: Library (Lib) files: DEBUG messages: 148951 nosy: threewestwinds priority: normal severity: normal status: open title: Pydoc3.2: TypeError: unorderable types type: crash versions: Python 3.2 Added file: http://bugs.python.org/file23861/DEBUG _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13545> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com