Hoi,

creating a new environment I encountered the error below.
The related wiki page [1] doesn't state how to fix a mismatch.

trac (which is working with this env) uses these libs:
- /usr/lib/libsqlite3.so.0.8.6
- /usr/lib/python2.4/site-packages/pysqlite2/_sqlite.so

and there are no other libs so apache / mod_python must be using the same.
Older environments still work.

Versions I use:
- sqlite 3.3.5
- pysqlite 2.3.2
- mod_python 3.1.4
- trac trunk

Any ideas, hints how to fix this?

[1] http://trac.edgewall.org/wiki/PySqlite

PythonHandler trac.web.modpython_frontend: Traceback (most recent call last):
PythonHandler trac.web.modpython_frontend:   File
"/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in
HandlerDispatch\n    result = object(req)
PythonHandler trac.web.modpython_frontend:   File
"/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py",
line 87, in handler\n    gateway.run(dispatch_request)
PythonHandler trac.web.modpython_frontend:   File
"/usr/lib/python2.4/site-packages/trac/web/wsgi.py", line 87, in run\n
  response = application(self.environ, self._start_response)
PythonHandler trac.web.modpython_frontend:   File
"/usr/lib/python2.4/site-packages/trac/web/main.py", line 324, in
dispatch_request\n    env = _open_environment(env_path,
run_once=environ['wsgi.run_once'])
PythonHandler trac.web.modpython_frontend:   File
"/usr/lib/python2.4/site-packages/trac/web/main.py", line 57, in
_open_environment\n    env_cache[env_path] =
open_environment(env_path)
PythonHandler trac.web.modpython_frontend:   File
"/usr/lib/python2.4/site-packages/trac/env.py", line 432, in
open_environment\n    if env.needs_upgrade():
PythonHandler trac.web.modpython_frontend:   File
"/usr/lib/python2.4/site-packages/trac/env.py", line 312, in
needs_upgrade\n    if participant.environment_needs_upgrade(db):
PythonHandler trac.web.modpython_frontend:   File
"/usr/lib/python2.4/site-packages/trac/env.py", line 366, in
environment_needs_upgrade\n    dbver = self.env.get_version(db)
PythonHandler trac.web.modpython_frontend:   File
"/usr/lib/python2.4/site-packages/trac/env.py", line 235, in
get_version\n    cursor.execute("SELECT value FROM system WHERE
name='database_version'")
PythonHandler trac.web.modpython_frontend:   File
"/usr/lib/python2.4/site-packages/trac/db/util.py", line 48, in
execute\n    return self.cursor.execute(sql)
PythonHandler trac.web.modpython_frontend:   File
"/usr/lib/python2.4/site-packages/trac/db/sqlite_backend.py", line 44,
in execute\n    args or [])
PythonHandler trac.web.modpython_frontend:   File
"/usr/lib/python2.4/site-packages/trac/db/sqlite_backend.py", line 36,
in _rollback_on_error\n    return function(self, *args, **kwargs)
PythonHandler trac.web.modpython_frontend: OperationalError:
unsupported file format


--
 mit freundlichen Grüßen          email ~ [EMAIL PROTECTED]
 Markus Tacker                      url ~ http://m.tacker.org/
                                    icq ~ 91709561
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to