Edgewall Software

Ticket #7012 (closed defect: invalid)

Opened 9 months ago

Last modified 9 months ago

Installing the code review plugin results in broken admin

Reported by: gordon@… Owned by: cmlenz
Priority: normal Milestone:
Component: admin/web Version:
Severity: major Keywords:
Cc:

Description

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

Change History

Changed 9 months ago by athomas

  • status changed from new to closed
  • resolution set to invalid

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.

Add/Change #7012 (Installing the code review plugin results in broken admin)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cmlenz. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.