Opened 7 years ago
Last modified 7 years ago
#12676 closed defect
Infinite recursion upon rendering repository files — at Initial Version
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 1.2.1 |
Component: | rendering | Version: | 1.2dev |
Severity: | normal | Keywords: | pygments |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
After upgrading from 1.0 to 1.2 (r15395), attempts to read *any* file from the Browse Source
tree result in an infinite recursion, eventually handled by a Maximum recursion depth exceeded while calling a Python object
error.
The backtrace:
... File "/usr/local/lib/python2.6/dist-packages/Trac-1.2.1dev-py2.6.egg/trac/util/__init__.py", line 1197, in __get__ result = self.fn(instance) File "/usr/local/lib/python2.6/dist-packages/Trac-1.2.1dev-py2.6.egg/trac/mimeview/pygments.py", line 241, in _types js_entry = self._types.get('text/javascript') File "/usr/local/lib/python2.6/dist-packages/Trac-1.2.1dev-py2.6.egg/trac/util/__init__.py", line 1197, in __get__ result = self.fn(instance) File "/usr/local/lib/python2.6/dist-packages/Trac-1.2.1dev-py2.6.egg/trac/mimeview/pygments.py", line 241, in _types js_entry = self._types.get('text/javascript') ...
I've also reported this on the user list: https://groups.google.com/forum/#!topic/trac-users/yaMesS3G6uo
Note:
See TracTickets
for help on using tickets.