Opened 11 years ago

Closed 7 years ago

#2823 closed bug (fixed)

TemplateNotFound: Template "macros.html" not found

Reported by: Adek336 Owned by: axeld
Priority: normal Milestone: R1
Component: Website/Trac Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

How to Reproduce

While doing a GET operation on /search, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'q': u'vim'}

User Agent was: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-2)

System Information

Trac 0.11.1
Python 2.5.1 (r251:54863, Nov 3 2007, 02:54:36) [C]
setuptools 0.6c8
psycopg2 2.0.6
Genshi 0.5
Pygments 0.10
Subversion 1.4.5 (r25188)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/opt/csw/lib/python/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/opt/csw/lib/python/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 219, in dispatch
    data, content_type)
  File "/opt/csw/lib/python/site-packages/Trac-0.11.1-py2.5.egg/trac/web/chrome.py", line 683, in render_template
    template = self.load_template(filename, method=method)
  File "/opt/csw/lib/python/site-packages/Trac-0.11.1-py2.5.egg/trac/web/chrome.py", line 667, in load_template
    return self.templates.load(filename, cls=cls)
  File "build/bdist.solaris-2.10-i86pc/egg/genshi/template/loader.py", line 221, in load
    filename, encoding=encoding)
  File "build/bdist.solaris-2.10-i86pc/egg/genshi/template/loader.py", line 259, in _instantiate
    allow_exec=self.allow_exec)
  File "build/bdist.solaris-2.10-i86pc/egg/genshi/template/base.py", line 377, in __init__
    self.stream = list(self._prepare(self._parse(source, encoding)))
  File "build/bdist.solaris-2.10-i86pc/egg/genshi/template/base.py", line 444, in _prepare
    cls=cls or self.__class__)
  File "build/bdist.solaris-2.10-i86pc/egg/genshi/template/loader.py", line 231, in load
    raise TemplateNotFound(filename, search_path)
TemplateNotFound: Template "macros.html" not found

Change History (1)

comment:1 Changed 7 years ago by diver

Component: - GeneralWebsite/Trac
Resolution: fixed
Status: newclosed

Most likely fixed with some of the Trac updates.

Note: See TracTickets for help on using tickets.