Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#4441 closed defect (fixed)

KeyError

Reported by: denise@… Owned by: Jeff Hammel
Priority: normal Component: TracHoursPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Installed following the wiki instructions on a fresh project. Install method is a locally built egg installed in the single project. Get this error in debug logs after installing the plugin:

2009-01-13 01:39:30,558 Trac[api] DEBUG: Updating wiki page index 2009-01-13 01:39:30,565 Trac[main] ERROR: 'trachours/templates' Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 432, in _dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 226, in dispatch

data, content_type)

File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line 687, in render_template

template = self.load_template(filename, method=method)

File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line 663, in load_template

self.templates = TemplateLoader(self.get_all_templates_dirs(),

File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line 410, in get_all_templates_dirs

dirs += provider.get_templates_dirs()

File "build/bdist.linux-x86_64/egg/trachours/hours.py", line 196, in get_templates_dirs File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 799, in resource_filename

return get_provider(package_or_requirement).get_resource_filename(

File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1229, in get_resource_filename

return self._extract_resource(manager, zip_path)

File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1240, in _extract_resource

zip_stat = self.zipinfo[zip_path]

KeyError: 'trachours/templates'

Attachments (0)

Change History (2)

comment:1 Changed 16 years ago by Jeff Hammel

Resolution: fixed
Status: newclosed

(In [5123]) include package data, hopefully fixes #4441

comment:2 Changed 16 years ago by Jeff Hammel

hopefully including the data will fix it; if not, reopen

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jeff Hammel.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.