← Back to team overview

zeitgeist team mailing list archive

[Bug 620109] Re: Refuses to log events without subjects

 

Markus, I had a similar idea to begin with, but I don't think that works
for the general case of launching app X with a list of N uris (N=0, 1,
2, 3, ...). To me it would be ugly if launching an app without uri args
is different than launching an app with N uris.

Alternatively we log first the "launch executable" event and then an
access event with N subjects for that actor. I don't think that's very
nice modelling though, and it's not nice to query for clients either...

-- 
Refuses to log events without subjects
https://bugs.launchpad.net/bugs/620109
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: New

Bug description:
Zeitgeist says:

Traceback (most recent call last):
  File "/usr/share/zeitgeist/_zeitgeist/engine/main.py", line 497, in _insert_event_without_error
    return self._insert_event(event, sender)
  File "/usr/share/zeitgeist/_zeitgeist/engine/main.py", line 508, in _insert_event
    raise ValueError("Illegal event format: No subject")
ValueError: Illegal event format: No subject

If I send it an event without a subject. The reason why I am doing that is because I am trying to log whenever an app is launched. Like for instance when I launch the Gnome calculator. This way I can have "most popular apps" listings and what not :-)

So my request: Can we lax the requirement for events to have a subject?





References