Modify ↓
#7012 closed defect (duplicate)
Installing the code review plugin results in broken admin
| Reported by: | Owned by: | Christopher Lenz | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | admin/web | Version: | |
| Severity: | major | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
Prior to installing the code review plugin the admin function worked well. After installing this plugin, the following error message is given when "Plugins" is chosen on the left menu of the Admin function. Note that all other left menu items of the Admin function appear to function correctly.
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/TracWebAdmin-0.1.2dev_r4429-py2.4.egg/webadmin/web_ui.py", line 109, in process_request
path_info)
File "/usr/lib/python2.4/site-packages/TracWebAdmin-0.1.2dev_r4429-py2.4.egg/webadmin/plugin.py", line 76, in process_admin_request
self._render_view(req)
File "/usr/lib/python2.4/site-packages/TracWebAdmin-0.1.2dev_r4429-py2.4.egg/webadmin/plugin.py", line 171, in _render_view
plugins[dist.project_name] = {
File "/usr/lib/python2.4/site-packages/TracWebAdmin-0.1.2dev_r4429-py2.4.egg/webadmin/plugin.py", line 230, in _get_pkginfo
pkginfo = email.message_from_string(dist.get_metadata('PKG-INFO'))
File "/usr/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/pkg_resources.py", line 891, in get_metadata
return self._get(self._fn(self.egg_info,name))
File "/usr/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/pkg_resources.py", line 949, in _get
return self.loader.get_data(path)
ZipImportError: bad local file header in /usr/lib/python2.4/site-packages/TracCodeReview-2.0dev-py2.4.egg
Attachments (0)
Change History (2)
comment:1 by , 18 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 15 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | invalid → duplicate |
Duplicate of #7014.
See source:sandbox/webadmin/webadmin/plugin.py@4429#L171 for the calling point.
Note:
See TracTickets
for help on using tickets.



It looks like a corrupt .egg file, but regardless it's not a problem with Trac. Report it against the peer review plugin if anywhere.