Ticket #4297 (closed defect: invalid)
Trac install generates error on RH Enterprise Linux 4.0 and FreeBSD 6.2
| Reported by: | kazam@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.10.4 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by cboos) (diff)
- Python: Python-2.4.4
- Sqlite: sqlite-3.3.8
- Mod Python: mod_python-3.2.10
- Trac: trac-0.10.2
When I configure it with Apache HTTP server the following error is generated. I read that this error was due to using Sqlite with --enable-threadsafe but I rebuilt sqlite without the flag and it is still giving an error.
NOTE: Wrong, no don't do that, the --enable-threadsafe flag is mandatory, see the PySqlite page
-- cboos
Manager(self).get_connection()
[Wed Nov 29 22:55:15 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 22:55:15 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 22:55:15 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 22:55:15 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 22:55:15 2006] [error] [client 192.168.0.88] PythonHandler trac.web.modpython_frontend: AssertionError
Note: what is obviously missing are the pysqlite2 Python bindings for SQLite; again, please see the PySqlite page.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


