Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#4441 closed defect (fixed)

KeyError

Reported by: denise@… Owned by: k0s
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 6 years ago by k0s

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 Changed 6 years ago by k0s

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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from k0s. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.