Apparently RTFM'ing isn't helping and there's more to it than what's
stated in Trac's Alternative Frontends post (http://trac.edgewall.org/
wiki/TracDev/AlternativeFrontends). In Apache I'm using the PythonPath
directive.
PythonPath "['F:/PythonConfig/t12/Scripts'] + sys.path"
Removing sys.path produces a 500 internal server error. So I went
through the Apache error log and pulled what seems to be the locations
Python is being referenced to and replaced them as such, but am
receiving the below error now.
PythonPath "['F:/PythonConfig/t12/Scripts','F:/PythonConfig/t12/
Lib','F:/PythonConfig/t12/Lib/site-packages','C:/WINDOWS/system32/
python25.zip','C:/Program Files/Python25/DLLs','C:/Program Files/
Apache Software Foundation/Apache2.2/bin']"
---------------------------------------------------------------------------------------------------
[Thu Jun 10 09:53:26 2010] [error] mod_python (pid=6072,
interpreter='server2.com', phase='PythonHandler', handler='v12'):
Application error
[Thu Jun 10 09:53:26 2010] [error] ServerName: 'server2.com'
[Thu Jun 10 09:53:26 2010] [error] DocumentRoot: 'C:/Program Files/
Apache Software Foundation/Apache2.2/htdocs'
[Thu Jun 10 09:53:26 2010] [error] URI: '/t12/'
[Thu Jun 10 09:53:26 2010] [error] Location: '/t12'
[Thu Jun 10 09:53:26 2010] [error] Directory: None
[Thu Jun 10 09:53:26 2010] [error] Filename: 'C:/Program Files/Apache
Software Foundation/Apache2.2/htdocs/t1000'
[Thu Jun 10 09:53:26 2010] [error] PathInfo: '/'
[Thu Jun 10 09:53:26 2010] [error] Traceback (most recent call last):
[Thu Jun 10 09:53:26 2010] [error] File "C:\\Program Files\\Python25\
\lib\\site-packages\\mod_python\\importer.py", line 1537, in
HandlerDispatch\n default=default_handler, arg=req,
silent=hlist.silent)
[Thu Jun 10 09:53:26 2010] [error] File "C:\\Program Files\\Python25\
\lib\\site-packages\\mod_python\\importer.py", line 1202, in
_process_target\n module = import_module(module_name, path=path)
[Thu Jun 10 09:53:26 2010] [error] File "C:\\Program Files\\Python25\
\lib\\site-packages\\mod_python\\importer.py", line 304, in
import_module\n return __import__(module_name, {}, {}, ['*'])
[Thu Jun 10 09:53:26 2010] [error] File "F:/PythonConfig/t12/Scripts\
\v12.py", line 8, in <module>\n from trac.web.modpython_frontend
import handler
[Thu Jun 10 09:53:26 2010] [error] ImportError: No module named
trac.web.modpython_frontend
--
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.