Hi, SQLite databases created with SQLite >= 3.3.0 can't be read by older versions of SQLite. An attempt to do it will results in the error you're seeing (OperationalError: unsupported file format).
Per Christian B. Viken wrote:
I've just recently installed Trac, and are having some issues I can create the environment, and everything seems to work fine. Using tracd, there is no problem at all.
Then, launch tracd, access your Trac at least once, in order to have it load all the packages, then check what are the Pysqlite/SQLite versions that this tracd uses: identify tracd's pid, then do $ cat /proc/<pid>/maps | grep sqlite Repeat the same procedure for Trac with mod_python. You most certainly find out that for some reason, another Pysqlite/SQLite combination is used. I think it's time for a "Troubleshooting" section in http://projects.edgewall.com/trac/wiki/PySqlite :) -- Christian _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
