Modify

Opened 6 years ago

Closed 6 years ago

#3460 closed defect (fixed)

error when installing this plugin

Reported by: anonymous Owned by: 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 (0)

Change History (3)

comment:1 Changed 6 years ago by anonymous

  • Severity changed from normal to blocker

comment:2 Changed 6 years ago 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.

comment:3 Changed 6 years ago by k0s

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

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

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.