Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 12 years ago

#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)

Change History (4)

comment:1 by johan.appelgren@…, 19 years ago

Resolution: worksforme
Status: newclosed

You need to change the PythonHandler line to

PythonHandler trac.web.modpython_frontend

comment:2 by Shib <shib4u@…>, 19 years ago

in which file do we make the change ?

comment:3 by Christopher Lenz, 19 years ago

In the Apache configuration.

comment:4 by Christian Boos, 12 years ago

Milestone: 0.8.1

(clearing report:35)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.