Edgewall Software
Modify

Ticket #7480 (closed defect: duplicate)

Opened 4 years ago

Last modified 7 months ago

r7406 in 0.11-stable under mod_python 3.1 fails

Reported by: Jason Winnebeck <jpwasp@…> Owned by: jonas
Priority: normal Milestone:
Component: web frontend/mod_python Version: 0.11-stable
Severity: normal Keywords:
Cc:
Release Notes:
API 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

Change History

comment:1 Changed 4 years ago by Jason Winnebeck <jpwasp@…>

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.

comment:2 Changed 4 years ago by ebray <hyugaricdeau@…>

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #7477 ;)

comment:3 Changed 7 months ago by rblank

  • Milestone 0.11.1 deleted
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.