vsajip / pywebsocket

Automatically exported from code.google.com/p/pywebsocket
0 stars 0 forks source link

Python2.4 Support (CentOS/RHEL) #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Installing pywebsocket under CentOS 5.4 yields the following error

{{{
Mod_python error: "PythonHeaderParserHandler 
mod_pywebsocket.headerparserhandler"

Traceback (most recent call last):

  File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 287, 
in HandlerDispatch
    log=debug)

  File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 464, 
in import_module
    module = imp.load_module(mname, f, p, d)

  File "/usr/lib/python2.4/site-
packages/mod_pywebsocket/headerparserhandler.py", line 69, in ?
    _dispatcher = _create_dispatcher()

  File "/usr/lib/python2.4/site-
packages/mod_pywebsocket/headerparserhandler.py", line 55, in 
_create_dispatcher
    _HANDLER_ROOT = apache.main_server.get_options().get(

AttributeError: 'module' object has no attribute 'main_server'
}}}

Was just wondering what version of python the pywebsocket project has 
standardized on and what are the chances of 2.4 support?

Original issue reported on code.google.com by bradleym06 on 3 Feb 2010 at 11:52

GoogleCodeExporter commented 9 years ago
Python 2.3 and later are supported.
Perhaps your mod_python might be too old. Only mod_python 3.3 is supported.

Yuzo

Original comment by yuzo@chromium.org on 4 Feb 2010 at 1:14

GoogleCodeExporter commented 9 years ago
Thanks it appears CentOS version of mod_python is 3.2.8-3.1.

Original comment by bradleym06 on 4 Feb 2010 at 1:25