Try running Trac through CGI instead of mod_python. I had the same error you're getting, but when I did that, everything works perfectly:
http://projects.edgewall.com/trac/wiki/TracCgi

Hope that helps,
Jeremy

Bill Williams wrote:
I am trying to get trac up and running using Apache 2.0.54.

Here's my environment:

Linux 2.6.8.
Python 2.3
clearsilver 0.10.13
mod python 3.2.8
pysqlite 2.2.2
sqlite 3.2.5
trac 0.9.5

I can run tracd and everything seems to work.

I did perform the test located in the mod_python directory after I installed it and it did not report any errors. I performed the test for pysqlite after it was installed and it did not report any errors.

Here is the error_log I get from apache when I try to access the project:

[Mon May 15 14:21:28 2006] [error] [client 192.168.1.4] PythonHandler trac.web.modpython_frontend: Traceback (most recent call last): [Mon May 15 14:21:28 2006] [error] [client 192.168.1.4] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch\n result = object(req) [Mon May 15 14:21:28 2006] [error] [client 192.168.1.4] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 199, in handler\n env = get_environment(mpr, project_opts) [Mon May 15 14:21:28 2006] [error] [client 192.168.1.4] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 335, in get_environment\n return _open_environment(env_path, threaded) [Mon May 15 14:21:28 2006] [error] [client 192.168.1.4] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 51, in _open_environment\n env_cache[env_path] = open_environment(env_path) [Mon May 15 14:21:28 2006] [error] [client 192.168.1.4] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/trac/env.py", line 375, in open_environment\n if env.needs_upgrade(): [Mon May 15 14:21:28 2006] [error] [client 192.168.1.4] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/trac/env.py", line 279, in needs_upgrade\n db = self.get_db_cnx() [Mon May 15 14:21:28 2006] [error] [client 192.168.1.4] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/trac/env.py", line 137, in get_db_cnx\n return self.__cnx_pool.get_cnx() [Mon May 15 14:21:28 2006] [error] [client 192.168.1.4] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/trac/db.py", line 157, in get_cnx\n cnx = self._cnx_class(**self._args) [Mon May 15 14:21:28 2006] [error] [client 192.168.1.4] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/trac/db.py", line 280, in __init__\n timeout=timeout) [Mon May 15 14:21:28 2006] [error] [client 192.168.1.4] PythonHandler trac.web.modpython_frontend: SystemError: NULL result without error in PyObject_Call

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

Reply via email to