Hello to all, I'm new to this mailinglist and I have a problem in setting up trac.
I get the following error messages when I try to access Trac through apache: [Fri Aug 14 16:59:00 2009] [error] [client 192.168.111.12] ImportError: No module named trac.web.modpython_frontend What I have: a Debian Lenny system with a configured and working apache. I also have a working trac installation when I use tracd. I have a copy of the Trac code in /usr/lib/python2.5/site-packages/Trac-0.11.5-py2.5.egg/. My Trac project dir is under /usr/local/example.com/trac/projects and I deployed everything to the upper dir (/usr/local/example.com/trac/htdocs/ and /usr/local/example.com/trac/cgi-bin/trac.cgi and so on.) The Trac configuration for apache is in a VHOST configuration: Alias /trac /usr/local/example.com/trac/htdocs/site <Location /trac> # see: # https://coderanger.net/~coderanger/tracdoc/install/mod_python.html SetHandler mod_python #PythonInterpreter main_interpreter PythonInterpreter main PythonHandler trac.web.modpython_frontend #PythonOption TracEnv /usr/local/example.com/trac/projects/betatest/ PythonOption TracEnvParentDir /usr/local/example.com/trac/projects PythonOption TracUriRoot /trac PythonPath "sys.path + ['/usr/lib/python2.5/site-packages/Trac-0.11.5-py2.5.egg']" PythonOption PYTHON_EGG_CACHE /var/trac/egg-cache </Location> The full error log: [Fri Aug 14 16:59:00 2009] [error] [client 192.168.111.12] mod_python (pid=8343, interpreter='main', phase='PythonHandler', handler='trac.web.modpython_frontend'): Application error [Fri Aug 14 16:59:00 2009] [error] [client 192.168.111.12] ServerName: 'trac.example.com' [Fri Aug 14 16:59:00 2009] [error] [client 192.168.111.12] DocumentRoot: '/var/www/' [Fri Aug 14 16:59:00 2009] [error] [client 192.168.111.12] URI: '/trac/' [Fri Aug 14 16:59:00 2009] [error] [client 192.168.111.12] Location: '/trac' [Fri Aug 14 16:59:00 2009] [error] [client 192.168.111.12] Directory: None [Fri Aug 14 16:59:00 2009] [error] [client 192.168.111.12] Filename: '/usr/local/example.com/trac/htdocs/site/' [Fri Aug 14 16:59:00 2009] [error] [client 192.168.111.12] PathInfo: '' [Fri Aug 14 16:59:00 2009] [error] [client 192.168.111.12] Traceback (most recent call last): [Fri Aug 14 16:59:00 2009] [error] [client 192.168.111.12] File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch\n default=default_handler, arg=req, silent=hlist.silent) [Fri Aug 14 16:59:00 2009] [error] [client 192.168.111.12] File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1202, in _process_target\n module = import_module(module_name, path=path) [Fri Aug 14 16:59:00 2009] [error] [client 192.168.111.12] File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 304, in import_module\n return __import__(module_name, {}, {}, ['*']) [Fri Aug 14 16:59:00 2009] [error] [client 192.168.111.12] ImportError: No module named trac.web.modpython_frontend Thanks for any help! Michael --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
