Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 8 years ago

#8956 closed defect (wontfix)

Template problems with Apache and PythonOptimize

Reported by: zigarn Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Ryan J Ollos)

I had problems when using Trac (0.11.5) behind Apache via mod_python : I was missing header and footer, while there was no problems with tracd. Removing a PythonOptimize On from my Apache configuration file gives me the header and footer back.

—> something is wrong with PythonOptimize and templates.

Attachments (0)

Change History (3)

comment:1 by Remy Blank, 14 years ago

Resolution: wontfix
Status: newclosed

You will run into other issues if you use PythonOptimize On, for example the documentation for macros and plugins will not be available. Considering the minor effect that the option has (it removes docstrings and asserts, basically), we can safely say that such a configuration is not supported. See also #1044.

Added a comment about that to TracModPython.

comment:2 by Ryan J Ollos, 8 years ago

Description: modified (diff)

Same issue reported with mod_wsgi in gmessage:trac-users:AQpVWTXVwsg/Rkey-2SHFQAJ. In that case, WSGIPythonOptimize was set to 2.

Last edited 8 years ago by Ryan J Ollos (previous) (diff)

comment:3 by Ryan J Ollos, 8 years ago

See also #12352.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.