Modify ↓
#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 )
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 , 15 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 9 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
.
Note:
See TracTickets
for help on using tickets.
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.