Edgewall Software
Modify

Ticket #7012 (closed defect: duplicate)

Opened 4 years ago

Last modified 13 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:
Release Notes:
API Changes:

Description (last modified by cboos) (diff)

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

comment:1 Changed 4 years ago by athomas

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

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.

comment:2 Changed 13 months ago by cboos

  • Description modified (diff)
  • Resolution changed from invalid to duplicate

Duplicate of #7014.

See source:sandbox/webadmin/webadmin/plugin.py@4429#L171 for the calling point.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cmlenz. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.