Hello,

I'm trying to move two Trac environments from a Fedora Core 3 server (Apache httpd 2.0.53, Trac 0.10.3, mod_python 3.1.3, python-sqlite 1.0.1, sqlite 2.8.16, PHP 4.3.11) to a new CentOS 4.4 server (Apache httpd 2.0.52, Trac 0.10.3.1, mod_python 3.1.3, python-sqlite 1.1.7, sqlite 3.3.3, PHP 5.1.6).

I'm seeing the infamous "PythonHandler trac.web.modpython_frontend: DatabaseError: unsupported file format" error in my error_log. I have had no luck so far getting it to work, even after reading through the thread called "mod_python and sqlite3: unsupported file format" in the archives and googling around.

I dumped the sqlite2 db's and imported those dumps into sqlite3 databases on the new server and those databases both seem to be OK. I can access them just fine using trac-admin.

I also tried the steps on the Trac wiki and got the following results:

>>> import trac.db.sqlite_backend
>>> trac.db.sqlite_backend._ver
(3, 3, 3)
>>> trac.db.sqlite_backend.have_pysqlite
1
>>> trac.db.sqlite_backend.sqlite.version
'1.1.7'

This doesn't really tell me anything more than running 'rpm -q sqlite python-sqlite', but at least both methods give me the same version numbers. :o)

I have no idea what I still need to do now to get it to work. I found a ticket (http://trac.edgewall.org/ticket/3112) saying that PHP5 might be interfering somehow and that disabling PHP5 fixes the problem for some people, but I really cannot disable PHP5 on this server. Any ideas?

Nils Breunese.

Attachment: PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend

Reply via email to