Modify ↓
#7480 closed defect (duplicate)
r7406 in 0.11-stable under mod_python 3.1 fails
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | web frontend/mod_python | Version: | 0.11-stable |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I am using Ubuntu 6.06 LTS, which has mod_python 3.1.4.
I get the following error after r7406 on the 0.11-stable branch, in __init__.py
:
File "/usr/lib/python2.4/site-packages/Trac-0.11stable_r7414-py2.4.egg/trac/web/__init__.py", line 14, in ?\n options = apache.main_server.get_options() [Tue Jul 29 10:12:07 2008] [error] [client 129.21.93.157] PythonHandler trac.web.modpython_frontend: AttributeError: 'module' object has no attribute 'main_server'
Trac: 0.11stable-r7378 Python: 2.4.3 (#2, Mar 7 2008, 02:13:19) [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] setuptools: 0.6c8 SQLite: 3.2.8 pysqlite: 2.4.1 Genshi: 0.5.1dev-r881 mod_python: < 3.2 Pygments: 0.10 Subversion: 1.3.1 (r19032) jQuery: 1.2.6
Perhaps my Python version or mod_python are older that the main_server attribute is not supported?
Attachments (0)
Note:
See TracTickets
for help on using tickets.
I forgot to note, I was previously running r7378 and tried to upgrade to r7414, but the server was DOA so I checked the changelog for that file and that is why I guess that r7406 fails. I was able to successfully do svn update to r7405 and that is currently running on my server.