Modify ↓
#1303 closed defect (worksforme)
ModPythonHandler: AttributeError: 'module' object has no attribute 'Request'
Reported by: | dna | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | web frontend/mod_python | Version: | 0.8.1 |
Severity: | normal | Keywords: | |
Cc: | dna@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I upgradet to Trac Changeset 1363 and now i get this error:
[Tue Mar 15 22:05:29 2005] [error] [client 84.188.195.152] PythonHandler trac.ModPythonHandler: Traceback (most recent call last): [Tue Mar 15 22:05:29 2005] [error] [client 84.188.195.152] PythonHandler trac.ModPythonHandler: File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 287, in HandlerDispatch\n log=debug) [Tue Mar 15 22:05:29 2005] [error] [client 84.188.195.152] PythonHandler trac.ModPythonHandler: File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 457, in import_module\n module = imp.load_module(mname, f, p, d) [Tue Mar 15 22:05:29 2005] [error] [client 84.188.195.152] PythonHandler trac.ModPythonHandler: File "/usr/lib/python2.3/site-packages/trac/ModPythonHandler.py", line 32, in ?\n class ModPythonRequest(core.Request): [Tue Mar 15 22:05:29 2005] [error] [client 84.188.195.152] PythonHandler trac.ModPythonHandler: AttributeError: 'module' object has no attribute 'Request'
Apache/2.0.52 (Unix) mod_ssl/2.0.52 OpenSSL/0.9.7e DAV/2 SVN/1.1.0 mod_python/3.1.4 Python/2.3.5 Debian 3.1 sarge
Any ideas ?
Attachments (0)
Note:
See TracTickets
for help on using tickets.
You need to change the PythonHandler line to