[Trac] Re: Crash with mod_python - OperationalError: unsupported file format

Narcélio Filho narcelio at gmail.com
Mon Apr 24 23:41:15 CDT 2006


Greetings!

> Mod_python error: "PythonHandler trac.web.modpython_frontend"
>
> Traceback (most recent call last):
> (...)
>   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

  Just to update...

  It seems to be PHP's fault. This issue goes away if I remove sqlite
from PHP. It can be accomplished recompiling PHP with:

./configure --without-sqlite --without-pdo-sqlite

  But if you really don't need PHP in your server, you can just remove
PHP module loading from server config, so trac+mod_python works.

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


More information about the Trac mailing list