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

2011-07-07 Thread Launchpad Bug Tracker
This bug was fixed in the package zeitgeist - 0.8.1-1ubuntu1 --- zeitgeist (0.8.1-1ubuntu1) oneiric; urgency=low * Merge with debian, remaining change: - Build-dep on raptor2-utils instead of raptor-utils zeitgeist (0.8.1-1) unstable; urgency=low * New upstream release.

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

2011-07-07 Thread Siegfried Gevatter
** Changed in: zeitgeist Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. https://bugs.launchpad.net/bugs/660307 Title: zeitgeist fails to run if its database

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

2011-05-18 Thread Siegfried Gevatter
** Changed in: zeitgeist Status: Triaged = Fix Committed ** Changed in: zeitgeist (Ubuntu) Importance: Undecided = Low ** Changed in: zeitgeist Assignee: Seif Lotfy (seif) = J.P. Lacerda (jplacerda) -- You received this bug notification because you are a member of Zeitgeist

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

2011-05-18 Thread Siegfried Gevatter
** Changed in: zeitgeist Milestone: None = 0.8.1 -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. https://bugs.launchpad.net/bugs/660307 Title: zeitgeist fails to run if its database structure is not

[Zeitgeist] [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

[Zeitgeist] [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 Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. https://bugs.launchpad.net/bugs/660307 Title: zeitgeist fails to run if its database structure is not

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

2011-02-10 Thread Siegfried Gevatter
** Changed in: zeitgeist Milestone: 0.8.0 = None -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. https://bugs.launchpad.net/bugs/660307 Title: zeitgeist fails to run if its database structure is not

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

2011-01-07 Thread Seif Lotfy
** Changed in: zeitgeist Milestone: 0.7.0 = 0.8.0 -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. https://bugs.launchpad.net/bugs/660307 Title: zeitgeist fails to run if its database structure is not

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

2010-11-15 Thread Mikkel Kamstrup Erlandsen
However noble it may be I don't think we stand a realistic chance of implementing a stable repair function if the DB corrupts at an undefined point in the upgrade process. There are just *way* too many variables if we have fx. 4 different DB schemes that can all intermix and corrupt in different

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

2010-11-15 Thread Mikkel Kamstrup Erlandsen
Oh, and one point in I forgot to add in my previous comment - I don't want to validate the DB on startup. That's just way too expensive - and whas in fact one of the primary points when I implemented DB versioning. One thing we could do to easily, and almost freely, detect when we are killed

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

2010-11-13 Thread Seif Lotfy
So my take on this would be to check every table upon startup for validity. This requires however that we know what current scheme the db is on how how the structure would look like. This means we need to store the table structures and compare them on startup. We will be confronted with two

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

2010-11-12 Thread Seif Lotfy
I manged to replicate this manually creating an invalid structure. Thank you for the bug. We are on it. ** Changed in: zeitgeist Status: Incomplete = Confirmed ** Changed in: zeitgeist Assignee: (unassigned) = Seif Lotfy (seif) ** Changed in: zeitgeist Milestone: None = 0.7.0

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

2010-11-12 Thread Seif Lotfy
To replicate this 1) Backup the activity.sqlite DB 2) restart the daemon 3) while its saying DEBUG:zeitgeist.sql:Updating sql schema kill the daemon On Fri, Nov 12, 2010 at 8:13 PM, Seif Lotfy 660...@bugs.launchpad.netwrote: I manged to replicate this manually creating an invalid structure.

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

2010-11-07 Thread Rocko
Sorry, the file doesn't exist any more, it was on another user's PC. Does creating a file with the SQL above help in recreating it? -- zeitgeist fails to run if its database structure is not complete https://bugs.launchpad.net/bugs/660307 You received this bug notification because you are a

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

2010-11-04 Thread Seif Lotfy
The problem is more difficult than that. If a table is not there it gets created with the next starting of zeitgeist. So there should be another explanation why the update failed... We need more info about the issue... I will mark it as incomplete until we can actually reproduce this bug. **

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

2010-11-04 Thread Seif Lotfy
I found an issue... The tables are generated if not existent on each startup However if the table exists but is damaged or incomplete it wont overwrite it We can fix that by getting the columns for each table and replacing if incomplete Does that sound sane? On Fri, Nov 5, 2010 at 4:49 AM, Rocko

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

2010-10-26 Thread Seif Lotfy
** Also affects: zeitgeist Importance: Undecided Status: New -- zeitgeist fails to run if its database structure is not complete https://bugs.launchpad.net/bugs/660307 You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to