Christian Boos wrote:
> WolfpakZ wrote:
> > I'm trying to move Trac projects from one machine (FC5) to another
> > (CentOS 4.3) and I'm experiencing the following error on the new
> > machine:
> >
> > PythonHandler trac.web.modpython_frontend: DatabaseError: unsupported
> > file format
> >
> > ...  Apparently
> > only access through mod_python is an issue.
> >
> > I've read through http://projects.edgewall.com/trac/wiki/PySqlite and
> > tried the 3.x.y to 3.x.y upgrade instructions. This had no effect (as
> > expected).
> >
> > The only notable differences I see between the two machines are the
> > versions of python and mod_python being used....
> >
> > I've examined /proc/<pid>/maps looking for usage of sqlite libs for
> > apache, trac-admin, and the sqlite3 command and they're all definitely
> > using the same libs.
>
> Look again those maps on the CentOS box, perhaps you have another module
> (php-sqlite?) that has the sqlite3 code linked in it?
>
> It looks like it's the same issue reported in
> http://trac.edgewall.org/ticket/3075, for which we gave a few pointers.
> It usually boils down to having a different (older) SQLite version
> getting used.
>
> -- Christian

Thanks for the advice Christian. I've used that ticket for reference
and tried all the pointers that seem to apply. I do have a PHP 5 module
installed, but the problem is not resolved when I disable it. There are
no other modules enabled which use Sqlite to my knowledge.

There were earlier versions of the sqlite and python-sqlite libs
installed when I first ran into this issue. I upgraded them to the
current versions after reading
http://projects.edgewall.com/trac/wiki/PySqlite. Those libs are now the
same versions used on the source (FC5) machine.

Is it possible python, or mod_python, is using some kind of lib cache?
Where it somehow still has a  copy of the old libs?

-WolfpakZ


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to