Hm...
Now i did setup.py install on thirdparty/cherrypy from svn.
But there is an other Error:
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 77, in handler
setup(options)
File "/usr/lib/python2.4/site-packages/mpcp-1.2-py2.4.egg/mpcp.py",
line 65, in setup
cherrypy.server.start(initOnly=True, serverClass=None)
File "/usr/lib/python2.4/site-packages/cherrypy/_cpserver.py", line
87, in start
autoreload.main(self._start, freq=freq)
File "/usr/lib/python2.4/site-packages/cherrypy/lib/autoreload.py",
line 63, in main
sys.exit(restart_with_reloader())
File "/usr/lib/python2.4/site-packages/cherrypy/lib/autoreload.py",
line 39, in restart_with_reloader
args = [sys.executable] + sys.argv
AttributeError: 'module' object has no attribute 'argv'
Maybe someone has an idea with this?
Thanks.
Ivo
On 1/28/06, Ivo Looser <[EMAIL PROTECTED]> wrote:
> 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
>