Hello!

    I've just finished trac installation (with all requirements) but it
only works if I use "tracd" or Apache/CGI to see my project. With
Apache/mod_python it crashes:


Mod_python error: "PythonHandler trac.web.modpython_frontend"

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in 
HandlerDispatch
    result = object(req)

  File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 
199, in handler
    env = get_environment(mpr, project_opts)

  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 335, in 
get_environment
    return _open_environment(env_path, threaded)

  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 51, in 
_open_environment
    env_cache[env_path] = open_environment(env_path)

  File "/usr/lib/python2.4/site-packages/trac/env.py", line 375, in 
open_environment
    if env.needs_upgrade():

  File "/usr/lib/python2.4/site-packages/trac/env.py", line 281, in 
needs_upgrade
    if participant.environment_needs_upgrade(db):

  File "/usr/lib/python2.4/site-packages/trac/env.py", line 334, in 
environment_needs_upgrade
    dbver = self.env.get_version(db)

  File "/usr/lib/python2.4/site-packages/trac/env.py", line 204, in get_version
    cursor.execute("SELECT value FROM system WHERE name='database_version'")

  File "/usr/lib/python2.4/site-packages/trac/db.py", line 219, in execute
    args or [])

  File "/usr/lib/python2.4/site-packages/trac/db.py", line 211, in 
_rollback_on_error
    return function(self, *args, **kwargs)

OperationalError: unsupported file format


    What I am missing?

    I've tried to load trac.db in pysqlite or sqlite3 and it loaded without any 
errors 
(all tables are ok), so, its not corrupted.


    Here is all packages I have installed (I think everything is the lastest 
release):

trac-0.9.4
python-2.4
apache-httpd-2.0.55
mod_python-3.2.8
sqlite-3.3.4
pysqlite-2.1.3
subversion-1.3.0
swig-1.3.28
clearsilver-0.10.2
SilverCity-0.9.6
Setuptools-0.6a10
enscript-1.6.1

-- 
/*  []s,  Narcelio Filho  */ main(){char l,I=0,*O="9!?=! 7!<3! 1- ";
/*   [EMAIL PROTECTED]   */ while(*O){for(l=6;l;)putchar(*O>>--l&1?
/*      ICQ# 3903490      */ 0x23:040);++I%3?l|=l:putchar(10);O++;}}

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to