Hi Together
I Try to setup Apache2 with Turbogear. mpcp is installed and
http://tinyurl.com/cv24a is done.
the Bottom line of
http://trac.turbogears.org/turbogears/wiki/ModPythonIntegration its
also implemented.

Mod_python error: "PythonHandler mpcp"

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
299, in HandlerDispatch
    result = object(req)

  File "/usr/lib/python2.4/site-packages/mpcp-1.2-py2.4.egg/mpcp.py",
line 80, in handler
    cherrypy.request.purge__()

  File 
"/usr/lib/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/__init__.py",
line 41, in __getattr__
    childobject = getattr(serving, self.__attrname__)

AttributeError: 'thread._local' object has no attribute 'request'


Here is the Apache Log.
[Sat Jan 28 08:53:21 2006] [error] [client 192.168.0.70] PythonHandler mpcp: Tra
ceback (most recent call last):
[Sat Jan 28 08:53:21 2006] [error] [client 192.168.0.70] PythonHandler mpcp:   F
ile "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in Handle
rDispatch\n    result = object(req)
[Sat Jan 28 08:53:21 2006] [error] [client 192.168.0.70] PythonHandler mpcp:   F
ile "/usr/lib/python2.4/site-packages/mpcp-1.2-py2.4.egg/mpcp.py", line 80, in h
andler\n    cherrypy.request.purge__()
[Sat Jan 28 08:53:21 2006] [error] [client 192.168.0.70] PythonHandler mpcp:   F
ile "/usr/lib/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/__in
it__.py", line 41, in __getattr__\n    childobject = getattr(serving, self.__att
rname__)
[Sat Jan 28 08:53:21 2006] [error] [client 192.168.0.70] PythonHandler mpcp: Att
ributeError: 'thread._local' object has no attribute 'request'


Someone has an Idea what happens?

I'm Running Ubuntu Linux.

TIA, Best Regards Ivo Looser

Reply via email to