Modify ↓
#4323 closed defect (invalid)
Trac install generates error on Apache HTTP server with Mod Python
| Reported by: | Owned by: | Christopher Lenz | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | web frontend/mod_python | Version: | 0.10.2 |
| Severity: | major | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
When running trac over apache I am getting the following error, however tracd seems to have no issues.
Version used:
mod_python-3.2.10 Python-2.4.4 clearsilver-0.10.4. sqlite-3.3.8 httpd-2.0.47-8 trac-0.10.2
[Wed Nov 29 13:43:11 2006] [notice] Apache/2.0.47 (Red Hat Linux) configured -- resuming normal operations
[Wed Nov 29 13:43:13 2006] [error] [client 192.168.0.88] PythonHandler trac.web.modpython_frontend: Traceback (most recent call last):
[Wed Nov 29 13:43:13 2006] [error] [client 192.168.0.88] PythonHandler trac.web.modpython_frontend: File "/usr/local/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
result = object(req)
[Wed Nov 29 13:43:13 2006] [error] [client 192.168.0.88] PythonHandler trac.web.modpython_frontend: File "/usr/local/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 87, in handler
gateway.run(dispatch_request)
[Wed Nov 29 13:43:13 2006] [error] [client 192.168.0.88] PythonHandler trac.web.modpython_frontend: File "/usr/local/lib/python2.4/site-packages/trac/web/wsgi.py", line 87, in run
response = application(self.environ, self._start_response)
[Wed Nov 29 13:43:13 2006] [error] [client 192.168.0.88] PythonHandler trac.web.modpython_frontend: File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 377, in dispatch_request
env = _open_environment(env_path, run_once=environ['wsgi.run_once'])
[Wed Nov 29 13:43:13 2006] [error] [client 192.168.0.88] PythonHandler trac.web.modpython_frontend: File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 58, in _open_environment
env_cache[env_path] = open_environment(env_path)
[Wed Nov 29 13:43:13 2006] [error] [client 192.168.0.88] PythonHandler trac.web.modpython_frontend: File "/usr/local/lib/python2.4/site-packages/trac/env.py", line 435, in open_environment
if env.needs_upgrade():
[Wed Nov 29 13:43:13 2006] [error] [client 192.168.0.88] PythonHandler trac.web.modpython_frontend: File "/usr/local/lib/python2.4/site-packages/trac/env.py", line 313, in needs_upgrade
db = self.get_db_cnx()
[Wed Nov 29 13:43:13 2006] [error] [client 192.168.0.88] PythonHandler trac.web.modpython_frontend: File "/usr/local/lib/python2.4/site-packages/trac/env.py", line 182, in get_db_cnx
return DatabaseManager(self).get_connection()
[Wed Nov 29 13:43:13 2006] [error] [client 192.168.0.88] PythonHandler trac.web.modpython_frontend: File "/usr/local/lib/python2.4/site-packages/trac/db/api.py", line 75, in get_connection
return self._cnx_pool.get_cnx(self.timeout or None)
[Wed Nov 29 13:43:13 2006] [error] [client 192.168.0.88] PythonHandler trac.web.modpython_frontend: File "/usr/local/lib/python2.4/site-packages/trac/db/pool.py", line 101, in get_cnx
cnx = self._connector.get_connection(**self._kwargs)
[Wed Nov 29 13:43:13 2006] [error] [client 192.168.0.88] PythonHandler trac.web.modpython_frontend: File "/usr/local/lib/python2.4/site-packages/trac/db/sqlite_backend.py", line 113, in get_connection
return SQLiteConnection(path, params)
[Wed Nov 29 13:43:13 2006] [error] [client 192.168.0.88] PythonHandler trac.web.modpython_frontend: File "/usr/local/lib/python2.4/site-packages/trac/db/sqlite_backend.py", line 140, in __init__
assert have_pysqlite > 0
[Wed Nov 29 13:43:13 2006] [error] [client 192.168.0.88] PythonHandler trac.web.modpython_frontend: AssertionError
Attachments (0)
Change History (2)
comment:1 by , 19 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 19 years ago
| Description: | modified (diff) |
|---|
You need to install the PySqlite library as described in TracInstall.
Note:
See TracTickets
for help on using tickets.



Please ask installation support questions on the MailingList or IrcChannel.