← Back to team overview

zeitgeist team mailing list archive

[Bug 565861] Re: Key error in self._inv_dict[id] using GAJ

 

Looks like I had some buggy entry in the DB.

** Changed in: zeitgeist
       Status: New => Invalid

-- 
Key error in self._inv_dict[id] using GAJ
https://bugs.launchpad.net/bugs/565861
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: Invalid

Bug description:
Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/home/rainct/Desenvolupament/Python/zeitgeist-project/zeitgeist-trunk/zeitgeist/../_zeitgeist/engine/remote.py", line 240, in FindEvents
    event_templates, storage_state, num_events, result_type, sender))
  File "/home/rainct/Desenvolupament/Python/zeitgeist-project/zeitgeist-trunk/zeitgeist/../_zeitgeist/engine/main.py", line 266, in find_events
    return self._find_events(1, *args)
  File "/home/rainct/Desenvolupament/Python/zeitgeist-project/zeitgeist-trunk/zeitgeist/../_zeitgeist/engine/main.py", line 254, in _find_events
    return self.get_events(rows=result, sender=sender)
  File "/home/rainct/Desenvolupament/Python/zeitgeist-project/zeitgeist-trunk/zeitgeist/../_zeitgeist/engine/main.py", line 126, in get_events
    event = self._get_event_from_row(row)
  File "/home/rainct/Desenvolupament/Python/zeitgeist-project/zeitgeist-trunk/zeitgeist/../_zeitgeist/engine/main.py", line 91, in _get_event_from_row
    setattr(event, field, getattr(self, "_" + field).value(row[field]))
  File "./test/../_zeitgeist/engine/sql.py", line 325, in value
    return self._inv_dict[id]
KeyError: 28924





References