Opened 12 years ago

Closed 12 years ago

#2691 closed bug (fixed)

TemplateNotFound: Template "macros.rss" not found

Reported by: andreasf Owned by: haiku-web
Priority: normal Milestone: R1
Component: Website/Trac Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All


How to Reproduce

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

This I got when checking why the log feed (the one we're supposed to use instead of shortened Timeline) doesn't refresh:

Request parameters:

{'format': u'rss', 'limit': u'50', 'path': u'/', 'verbose': u'on'}

User Agent was: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5_4; de-de) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1

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/", line 423, in _dispatch_request
  File "/opt/csw/lib/python/site-packages/Trac-0.11.1-py2.5.egg/trac/web/", line 219, in dispatch
    data, content_type)
  File "/opt/csw/lib/python/site-packages/Trac-0.11.1-py2.5.egg/trac/web/", 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/", line 667, in load_template
    return self.templates.load(filename, cls=cls)
  File "build/bdist.solaris-2.10-i86pc/egg/genshi/template/", line 221, in load
    filename, encoding=encoding)
  File "build/bdist.solaris-2.10-i86pc/egg/genshi/template/", line 259, in _instantiate
  File "build/bdist.solaris-2.10-i86pc/egg/genshi/template/", line 377, in __init__ = list(self._prepare(self._parse(source, encoding)))
  File "build/bdist.solaris-2.10-i86pc/egg/genshi/template/", line 444, in _prepare
    cls=cls or self.__class__)
  File "build/bdist.solaris-2.10-i86pc/egg/genshi/template/", line 231, in load
    raise TemplateNotFound(filename, search_path)
TemplateNotFound: Template "macros.rss" not found

Change History (2)

comment:1 by andreasf, 12 years ago

The Timeline feed does not seem affected btw.

comment:2 by nielx, 12 years ago

Resolution: fixed
Status: newclosed

Fixed for now.

Note: See TracTickets for help on using tickets.