This is an error I am getting on a RHEL4 (CentOS) system:

[Mon Jun 11 21:21:17 2007] [notice] Apache/2.0.59 (CentOS) configured --
resuming normal operations
[Mon Jun 11 21:21:26 2007] [error] [client 192.168.99.130] PythonHandler
trac.web.modpython_frontend: Traceback (most recent call last):
[Mon Jun 11 21:21:26 2007] [error] [client 192.168.99.130] 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 Jun 11 21:21:26 2007] [error] [client 192.168.99.130] PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line
87, in handler\n    gateway.run(dispatch_request)
[Mon Jun 11 21:21:26 2007] [error] [client 192.168.99.130] PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/web/wsgi.py", line 87, in run\n   
response = application(self.environ, self._start_response)
[Mon Jun 11 21:21:26 2007] [error] [client 192.168.99.130] PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/web/main.py", line 391, in
dispatch_request\n    env = _open_environment(env_path, run_once=run_once)
[Mon Jun 11 21:21:26 2007] [error] [client 192.168.99.130] PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/web/main.py", line 58, in
_open_environment\n    env_cache[env_path] = open_environment(env_path)
[Mon Jun 11 21:21:26 2007] [error] [client 192.168.99.130] PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/env.py", line 463, in
open_environment\n    if env.needs_upgrade():
[Mon Jun 11 21:21:26 2007] [error] [client 192.168.99.130] PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/env.py", line 343, in
needs_upgrade\n    if participant.environment_needs_upgrade(db):
[Mon Jun 11 21:21:26 2007] [error] [client 192.168.99.130] PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/env.py", line 397, in
environment_needs_upgrade\n    dbver = self.env.get_version(db)
[Mon Jun 11 21:21:26 2007] [error] [client 192.168.99.130] PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/env.py", line 257, in get_version\n
   cursor.execute("SELECT value FROM system WHERE
name='database_version'")
[Mon Jun 11 21:21:26 2007] [error] [client 192.168.99.130] PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/db/util.py", line 51, in execute\n 
  return self.cursor.execute(sql)
[Mon Jun 11 21:21:26 2007] [error] [client 192.168.99.130] PythonHandler
trac.web.modpython_frontend:   File
"/var/tmp/python-sqlite-root//usr/lib/python2.3/site-packages/sqlite/main.py",
line 244, in execute
[Mon Jun 11 21:21:26 2007] [error] [client 192.168.99.130] PythonHandler
trac.web.modpython_frontend: DatabaseError: unsupported file format

Unsupported file format? The weird thing is, this server runs two
different trac sites - the other is fine. And I can open both files by
hand so they don't seem to be corrupted... If I do `sqlite3
trac/db/trac.db` I can then do a `.schema` which shows that it can read
the file fine (I don't see a `.test` command.)

This is in trac 0.10.4 (according to the working site). The end user gets
a `500 Internal Server Error`.

I've checked the permissions on the file. Any ideas?

 - Aaron

-- 
Sent using a web interface, so I am sending this instead of working.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to