Yes. It is for debug information. Still it is good to have the exact
details when we want the exact details when debugging

** Branch linked: lp:~manishsinha/zeitgeist/reproduce-693094

You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

  Zeitgeist engine tells that an event has been inserted even though it has 
been blocked by an extension

Status in Zeitgeist Framework:

Bug description:
  I was working on blacklist when I noticed that even though the event 
insertion has been blocked by an extension, the engine still reports that the 
event has been inserted

Here is the output at the daemon
[2010-12-21 22:24:21,122] - ERROR - zeitgeist.engine - error while inserting 
'Event([dbus.Array([9176, dbus.String(u'1292949791179'), dbus.String(u''), 
dbus.String(u''), dbus.String(u'application://foo.desktop')], 
signature=dbus.Signature('s')), [Subject([dbus.String(u''), dbus.String(u''), 
dbus.String(u''), dbus.String(u''), dbus.String(u''), dbus.String(u''), 
dbus.String(u'')])], dbus.Array([], signature=dbus.Signature('y'))])'
Traceback (most recent call last):
  File "/home/manish/code/zeitgeist/zeitgeist/../_zeitgeist/engine/", 
line 484, in _insert_event_without_error
    return self._insert_event(event, sender)
  File "/home/manish/code/zeitgeist/zeitgeist/../_zeitgeist/engine/", 
line 503, in _insert_event
    raise AssertionError("Inserting of event was blocked by an extension")
AssertionError: Inserting of event was blocked by an extension
[2010-12-21 22:24:21,126] - DEBUG - zeitgeist.engine - Inserted 1 events in 

The section in _zeitgeist/engine/ responsible for this is
The AssertionError is raised on line 29 which is caught at line 11, but at line 
3 and line 4, there is no way to check that the the event was actually inserted

I was recommend some way to track how many events have been inserted and how 
many have been blocked

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to