Modify ↓
Opened 16 years ago
Closed 16 years ago
#4392 closed defect (fixed)
wrong setup.py package_data in 0.7
Reported by: | anonymous | Owned by: | François Granade |
---|---|---|---|
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)
Change History (2)
Changed 16 years ago by
Attachment: | setuppyfix.patch added |
---|
comment:1 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Thanks for reporting ! fixed in 5093 and 0.7a