Modify ↓
Opened 4 years ago
Closed 4 years ago
#13886 closed defect (fixed)
Getting Trac detected an internal error: TemplateNotFound: roadmap_jinja.html
Reported by: | anonymous | Owned by: | Cinc-th |
---|---|---|---|
Priority: | normal | Component: | SimpleMultiProjectPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description (last modified by )
using trunk in docker container running ubuntu.
Its weird it looks like the file is there if I unzip the installed egg under templates/roadmap_jinja.html
Looks like perhaps the searchpath is not right?
File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 639 , in dispatch_request File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 217 , in dispatch File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 461 , in _pre_process_request File "build/bdist.linux-x86_64/egg/trac/config.py", line 925 , in __get__ File "build/bdist.linux-x86_64/egg/trac/core.py", line 95 , in extensions File "build/bdist.linux-x86_64/egg/trac/core.py", line 238 , in __getitem__ File "build/bdist.linux-x86_64/egg/trac/core.py", line 157 , in __call__ File "build/bdist.linux-x86_64/egg/simplemultiproject/roadmap.py", line 51 , in __init__ File "build/bdist.linux-x86_64/egg/trac/web/chrome.py", line 1372 , in load_template File "build/bdist.linux-x86_64/egg/trac/web/chrome.py", line 1398 , in _load_jinja_template File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 883 , in get_template File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 857 , in _load_template File "/usr/local/lib/python2.7/dist-packages/jinja2/loaders.py", line 115 , in load File "/usr/local/lib/python2.7/dist-packages/jinja2/loaders.py", line 197 , in get_source
environment <jinja2.environment.Environment object at 0x7ff9e295f710> f None filename '/var/tmp/python-eggs/Trac-1.4.2-py2.7.egg-tmp/trac/wiki/templates/road ... pieces ['roadmap_jinja.html'] searchpath '/var/tmp/python-eggs/Trac-1.4.2-py2.7.egg-tmp/trac/wiki/templates' self <jinja2.loaders.FileSystemLoader object at 0x7ff9e295f110> template 'roadmap_jinja.html'
Attachments (0)
Change History (5)
comment:1 Changed 4 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 4 years ago by
comment:3 Changed 4 years ago by
[17858] should fix your problem. I can't see the bug on my system to really verify the fix.
comment:5 Changed 4 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Assuming the problem is fixed by the recent changes.
Note: See
TracTickets for help on using
tickets.
In 17858: