Modify

Opened 9 years ago

Closed 9 years ago

#3460 closed defect (fixed)

error when installing this plugin

Reported by: anonymous Owned by: Jeff Hammel
Priority: normal Component: TicketSubmitPolicyPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description

I got this error when installing TicketSubmitPolicyPlugin:

Traceback (most recent call last):
  File "c:\python25\lib\site-packages\Trac-0.11-py2.5.egg\trac\web\api.py", line 339, in send_error
    'text/html')
  File "C:\Python25\lib\site-packages\trac-0.11-py2.5.egg\trac\web\chrome.py", line 684, in render_template
    template = self.load_template(filename, method=method)
  File "C:\Python25\lib\site-packages\trac-0.11-py2.5.egg\trac\web\chrome.py", line 659, in load_template
    self.templates = TemplateLoader(self.get_all_templates_dirs(),
  File "C:\Python25\lib\site-packages\trac-0.11-py2.5.egg\trac\web\chrome.py", line 406, in get_all_templates_dirs
    dirs += provider.get_templates_dirs()
  File "build\bdist.win32\egg\ticketsubmitpolicy\ticketsubmitpolicy.py", line 455, in get_templates_dirs
    return [resource_filename(__name__, 'templates')]
  File "C:\Python25\lib\site-packages\setuptools-0.6c8_svn15fix.egg\pkg_resources.py", line 841, in resource_filename
    self, resource_name
  File "C:\Python25\lib\site-packages\setuptools-0.6c8_svn15fix.egg\pkg_resources.py", line 1311, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "C:\Python25\lib\site-packages\setuptools-0.6c8_svn15fix.egg\pkg_resources.py", line 1322, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'ticketsubmitpolicy\\templates'

Attachments (0)

Change History (3)

comment:1 Changed 9 years ago by anonymous

Severity: normalblocker

comment:2 Changed 9 years ago by Gustavo

Severity: blockermajor

I've found it happens only with the zipped source but works fine with the sources downloaded from svn. I've made a little change to the wiki until the developers fix the zip file.

comment:3 Changed 9 years ago by Jeff Hammel

Resolution: fixed
Status: newclosed

(In [4077]) include the package data verbosely; hopefully fixes #3460 ; please reopen if this doesnt work

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.