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

2010-08-19 Thread Seif Lotfy
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 Querying this and sroting it by mostusedactor will give us most

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

2010-08-19 Thread Markus Korn
As I mentioned already on IRC, although I don't like the idea of having events without a subject (because it's conceptual: "something is happening, but we don't know what") I think this is the easiest solution for the usecase of a GIO dataprovider which sits in the middle of the application whic

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

2010-08-19 Thread Mikkel Kamstrup Erlandsen
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 "la

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

2010-08-19 Thread Markus Korn
Hmm, I think the main question here is: How do events for "launching applications look like?" >From how I understand your description I think you want something like: event = Event.new_from_values( timestamp=1, interpretation=ACCESS_EVENT, manifestation=USER_ACTIVITY, actor="/path/to/a