Opened 9 years ago

Closed 9 years ago

#4098 closed defect (fixed)

templates are missing in egg file

Reported by: Oliver Metz Owned by: Martin Scharrer
Priority: normal Component: WatchlistPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


2008-11-16 03:34:59,082 Trac[main] ERROR: 'tracwatchlist/templates'
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11stable_r7667-py2.5.egg/trac/web/", line 432, in _dispatch_request
  File "/usr/lib/python2.5/site-packages/Trac-0.11stable_r7667-py2.5.egg/trac/web/", line 226, in dispatch
    data, content_type)
  File "/usr/lib/python2.5/site-packages/Trac-0.11stable_r7667-py2.5.egg/trac/web/", line 687, in render_template
    template = self.load_template(filename, method=method)
  File "/usr/lib/python2.5/site-packages/Trac-0.11stable_r7667-py2.5.egg/trac/web/", line 663, in load_template
    self.templates = TemplateLoader(self.get_all_templates_dirs(),
  File "/usr/lib/python2.5/site-packages/Trac-0.11stable_r7667-py2.5.egg/trac/web/", line 410, in get_all_templates_dirs
    dirs += provider.get_templates_dirs()
  File "build/bdist.linux-i686/egg/tracwatchlist/", line 302, in get_templates_dirs
    return [ resource_filename(__name__, 'templates') ]
  File "/usr/lib/python2.5/site-packages/", line 841, in resource_filename
    self, resource_name
  File "/usr/lib/python2.5/site-packages/", line 1311, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.5/site-packages/", line 1322, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'tracwatchlist/templates'

Attachments (1)

templates.patch (486 bytes) - added by Oliver Metz 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by Oliver Metz

Attachment: templates.patch added

comment:1 Changed 9 years ago by Martin Scharrer

Resolution: fixed
Status: newclosed

(In [4822]) Added templates dir to package data. Moved style.css to css subdir in htdocs. This fixes #4098.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Martin Scharrer.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.