I am closing this since the affected code was never released.
** Changed in: zeitgeist
Status: Fix Committed => Fix Released
Upgrading database scheme is broken for newly created databases
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
Status in Zeitgeist Framework: Fix Released
Todays newly created database version 2 broke the upgrade path, we have no
upgrade script for 0 (which means 'no version entry found') to 2. This happens
because no-existing databases do not have such table.
$ ZEITGEIST_DATABASE_PATH=/tmp/dfgdsfsddf ./zeitgeist-daemon
DEBUG:root:Checking for another running instance...
DEBUG:root:No running instances found.
INFO:zeitgeist.sql:Using database: /tmp/dfgdsfsddf
DEBUG:zeitgeist.sql:Schema 'core' not found: no such table: schema_version
INFO:zeitgeist.sql:Upgrading database 'core' from version 0 to 2. This may take
CRITICAL:zeitgeist.sql:Failed to upgrade database 'core' from version 0 to 2:
No module named core_0_2
We have to check if we are operating on a new database.
(Side note: we need tests for upgrades....)
Mailing list: https://launchpad.net/~zeitgeist
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~zeitgeist
More help : https://help.launchpad.net/ListHelp