Modify ↓
Opened 16 years ago
Closed 16 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 16 years ago by
Severity: | normal → blocker |
---|
comment:2 Changed 16 years ago by
Severity: | blocker → major |
---|
comment:3 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.