SQLite database ugprade issue on migration from 0.11.x to 0.12, pysqlite < 2.5.5 fails
|Reported by:||Owned by:||Remy Blank|
Preface: This is likely an installation / packaging / dependency issue, but possibly something trac could identify and warn about rather than just failing. I have been unable to trace the exact cause.
Background: Upgrade from 0.11.7 to 0.12. OS: PLD-Linux Packages: python 2.6.5, sqlite 3.6.23, pysqlite 2.5.4, genshi 0.6, Babel 0.9.5
I am trying to upgrade our distribution packages for trac to 0.12. After what seems like a successful package build and install, I was prompted by trac that my project databases needed upgrading. No problem just run
trac-admin /path/to/project upgrade right? Here is the error I get when doing that:
InterfaceError: Cursor needed to be reset because of commit/rollback and can no longer be fetched from.
The database is backed up and can be restored for use with 0.11.x but in the resulting state it is usable by neither version.
Change History (16)
comment:8 follow-up: 12 Changed 8 years ago by
|Summary:||Database ugprade issue on migration from 0.11.x to 0.12 → SQLite database ugprade issue on migration from 0.11.x to 0.12, pysqlite < 2.5.5 fails|