Modify

Opened 9 years ago

Closed 9 years ago

#2448 closed defect (fixed)

tracvote throws exception with trunk of 0.11

Reported by: rupert thurner Owned by: Alec Thomas
Priority: normal Component: VotePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

when clicking on "report", or "admin-plugins" trac throws the following exception after enabling vote plugin

Traceback (most recent call last):
  File "/opt/csw/testing/lib/python/site-packages/Trac-0.11dev_r6398-py2.5.egg/trac/web/api.py", line 339, in send_error
    'text/html')
  File "/opt/csw/testing/lib/python/site-packages/Trac-0.11dev_r6398-py2.5.egg/trac/web/chrome.py", line 665, in render_template
    template = self.load_template(filename, method=method)
  File "/opt/csw/testing/lib/python/site-packages/Trac-0.11dev_r6398-py2.5.egg/trac/web/chrome.py", line 641, in load_template
    self.templates = TemplateLoader(self.get_all_templates_dirs(),
  File "/opt/csw/testing/lib/python/site-packages/Trac-0.11dev_r6398-py2.5.egg/trac/web/chrome.py", line 395, in get_all_templates_dirs
    dirs += provider.get_templates_dirs()
  File "build/bdist.solaris-2.10-sun4u/egg/tracvote/__init__.py", line 88, in get_templates_dirs
  File "/opt/csw/lib/python/site-packages/setuptools-0.6c7-py2.5.egg/pkg_resources.py", line 841, in resource_filename
    self, resource_name
  File "/opt/csw/lib/python/site-packages/setuptools-0.6c7-py2.5.egg/pkg_resources.py", line 1311, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/opt/csw/lib/python/site-packages/setuptools-0.6c7-py2.5.egg/pkg_resources.py", line 1322, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'tracvote/templates'

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

Fixed in r3115.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
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.