Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3455 closed defect (duplicate)

Trac breaks

Reported by: echo0101 Owned by: eblot
Priority: normal Component: GrowlPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11

Description

I checked out the latest via SVN, 0.2.1dev_r3950 and did a bdist_egg. Installed it in the trac and enabled.

Trac breaks as a result:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/api.py", line 339, in send_error
    'text/html')
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 683, in render_template
    template = self.load_template(filename, method=method)
  File "/usr/lib/python2.5/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 "/usr/lib/python2.5/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.linux-x86_64/egg/growl/web_ui.py", line 41, in get_templates_dirs
    return [resource_filename(__name__, 'templates')]
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 841, in resource_filename
    self, resource_name
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1311, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1322, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'growl/templates'
System Information

Trac:	0.11
Python:	2.5.2 (r252:60911, Apr 21 2008, 11:38:26) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
setuptools:	0.6c8
SQLite:	3.4.2
pysqlite:	2.3.2
Genshi:	0.5
mod_python:	3.3.1
Pygments:	0.9
Subversion:	1.4.6 (r28521)
jQuery:	1.2.3 

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by eblot

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

Weird, this is a dup of #3325, which has been already fixed.

Please double-check you're working copy is up-to-date, and re-open #3325 if the trouble still exists.

comment:2 Changed 6 years ago by eblot

Could you also provide the output of the unzip command, such as in

unzip -l TracGrowlPlugin-0.2.1dev_r3950-py2.5.egg 

Add Comment

Modify Ticket

Action
as 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.