Edgewall Software
Modify

Ticket #4323 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

Trac install generates error on Apache HTTP server with Mod Python

Reported by: kazam@… Owned by: cmlenz
Priority: high Milestone:
Component: web frontend/mod_python Version: 0.10.2
Severity: major Keywords:
Cc:
Release Notes:
API Changes:

Description (last modified by mgood) (diff)

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

Change History

comment:1 Changed 5 years ago by Noah Kantrowitz <coderanger@…>

  • Resolution set to invalid
  • Status changed from new to closed

Please ask installation support questions on the MailingList or IrcChannel.

comment:2 Changed 5 years ago by mgood

  • Description modified (diff)

You need to install the PySqlite library as described in TracInstall.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cmlenz. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.