zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #00828
[Bug 511407] Re: KeyError in "self._inv_dict[id]" (sql.py)
Oh, that may well be. I'm closing this for now, but please re-open it if
the same problem happens again.
Thank you for your feedback!
** Changed in: zeitgeist
Status: New => Invalid
--
KeyError in "self._inv_dict[id]" (sql.py)
https://bugs.launchpad.net/bugs/511407
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is a direct subscriber.
Status in Zeitgeist Framework: Invalid
Bug description:
Hi
I'm very curious about Zeitgeist so I pulled the latest revision, compiled, installed and ran the thing. The problem is that gnome-activity-journal seem to find events (there are a few bars at the bottom that are higher than others) but no events are shown.
I'm on Ubuntu 9.10 (64bit).
I just pulled from Lauchpad:
- gnome-activity-journal (rev460)
- zeitgeist (rev 1306)
- fungtk (rev15)
Compiled and installed zeitgeist and fungtk without problem.
When zeitgeist-deamon starts, it prints:
INFO:zeitgeist.sql:Using database: /home/niklas/.local/share/zeitgeist/activity.sqlite
DEBUG:zeitgeist.extension:Loading extension 'Blacklist'
DEBUG:zeitgeist.blacklist:No existing blacklist config found
DEBUG:root:Checking for another running instance...
DEBUG:root:No running instances found.
INFO:root:Starting Zeitgeist service...
DEBUG:root:Updating database with new Recently Used Documents items
DEBUG:zeitgeist.engine:Inserted 27 events in 0.164585s
gnome-activity-journal fails 'sudo setup.py install' (but thats another story since it can be run from the source folder I pulled via bzr).
In the main interface, the bar-diagram-thing at the bottom shows that there are events (some bars are higher than others) but clicking on one of them shows nothing.
This is the output from the shell when I run gnome-activity-journal:
Tracker disabled.
Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/local/share/zeitgeist/_zeitgeist/engine/remote.py", line 86, in GetEvents
in_signature="(xx)a("+constants.SIG_EVENT+")a("+constants.SIG_EVENT+")u",
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 125, in get_events
if event.id not in events:
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 90, in _get_event_from_row
event.payload = row["payload"] or "" # default payload: empty string
File "/usr/local/share/zeitgeist/_zeitgeist/engine/sql.py", line 263, in value
return self._inv_dict[id]
KeyError: u'application://gedit.desktop'
Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/local/share/zeitgeist/_zeitgeist/engine/remote.py", line 86, in GetEvents
in_signature="(xx)a("+constants.SIG_EVENT+")a("+constants.SIG_EVENT+")u",
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 125, in get_events
if event.id not in events:
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 90, in _get_event_from_row
event.payload = row["payload"] or "" # default payload: empty string
File "/usr/local/share/zeitgeist/_zeitgeist/engine/sql.py", line 263, in value
return self._inv_dict[id]
KeyError: u'application://gedit.desktop'
Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/local/share/zeitgeist/_zeitgeist/engine/remote.py", line 86, in GetEvents
in_signature="(xx)a("+constants.SIG_EVENT+")a("+constants.SIG_EVENT+")u",
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 125, in get_events
if event.id not in events:
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 90, in _get_event_from_row
event.payload = row["payload"] or "" # default payload: empty string
File "/usr/local/share/zeitgeist/_zeitgeist/engine/sql.py", line 263, in value
return self._inv_dict[id]
KeyError: u'application://openoffice.org-base.desktop'
Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/local/share/zeitgeist/_zeitgeist/engine/remote.py", line 86, in GetEvents
in_signature="(xx)a("+constants.SIG_EVENT+")a("+constants.SIG_EVENT+")u",
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 125, in get_events
if event.id not in events:
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 90, in _get_event_from_row
event.payload = row["payload"] or "" # default payload: empty string
File "/usr/local/share/zeitgeist/_zeitgeist/engine/sql.py", line 263, in value
return self._inv_dict[id]
KeyError: u'application://openoffice.org-base.desktop'
Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/local/share/zeitgeist/_zeitgeist/engine/remote.py", line 86, in GetEvents
in_signature="(xx)a("+constants.SIG_EVENT+")a("+constants.SIG_EVENT+")u",
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 125, in get_events
if event.id not in events:
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 90, in _get_event_from_row
event.payload = row["payload"] or "" # default payload: empty string
File "/usr/local/share/zeitgeist/_zeitgeist/engine/sql.py", line 263, in value
return self._inv_dict[id]
KeyError: u'application://openoffice.org-base.desktop'
Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/local/share/zeitgeist/_zeitgeist/engine/remote.py", line 86, in GetEvents
in_signature="(xx)a("+constants.SIG_EVENT+")a("+constants.SIG_EVENT+")u",
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 125, in get_events
if event.id not in events:
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 90, in _get_event_from_row
event.payload = row["payload"] or "" # default payload: empty string
File "/usr/local/share/zeitgeist/_zeitgeist/engine/sql.py", line 263, in value
return self._inv_dict[id]
KeyError: u'application://openoffice.org-base.desktop'
Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/local/share/zeitgeist/_zeitgeist/engine/remote.py", line 86, in GetEvents
in_signature="(xx)a("+constants.SIG_EVENT+")a("+constants.SIG_EVENT+")u",
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 125, in get_events
if event.id not in events:
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 90, in _get_event_from_row
event.payload = row["payload"] or "" # default payload: empty string
File "/usr/local/share/zeitgeist/_zeitgeist/engine/sql.py", line 263, in value
return self._inv_dict[id]
KeyError: u'application://openoffice.org-base.desktop'
Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/local/share/zeitgeist/_zeitgeist/engine/remote.py", line 86, in GetEvents
in_signature="(xx)a("+constants.SIG_EVENT+")a("+constants.SIG_EVENT+")u",
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 125, in get_events
if event.id not in events:
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 90, in _get_event_from_row
event.payload = row["payload"] or "" # default payload: empty string
File "/usr/local/share/zeitgeist/_zeitgeist/engine/sql.py", line 263, in value
return self._inv_dict[id]
KeyError: u'application://openoffice.org-base.desktop'
Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/local/share/zeitgeist/_zeitgeist/engine/remote.py", line 86, in GetEvents
in_signature="(xx)a("+constants.SIG_EVENT+")a("+constants.SIG_EVENT+")u",
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 125, in get_events
if event.id not in events:
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 90, in _get_event_from_row
event.payload = row["payload"] or "" # default payload: empty string
File "/usr/local/share/zeitgeist/_zeitgeist/engine/sql.py", line 263, in value
return self._inv_dict[id]
KeyError: u'application://openoffice.org-base.desktop'
Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/local/share/zeitgeist/_zeitgeist/engine/remote.py", line 86, in GetEvents
in_signature="(xx)a("+constants.SIG_EVENT+")a("+constants.SIG_EVENT+")u",
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 125, in get_events
if event.id not in events:
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 90, in _get_event_from_row
event.payload = row["payload"] or "" # default payload: empty string
File "/usr/local/share/zeitgeist/_zeitgeist/engine/sql.py", line 263, in value
return self._inv_dict[id]
KeyError: u'application://openoffice.org-base.desktop'
Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/local/share/zeitgeist/_zeitgeist/engine/remote.py", line 86, in GetEvents
in_signature="(xx)a("+constants.SIG_EVENT+")a("+constants.SIG_EVENT+")u",
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 125, in get_events
if event.id not in events:
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 90, in _get_event_from_row
event.payload = row["payload"] or "" # default payload: empty string
File "/usr/local/share/zeitgeist/_zeitgeist/engine/sql.py", line 263, in value
return self._inv_dict[id]
KeyError: u'application://geany.desktop'
Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/local/share/zeitgeist/_zeitgeist/engine/remote.py", line 86, in GetEvents
in_signature="(xx)a("+constants.SIG_EVENT+")a("+constants.SIG_EVENT+")u",
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 125, in get_events
if event.id not in events:
File "/usr/local/share/zeitgeist/_zeitgeist/engine/main.py", line 90, in _get_event_from_row
event.payload = row["payload"] or "" # default payload: empty string
File "/usr/local/share/zeitgeist/_zeitgeist/engine/sql.py", line 263, in value
return self._inv_dict[id]
KeyError: u'application://geany.desktop'
Thanks
Nikke
References