From: <no...@so...> - 2001-10-29 19:27:29
|
Bugs item #438297, was opened at 2001-07-03 11:09 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112867&aid=438297&group_id=12867 Category: Library Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Finn Bock (bckfnn) Summary: SimpleHTTPServer does not work Initial Comment: Calling jython.bat lib/SimpleHTTPServer.py results in the following error message: Traceback (innermost last): File "lib/SimpleHTTPServer.py", line 198, in ? File "lib/SimpleHTTPServer.py", line 194, in test File "H:\PROGRA~1\Java\jython-2.0 \lib\BaseHTTPServer.py", line 475, in test File "H:\PROGRA~1\Java\jython-2.0 \lib\SocketServer.py", line 168, in __init__ File "H:\PROGRA~1\Java\jython-2.0 \lib\BaseHTTPServer.py", line 94, in server_bind File "H:\PROGRA~1\Java\jython-2.0 \lib\SocketServer.py", line 178, in server_bind AttributeError: module 'socket' has no attribute 'SOL_SOCKET' To work around this error set allow_reuse_address = 0 in class BaseHTTPServer.HTTPServer. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112867&aid=438297&group_id=12867 |