On 19 August 2010 18:55, Seif Lotfy <620...@bugs.launchpad.net> wrote:
> I would like to have a soltuion where the actor is the environment that
> launches tha app and the subject is the app itself...
> However his could mess up AJ terribly unless I query for all subjects except
> for those of type software_item

How is that? Do you just query for everything? In that case your code
must be ready to accept *everything*. Otherwise we impose an
artificial limitation of what data you can log in ZG. GAJ can not
expect ZG data sources to behave nicely since we deliberately made the
InsertEvent API very forgiving.

Refuses to log events without subjects
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 
    return self._insert_event(event, sender)
  File "/usr/share/zeitgeist/_zeitgeist/engine/main.py", line 508, in 
    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?

Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to