Make sure you restart the server after altering plugins if using a persistent interpreter (FCGI/mod_python/tracd).

--Noah

Michael Bösendorfer wrote:
Hi guys!

I've some wired problems when trying to uninstall any plugins which I installed 
through the webadmin plugin.

I downloaded the TracTabPlugin as .egg file to my desktop.
Then I went to the admin page and installed it. Now I want to uninstall it through 
clicking on the "uninstall" button on the admin site but I'm getting the 
following error message:

Trac detected an internal error: ################################
zipimport: can not open file /export/trac/test/plugins/tractab-0.1-py2.3.egg

Python traceback
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 
206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in 
dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in 
dispatch
    resp = chosen_handler.process_request(req)
  File 
"/usr/lib/python2.3/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.3.egg/webadmin/web_ui.py",
 line 106, in process_request
    path_info)
  File 
"/usr/lib/python2.3/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.3.egg/webadmin/plugin.py",
 line 76, in process_admin_request
    self._render_view(req)
  File 
"/usr/lib/python2.3/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.3.egg/webadmin/plugin.py",
 line 168, in _render_view
    plugins[dist.project_name] = {
  File 
"/usr/lib/python2.3/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.3.egg/webadmin/plugin.py",
 line 223, in _get_pkginfo
    pkginfo = email.message_from_string(dist.get_metadata('PKG-INFO'))
  File 
"/usr/lib/python2.3/site-packages/setuptools-0.6b4-py2.3.egg/pkg_resources.py", 
line 1055, in get_metadata
    return self._get(self._fn(self.egg_info,name))
  File 
"/usr/lib/python2.3/site-packages/setuptools-0.6b4-py2.3.egg/pkg_resources.py", 
line 1113, in _get
    return self.loader.get_data(path)
IOError: zipimport: can not open file 
/export/trac/test/plugins/tractab-0.1-py2.3.egg

##########################################

So I copied the .egg file from my Desktop into the plugins folder but the same 
error message appears.
Anybody any Idea whats the problem?

thanks for your help

regards Michael


_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to