Edgewall Software

Opened 14 years ago

Closed 14 years ago

Last modified 8 years ago

#8956 closed defect (wontfix)

Template problems with Apache and PythonOptimize — at Version 2

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.

Change History (2)

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)
Note: See TracTickets for help on using tickets.