Opened 4 years ago

Last modified 4 years ago

#13886 closed defect

Getting Trac detected an internal error: TemplateNotFound: roadmap_jinja.html — at Version 1

Reported by: anonymous Owned by: Cinc-th
Priority: normal Component: SimpleMultiProjectPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description (last modified by Jun Omae)

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'

Change History (1)

comment:1 Changed 4 years ago by Jun Omae

Description: modified (diff)
Note: See TracTickets for help on using tickets.