Hello. I'm new to this group and to Trac, so please bear with me if this is a really stupid question or I don't seem to make sense.
Basically, I was trying to install a plugin, TracAccountManager 0.4.4. Our Trac web interface had a nice little button for installing plugins, so I tried it. Unfortunately, (at least I think this is where I went wrong) I then pointed this plugin installed to the setup.py in the directory I unzipped the .tar.gz to. I never built an .egg out of it.
BTW, I've got Trac running with Apache on an Ubuntu Virtual Machine.
Now anytime I go to any of the project addresses, such as 192.168.1.X/projects/myproject or 192.168.1.X/projects/myproject/login, I get this python error:
MOD_PYTHON ERROR
ProcessId: 2389
Interpreter: 'main_interpreter'
ServerName: 'localhost'
DocumentRoot: '/var/www/'
URI: '/projects'
Location: '/projects'
Directory: None
Filename: '/var/www/projects'
PathInfo: ''
Phase: 'PythonHandler'
Handler: 'trac.web.modpython_frontend'
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)
File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1229, in _process_target
result = _execute_target(config, req, object, arg)
File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1128, in _execute_target
result = object(arg)
File "build/bdist.linux-i686/egg/trac/web/modpython_frontend.py", line 149, in handler
gateway.run(dispatch_request)
File "build/bdist.linux-i686/egg/trac/web/wsgi.py", line 89, in run
response = application(self.environ, self._start_response)
File "build/bdist.linux-i686/egg/trac/web/main.py", line 411, in dispatch_request
env_paths)
File "build/bdist.linux-i686/egg/trac/web/main.py", line 682, in send_project_index
use_cache=not environ['wsgi.run_once'])
File "build/bdist.linux-i686/egg/trac/env.py", line 655, in open_environment
env = env_cache.setdefault(env_path, open_environment(env_path))
File "build/bdist.linux-i686/egg/trac/env.py", line 661, in open_environment
env = Environment(env_path)
File "build/bdist.linux-i686/egg/trac/env.py", line 216, in __init__
self.setup_config()
File "build/bdist.linux-i686/egg/trac/env.py", line 429, in setup_config
load_components(self, plugins_dir and (plugins_dir,))
File "build/bdist.linux-i686/egg/trac/loader.py", line 116, in load_components
loadfunc(env, search_path, auto_enable=plugins_dir)
File "build/bdist.linux-i686/egg/trac/loader.py", line 92, in _load_py_files
module = imp.load_source(plugin_name, plugin_file)
File "/usr/local/trac/projects/myproject/plugins/setup.py", line 66, in <module>
**extra
File "/usr/lib/python2.6/distutils/core.py", line 140, in setup
raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg
SystemExit: usage: mod_python [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: mod_python --help [cmd1 cmd2 ...]
or: mod_python --help-commands
or: mod_python cmd --help
error: no commands supplied
Can anyone tell me what the heck is wrong, or really just how to go about fixing it? I think I somehow broke the project, but I really have no idea. I've been searching and I've learned a bit, but I still can't seem to figure it out yet.
Also, don't know if it's important, but my trac-admin only offers me two commands. Somewhere I saw that this was caused by the project being "broken", but I don't really know if the example would even apply to me. That's where I got the notion that I "broke the project", BTW.
Any help or explanation would be most appreciated. Thanks.