#8370 closed defect (wontfix)
Trac No Longer Operational After Trying To Install A Plugin With Webadmin
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | web frontend/mod_python | Version: | 0.11.4 |
Severity: | critical | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
I am running trac on an Apache 2.2 based Joomla 1.5x site.
I attempted to install the TracTicketDelete-2.0-py2.5 plugin using the Web-admin interface. The installation failed, and since then any attempt to access the trac system results in the following error in the browser: Server error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster. Error 500
The traceback that is generated is as follows:
[[Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] mod_python (pid=5856, interpreter='main_interpreter', phase='PythonHandler', handler='trac.web.modpython_frontend'): Application error [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] ServerName: 'localhost' [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] DocumentRoot: 'C:/Server/htdocs/Spuriousemu.com' [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] URI: '/projects/trac' [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] Location: '/projects/trac' [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] Directory: None [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] Filename: 'C:/Server/htdocs/Spuriousemu.com/projects' [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] PathInfo: '/trac' [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] Traceback (most recent call last): [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] File "C:\\Python25\\lib\\site-packages\\mod_python\\importer.py", line 1537, in HandlerDispatch\n default=default_handler, arg=req, silent=hlist.silent) [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] File "C:\\Python25\\lib\\site-packages\\mod_python\\importer.py", line 1229, in _process_target\n result = _execute_target(config, req, object, arg) [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] File "C:\\Python25\\lib\\site-packages\\mod_python\\importer.py", line 1128, in _execute_target\n result = object(arg) [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] File "c:\\python25\\lib\\site-packages\\Trac-0.11.4-py2.5.egg\\trac\\web\\modpython_frontend.py", line 149, in handler\n gateway.run(dispatch_request) [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] File "c:\\python25\\lib\\site-packages\\Trac-0.11.4-py2.5.egg\\trac\\web\\wsgi.py", line 87, in run\n response = application(self.environ, self._start_response) [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] File "c:\\python25\\lib\\site-packages\\Trac-0.11.4-py2.5.egg\\trac\\web\\main.py", line 365, in dispatch_request\n env_paths) [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] File "c:\\python25\\lib\\site-packages\\Trac-0.11.4-py2.5.egg\\trac\\web\\main.py", line 549, in send_project_index\n use_cache=not environ['wsgi.run_once']) [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] File "c:\\python25\\lib\\site-packages\\Trac-0.11.4-py2.5.egg\\trac\\env.py", line 584, in open_environment\n env = env_cache.setdefault(env_path, open_environment(env_path)) [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] File "c:\\python25\\lib\\site-packages\\Trac-0.11.4-py2.5.egg\\trac\\env.py", line 588, in open_environment\n env = Environment(env_path) [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] File "c:\\python25\\lib\\site-packages\\Trac-0.11.4-py2.5.egg\\trac\\env.py", line 201, in __init__\n load_components(self, plugins_dir and (plugins_dir,)) [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] File "c:\\python25\\lib\\site-packages\\Trac-0.11.4-py2.5.egg\\trac\\loader.py", line 111, in load_components\n loadfunc(env, search_path, auto_enable=plugins_dir) [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] File "c:\\python25\\lib\\site-packages\\Trac-0.11.4-py2.5.egg\\trac\\loader.py", line 91, in _load_py_files\n module = imp.load_source(plugin_name, plugin_file) [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] File "c:\\projects\\trac\\spuriousemu\\plugins\\setup.py", line 25, in <module>\n 'ticketdelete.web_ui = ticketdelete.web_ui' [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] File "C:\\Python25\\lib\\distutils\\core.py", line 139, in setup\n raise SystemExit, gen_usage(dist.script_name) + "\\nerror: %s" % msg [Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] SystemExit: usage: mod_python [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]\n or: mod_python --help [cmd1 cmd2 ...]\n or: mod_python --help-commands\n or: mod_python cmd --help\n\nerror: no commands supplied
I really don't have any idea how to resolve this, and I now have a completely non-functional Trac system. I have seen some closed tickets that have something similar, but I don't think that they resulted in a non-functional system, and in any case, none of the user suggested fixes have any effect. I need to get this resolved ASAP, as our project is on hold until I can get this resolved.
Attachments (0)
Change History (5)
comment:2 by , 15 years ago
Description: | modified (diff) |
---|
Looks like the plugin you had was wrongly packaged… that setup.py file got extracted directly in the $TRAC_ENV/plugins folder and later got interpreted as a self-contained plugin in a .py file…
Btw, was that an .egg file or directly the source .zip you downloaded from TracHacks?
Uploading such a .zip file won't work, I'm afraid. See TracPlugins for information about how to build plugins (usually simply a matter of doing python setup.py bdist_egg
).
comment:3 by , 15 years ago
Keywords: | needinfo added |
---|
comment:4 by , 15 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
No feedback, and anyway was most likely an InstallationIssue.
comment:5 by , 14 years ago
I had a similar issue. I had tried to install account manager plugin. Just delete the setup.py and the compiled setup fle from the plugins folder of bitnami trak stak projects/project/plugins
Bilal Awan.
Attempts to run a standalone server using tracd results in a blank page in the browser, and the following errors in the shell used to start tracd: