Ticket #3460 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

error when installing this plugin

Reported by: anonymous Assigned to: k0s
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

Change History

07/28/08 15:57:32 changed by anonymous

  • severity changed from normal to blocker.

07/28/08 16:10:19 changed by lungpu

  • severity changed from blocker to major.

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.

07/29/08 12:31:07 changed by k0s

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #3460 (error when installing this plugin)




Change Properties
Action