[Trac] Re: Crash with mod_python - OperationalError: unsupported
file format
Emmanuel Blot
manu.blot at gmail.com
Tue Apr 25 05:09:55 CDT 2006
There is a known compatibility issue with mod_python + php + sqlite
(google it to find references).
On 4/25/06, Narcélio Filho <narcelio at gmail.com> wrote:
> 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++;}}
> _______________________________________________
> Trac mailing list
> Trac at lists.edgewall.com
> http://lists.edgewall.com/mailman/listinfo/trac
>
--
Manu
More information about the Trac
mailing list