Modify

Opened 6 years ago

Closed 6 years ago

#4392 closed defect (fixed)

wrong setup.py package_data in 0.7

Reported by: anonymous Owned by: farialima
Priority: normal Component: TicketImportPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I just tried to install the plugin and after enabling it, it failed:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.2-py2.4.egg/trac/web/api.py", line 367, in send_error
    'text/html')
  File "/usr/lib/python2.4/site-packages/Trac-0.11.2-py2.4.egg/trac/web/chrome.py", line 687, in render_template
    template = self.load_template(filename, method=method)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.2-py2.4.egg/trac/web/chrome.py", line 663, in load_template
    self.templates = TemplateLoader(self.get_all_templates_dirs(),
  File "/usr/lib/python2.4/site-packages/Trac-0.11.2-py2.4.egg/trac/web/chrome.py", line 410, in get_all_templates_dirs
    dirs += provider.get_templates_dirs()
  File "build/bdist.linux-i686/egg/talm_importer/importer.py", line 100, in get_templates_dirs
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 799, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1229, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1240, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'talm_importer/templates'

Two line patch attached.

Attachments (1)

setuppyfix.patch (432 bytes) - added by anonymous 6 years ago.

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by anonymous

comment:1 Changed 6 years ago by farialima

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

Thanks for reporting ! fixed in 5093 and 0.7a

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 farialima. 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.