Edgewall Software
Modify

Opened 7 years ago

Closed 7 years ago

Last modified 5 months 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:
Release Notes:
API 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 Changed 7 years ago by Remy Blank

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 Changed 8 months ago by Ryan J Ollos

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 5 months ago by Ryan J Ollos (previous) (diff)

comment:3 Changed 8 months ago by Ryan J Ollos

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.