[mod_python] mod python and sessions

Istvan De surf-kid24 at freemail.hu
Sat Oct 14 10:25:53 EDT 2006


Hi!

I'm trying out my mod_python installation using:
http://www.modpython.org/live/current/doc-html/pyapi-sess-example.html

However, this gives an internal server error.
Meanwhile in the apache logs:

[Sat Oct 14 14:22:06 2006] [warn] (88)Function not implemented:
apr_socket_opt_set: (TCP_NODELAY)
[Sat Oct 14 14:22:07 2006] [notice] mod_python: Creating 1 session
mutexes based on 0 max processes and 0 max threads.
[Sat Oct 14 14:23:38 2006] [error] [client 192.168.2.201] PythonHandler
mod_python.publisher: Traceback (most recent call last):
[Sat Oct 14 14:23:38 2006] [error] [client 192.168.2.201] PythonHandler
mod_python.publisher:   File "E:\\system\\libs\\mod_python\\apache.py",
line 303, in HandlerDispatch\n    result = object(req)
[Sat Oct 14 14:23:39 2006] [error] [client 192.168.2.201] PythonHandler
mod_python.publisher:   File "E:\\system\\libs\\mod_python\
\publisher.py", line 136, in handler\n    result =
util.apply_fs_data(object, req.form, req=req)
[Sat Oct 14 14:23:39 2006] [error] [client 192.168.2.201] PythonHandler
mod_python.publisher:   File "E:\\system\\libs\\mod_python\\util.py",
line 362, in apply_fs_data\n    return object(**args)
[Sat Oct 14 14:23:39 2006] [error] [client 192.168.2.201] PythonHandler
mod_python.publisher:   File "E:/Apache/mod_python/py\\index.py", line
4, in handler\n    session = Session.Session(req)
[Sat Oct 14 14:23:39 2006] [error] [client 192.168.2.201] PythonHandler
mod_python.publisher: AttributeError: 'module' object has no attribute
'Session'

How to find out what is wrong?

Thank you
Istvan



More information about the Mod_python mailing list