zeitgeist fails to run if its database structure is not complete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zeitgeist Framework |
Fix Released
|
Low
|
J.P. Lacerda | ||
zeitgeist (Ubuntu) |
Fix Released
|
Low
|
Seif Lotfy |
Bug Description
Binary package hint: zeitgeist
If zeitgeist's database (~/.local/
I ran into this problem on upgrading an installation from Ubuntu 10.04 to 10.10. After the upgrade, the dockbarx applet failed to run. The error message from gnome-panel just said it had failed to run, and .xsession-errors said the child process did not report any specific error. Running in debug mode (ie with the command "dockbarx-
ERROR:dbus.
DEBUG:dbus.
Traceback (most recent call last):
File "/usr/bin/
import dockbarx.dockbar
...
File "/usr/lib/
**keywords)
File "/usr/lib/
message, timeout)
dbus.exceptions
The error appeared to be a dbus error, but in fact was a problem with zeitgeist, which was failing to run because its database apparently was corrupted during the upgrade. I fixed the problem (eventually) by deleting the zeitgeist database file and restarting the zeitgeist-daemon manually.
What I would expect to happen is:
1) The GUI should report that zeitgeist has failed to run.
2) Better yet, zeitgeist could create the necessary tables if its database is invalid or perhaps backup the old database and create a new one so it can run properly.
It would of course be nice if dockbarx reported better error information, but since there are other applications that depend on zeitgeist, it would be good if zeitgeist could recover from this situation.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: zeitgeist 0.5.2-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Thu Oct 14 11:52:41 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100602.2)
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
LANG=en_AU.UTF-8
SHELL=/bin/bash
SourcePackage: zeitgeist
Related branches
- Siegfried Gevatter: Needs Fixing
- Markus Korn: Pending requested
-
Diff: 217 lines (+104/-27)3 files modified_zeitgeist/engine/__init__.py (+2/-0)
_zeitgeist/engine/sql.py (+54/-25)
test/sql-test.py (+48/-2)
Changed in zeitgeist: | |
milestone: | 0.7.0 → 0.8.0 |
Changed in zeitgeist: | |
milestone: | 0.8.0 → none |
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) |
Changed in zeitgeist: | |
milestone: | none → 0.8.1 |
Changed in zeitgeist: | |
status: | Fix Committed → Fix Released |
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.