Modify ↓
Ticket #8956 (closed defect: wontfix)
Opened 2 years ago
Last modified 2 years ago
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
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
Change History
comment:1 Changed 2 years ago by rblank
- Resolution set to wontfix
- Status changed from new to closed
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.