Matthew Gillen 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
> > ...
> > I'm at a loss. If anyone might be able to help me get to the bottom of
> > this, I would really appreciate it. If I left something out that would
> > be helpful, let me know. I'm more than happy to provide any information
> > needed to assist me with this.
>
> Have you tried dumping the database on the FC5 and reloading it on Cent?
> (instead of copying the raw file)
>
> Try this on FC5:
> $ sqlite3 /path/to/trac.db
>  sqlite> .output trac-dumpfile.sql
>  sqlite> .dump
>  sqlite> <ctrl-d>
>
> Then on Cent:
> $ sqlite3 /path/to/new/but/empty/trac.db
>  sqlite> .read trac-dumpfile.sql
>  sqlite> <ctrl-d>
>

Thanks for the input. I tried dumping the database on the FC5 box and
reading it back in on the CentOS box, but no luck. Both machines are
running the same exact version of sqlite though, so I'm not surprised.
Sqlite itself has no problem with the database file format. It seems
the problem only arises when mod_python is in the picture.

If I open the project in trac-admin on the CentOS box everything works
fine. I can make changes to the database via trac-admin with no
problems. Trac-admin is a python script which uses the python-sqlite
libs, so clearly the python-sqlite libs are working. Somehow the libs
don't work in the mod_python case.

> HTH,
> Matt


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