[Bug 660307] Re: zeitgeist fails to run if its database structure is not complete

2011-05-17 Thread J.P. Lacerda
Things have changed slightly: I implemented Mikkel's suggestion of setting the version to -1 just before an upgrade, and back to it's correct value afterwards. This is only useful if an upgrade is killed: the upgrade can also fail due to a raised OperationalError. If that is the case (regardless o

[Bug 660307] Re: zeitgeist fails to run if its database structure is not complete

2011-05-16 Thread J.P. Lacerda
This has been (mostly) fixed. I think that there are some possible improvements regarding schema upgrading / database creation. As Seif said in #9, to replicate this: 1) Backup activity.sqlite 2) Restart the daemon 3) While "Updating sql schema" kill the daemon The problem, however, is that this

[Bug 660307] Re: zeitgeist fails to run if its database structure is not complete

2011-05-16 Thread J.P. Lacerda
** Branch linked: lp:~jplacerda/zeitgeist/660307 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/660307 Title: zeitgeist fails to run if its database structure is not complete -- ubuntu-bugs mailing