Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#7012 closed defect (duplicate)

Installing the code review plugin results in broken admin

Reported by: gordon@… 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 Christian Boos)

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 Alec Thomas, 16 years ago

Resolution: invalid
Status: newclosed

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 by Christian Boos, 13 years ago

Description: modified (diff)
Resolution: invalidduplicate

Duplicate of #7014.

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.