[Zeitgeist] [Bug 580364] [NEW] searching with subject_storage in template is not working

2010-05-14 Thread Markus Korn
Public bug reported: I've just added a testcase to lp:zeitgeist which shows that a template like template = Event.new_for_values(subject_storage=) returns all events, instead of only all events with subject_storage=. There are two ways to fx this bug: 1.) implement searching for

[Zeitgeist] [Merge] lp:~thekorn/zeitgeist/negation_support into lp:zeitgeist

2010-05-14 Thread Markus Korn
Markus Korn has proposed merging lp:~thekorn/zeitgeist/negation_support into lp:zeitgeist. Requested reviews: Zeitgeist Framework Team (zeitgeist) Related bugs: #485966 Using filters (text match / exclusion / etc) https://bugs.launchpad.net/bugs/485966 This branch adds negation support

[Zeitgeist] [Bug 580372] [NEW] Event.new_for_values() does not chec arguments

2010-05-14 Thread Markus Korn
Public bug reported: Something like event = Event.new_for_values(boo=234234) should raise a TypeError (or ValueError) instead of creating an Event which make no sense: print event Event([['', '1273824118015', '', '', ''], [], '']) ** Affects: zeitgeist Importance: Undecided

[Zeitgeist] [Bug 580364] Re: searching with subject_storage in template is not working

2010-05-14 Thread Markus Korn
Ok, zeitgeist is not raising a ValueError if someone tries to query on storage, I'll let this bug open so we can implement support for this field in the future. revno: 1471 committer: Markus Korn thek...@gmx.de branch nick: trunk

[Zeitgeist] [Bug 580372] Re: Event.new_for_values() does not check arguments

2010-05-14 Thread Markus Korn
** Summary changed: - Event.new_for_values() does not chec arguments + Event.new_for_values() does not check arguments -- Event.new_for_values() does not check arguments https://bugs.launchpad.net/bugs/580372 You received this bug notification because you are a member of Zeitgeist Framework

[Zeitgeist] [Bug 485966] Re: Using filters (text match / exclusion / etc)

2010-05-14 Thread Markus Korn
I've started working on the wildcard part in lp:~thekorn/zeitgeist/wildcard_support And I'm adding another constraint: searches are case sensitive. Please cry out loud if you think that case sensitive searches is a bad thing. -- Using filters (text match / exclusion / etc)

[Zeitgeist] [Bug 580601] [NEW] Inconsistent data in event_view

2010-05-14 Thread Markus Korn
Public bug reported: While working on the wildcard implementation I had some hard time with our event_view view. And I'm esp. wondering why event.actor and event.subj_mimetype are ids where fields like event.subj_origin is already JOINed to the actual string. Is this on purpose? shouldn't be

[Zeitgeist] [Bug 485966] Re: Using filters (text match / exclusion / etc)

2010-05-14 Thread Markus Korn
** Branch linked: lp:~thekorn/zeitgeist/wildcard_support -- Using filters (text match / exclusion / etc) https://bugs.launchpad.net/bugs/485966 You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. Status in

[Zeitgeist] [Merge] lp:~thekorn/zeitgeist/wildcard_support into lp:zeitgeist

2010-05-14 Thread Markus Korn
Markus Korn has proposed merging lp:~thekorn/zeitgeist/wildcard_support into lp:zeitgeist. Requested reviews: Mikkel Kamstrup Erlandsen (kamstrup) Zeitgeist Framework Team (zeitgeist) This branch adds wildcard-support to some template-fields, and completes the fix of bug 485966 -- https

[Zeitgeist] [Bug 580643] Re: conversion script for the database and database versioning

2010-05-14 Thread Markus Korn
*** This bug is a duplicate of bug 566898 *** https://bugs.launchpad.net/bugs/566898 added Mikkel's work on 1.) ** Changed in: zeitgeist Importance: Undecided = Critical ** Changed in: zeitgeist Status: New = Confirmed ** Changed in: zeitgeist Milestone: None = 0.3.4 ** This

[Zeitgeist] [Bug 485966] Re: Using filters (text match / exclusion / etc)

2010-05-13 Thread Markus Korn
I will start hacking on this again today, a plan to split it into two parts. 1.) I will start with negation 2.) the next step is wildcards There are still a few open question to me: wrt 1.) * for which fields do we allow negation? - Subject.{Uri, Interpretation, Manifestation, Origin,

[Zeitgeist] [Merge] lp:~thekorn/zeitgeist/negation_switch into lp:zeitgeist

2010-05-13 Thread Markus Korn
The proposal to merge lp:~thekorn/zeitgeist/negation_switch into lp:zeitgeist has been updated. Status: Needs review = Rejected -- https://code.launchpad.net/~thekorn/zeitgeist/negation_switch/+merge/16416 Your team Zeitgeist Framework Team is requested to review the proposed merge of

[Zeitgeist] [Bug 485966] Re: Using filters (text match / exclusion / etc)

2010-05-13 Thread Markus Korn
I think I got the negation part working in lp:~thekorn/zeitgeist/negation_support Before a merge, this branch needs a few more tests, I hope to work on it tomorrow early morning. After I got this branch landed I will work on the wildcard part. ** Branch unlinked:

[Zeitgeist] [Bug 512090] Re: Separate Interpretation/Manifestation into different groups for Events and Subjects

2010-05-13 Thread Markus Korn
We implemented this kind of differentiation with the ontology branch we landed some time ago. ** Changed in: zeitgeist Status: Confirmed = Fix Released ** Changed in: zeitgeist Assignee: (unassigned) = Markus Korn (thekorn) -- Separate Interpretation/Manifestation into different

[Zeitgeist] [Bug 488656] Re: firefox extension: use XPCOM instead of communicating via files

2010-05-12 Thread Markus Korn
** Changed in: zeitgeist-dataproviders Status: New = Fix Released ** Changed in: zeitgeist-dataproviders Assignee: (unassigned) = Markus Korn (thekorn) -- firefox extension: use XPCOM instead of communicating via files https://bugs.launchpad.net/bugs/488656 You received this bug

[Zeitgeist] [Bug 376018] Re: Support the webfav extension for Firefox for quick adding of bookmarks/starred items

2010-05-12 Thread Markus Korn
Can anybody please tell me how this is related to the dataproviders? What das WebFav do, and how can we use this for zeitgeist, or how can zeitgeist help webfav to do the right thing. Thanks, Markus ** Changed in: zeitgeist-dataproviders Status: New = In Progress -- Support the webfav

[Zeitgeist] [Bug 579489] Re: add support for mpd

2010-05-12 Thread Markus Korn
Hi JaVaEs, I've never used mpd, and I have close to zero ideas how this player works. And after looking at their wiki/source-code I've no clue how we can hook into mpd to be notified when a song is played/skipped/stopped/... If you or anyone else has an idea, or maybe some sample code please

Re: [Zeitgeist] [Merge] lp:~kamstrup/zeitgeist/query-expansion into lp:zeitgeist

2010-05-12 Thread Markus Korn
Hey Mikkel, thanks you for your works, it is working fine for me. Feel free to merge this branch into lp:zeitgeist once you thought about my three comments ;) Markus === modified file '_zeitgeist/engine/main.py' --- _zeitgeist/engine/main.py   2010-05-03 16:32:00 + +++

[Zeitgeist] [Bug 578908] [NEW] [firefox-xpcom] causes firefox to crash when http://cntv.cn opening

2010-05-11 Thread Markus Korn
Public bug reported: running this command in firefox-xpcom/ stop running firefox reproducible: make make install firefox http://cntv.cn but there does not seem to be a segfault etc. ** Affects: zeitgeist-dataproviders Importance: Undecided Status: New -- [firefox-xpcom]

[Zeitgeist] [Bug 578908] Re: [firefox-xpcom] causes firefox to crash when http://cntv.cn opening

2010-05-11 Thread Markus Korn
Fixed, thanks Michal revno: 46 committer: Michal Hruby michal@gmail.com branch nick: trunk timestamp: Tue 2010-05-11 23:22:33 +0300 message: Fix problems with non-ascii strings

[Gnome-zeitgeist] [Bug 522595] [NEW] Support custom icons and handler to launch an object

2010-02-16 Thread Markus Korn
of the folder icon in this case, and also open this branch in `bzr viz` or such. ** Affects: gnome-activity-journal Importance: Wishlist Assignee: Markus Korn (thekorn) Status: Confirmed -- Support custom icons and handler to launch an object https://bugs.launchpad.net/bugs/522595 You

[Gnome-zeitgeist] [Bug 522595] Re: Support custom icons and handler to launch an object

2010-02-16 Thread Markus Korn
I've a good idea how to make this happen, will look at it tonight. ** Changed in: gnome-activity-journal Importance: Undecided = Wishlist ** Changed in: gnome-activity-journal Status: New = Confirmed ** Changed in: gnome-activity-journal Assignee: (unassigned) = Markus Korn

[Gnome-zeitgeist] [Bug 510884] [NEW] Gentoo: AttributeError: 'module' object has no attribute 'ThumbnailFactory'

2010-01-21 Thread Markus Korn
Public bug reported: User report of GAJ running on gentoo, via #zeitgeist $ gnome-activity-journal ImportError: could not import bonobo.ui Traceback (most recent call last): File /usr/bin/gnome-activity-journal, line 91, in module from src.main import Portal File

[Zeitgeist] [Blueprint handling-dataproviders] Howto handle dataproviders per default.

2010-01-19 Thread Markus Korn
Blueprint changed by Markus Korn: Whiteboard set to: --- thekorn: I don't get why we are talking about this over and over again. When we think we came to a conclusion it is always a matter of time before somebody

[Zeitgeist] [Blueprint handling-dataproviders] Howto handle dataproviders per default.

2010-01-19 Thread Markus Korn
Blueprint changed by Markus Korn: Whiteboard changed: --- thekorn: I don't get why we are talking about this over and over again. When we think we came to a conclusion it is always a matter of time before

[Gnome-zeitgeist] [Bug 507377] Re: Performance issue: CairoHistogram is connecting to expose_event over and over again, without disconnecting

2010-01-14 Thread Markus Korn
This is fixed in the attached branch, please review and merge ;) ** Changed in: gnome-activity-journal Status: New = In Progress ** Changed in: gnome-activity-journal Assignee: (unassigned) = Markus Korn (thekorn) -- Performance issue: CairoHistogram is connecting to expose_event

[Gnome-zeitgeist] [Bug 507377] Re: Performance issue: CairoHistogram is connecting to expose_event over and over again, without disconnecting

2010-01-14 Thread Markus Korn
** Changed in: gnome-activity-journal Status: In Progress = Fix Released -- Performance issue: CairoHistogram is connecting to expose_event over and over again, without disconnecting https://bugs.launchpad.net/bugs/507377 You received this bug notification because you are a member of

[Zeitgeist] [Bug 488656] Re: firefox extension: use XPCOM instead of communicating via files

2010-01-08 Thread Markus Korn
Just found this today, dbus for JS http://sandbox.movial.com/wiki/index.php/Browser_DBus_Bridge -- firefox extension: use XPCOM instead of communicating via files https://bugs.launchpad.net/bugs/488656 You received this bug notification because you are a member of Zeitgeist Developers, which is

[Zeitgeist] [Bug 485966] Re: Using filters (text match / exclusion / etc)

2009-12-29 Thread Markus Korn
Moved to the 0.3.2 milestone as implmentation details needs to be discussed, see the discussion on the merge proposal. ** Changed in: zeitgeist Milestone: 0.3.1 = 0.3.2 -- Using filters (text match / exclusion / etc) https://bugs.launchpad.net/bugs/485966 You received this bug notification

[Zeitgeist] [Bug 485966] Re: Using filters (text match / exclusion / etc)

2009-12-20 Thread Markus Korn
I updated lp:~thekorn/zeitgeist/negation_switch, * it has wildcard support ('*' is used) * added logic to Event.matches_template() and Subject.matches_template() This updates add a new convention to zeitgeist: * in fields which support wildcard queries must be escaped as \* TODO: * adding

Re: [Zeitgeist] Wrapping up 0.3.1

2009-12-17 Thread markus korn
On Thu, Dec 17, 2009 at 9:49 PM, markus korn thek...@gmx.de wrote: On Thu, Dec 17, 2009 at 9:19 PM, Mikkel Kamstrup Erlandsen mikkel.kamst...@gmail.com wrote: Ladys and Gents, If we want to wrap up 0.3.1 before Christmas I believe this weekend (19+20/12-2009) is our only shot. Glancing

[Zeitgeist] [Bug 496109] Re: querying for events with specified actors

2009-12-13 Thread Markus Korn
** Changed in: zeitgeist Status: New = Confirmed ** Changed in: zeitgeist Importance: Undecided = High -- querying for events with specified actors https://bugs.launchpad.net/bugs/496109 You received this bug notification because you are a member of Zeitgeist Developers, which is a

[Zeitgeist] [Bug 496109] Re: querying for events with specified actors

2009-12-13 Thread Markus Korn
revno 1222 has a remote testcase for this bug, which fails. A testcase which does the same on engine level works just fine. ** Branch linked: lp:zeitgeist -- querying for events with specified actors https://bugs.launchpad.net/bugs/496109 You received this bug notification because you are a

[Zeitgeist] [Bug 495179] Re: What to do on failed or blocked event insertions?

2009-12-11 Thread Markus Korn
I'm preparing a branch with the solution proposed by Mikkel, as this solution has the best (making sense)/(breaking API) ratio. ** Changed in: zeitgeist Assignee: (unassigned) = Markus Korn (thekorn) -- What to do on failed or blocked event insertions? https://bugs.launchpad.net/bugs

[Zeitgeist] [Bug 495179] Re: What to do on failed or blocked event insertions?

2009-12-11 Thread Markus Korn
thanks for your super fast code review. I've changed the method name and fixed some engine-testcases (Exceptions are not raised anymore, 0 is returned instead) If nobody complains until lunchtime I will merge this branch into lp:zeitgeist. This branch fixes only half of the issue, we also need a

[Zeitgeist] [Bug 495179] Re: What to do on failed or blocked event insertions?

2009-12-11 Thread Markus Korn
** Changed in: zeitgeist Status: Confirmed = Fix Committed -- What to do on failed or blocked event insertions? https://bugs.launchpad.net/bugs/495179 You received this bug notification because you are a member of Zeitgeist Framework, which is the registrant for Zeitgeist Framework.

[Zeitgeist] [Bug 495392] Re: What to do if an event is not found or blocked when calling GetEvents (or its engine equivalent)

2009-12-11 Thread Markus Korn
I addressed both your comments in revision 1225, thanks for the review. -- What to do if an event is not found or blocked when calling GetEvents (or its engine equivalent) https://bugs.launchpad.net/bugs/495392 You received this bug notification because you are a member of Zeitgeist Developers,

[Zeitgeist] [Bug 487297] Re: External dataproviders playing along the recentlyused manager

2009-12-09 Thread Markus Korn
I think I have an Idea of how to fix this bug, I will try to get some code later today ** Changed in: zeitgeist Assignee: (unassigned) = Markus Korn (thekorn) -- External dataproviders playing along the recentlyused manager https://bugs.launchpad.net/bugs/487297 You received this bug

[Zeitgeist] [Bug 493529] [NEW] OperationalError: too many SQL variables when requesting a huge number of events in GetEvents

2009-12-07 Thread Markus Korn
Public bug reported: When I request all events in my database (there are about 3000 of them) I get an operational error: In [1]: from zeitgeist.client import ZeitgeistDBusInterface In [2]: iface = ZeitgeistDBusInterface() In [3]: events = iface.FindEventIds((0,0), [], 2, 5, 0) In [4]:

[Zeitgeist] [Bug 492261] Re: Make defenition of Manifestation and Interpretation in datamodel.py simpler

2009-12-06 Thread Markus Korn
** Changed in: zeitgeist Status: In Progress = Fix Committed -- Make defenition of Manifestation and Interpretation in datamodel.py simpler https://bugs.launchpad.net/bugs/492261 You received this bug notification because you are a member of Zeitgeist Framework, which is the registrant

[Zeitgeist] [Bug 492261] [NEW] Make defenition of Manifestation and Interpretation in datamodel.py simpler

2009-12-04 Thread Markus Korn
Public bug reported: Most of he metaclass magic in datamodel.py to register and define Manifestation and Interpretation is not used anymore, we should remove it and use much simpler (and more readable) code. ** Affects: zeitgeist Importance: Undecided Assignee: Markus Korn (thekorn

[Zeitgeist] [Bug 492261] Re: Make defenition of Manifestation and Interpretation in datamodel.py simpler

2009-12-04 Thread Markus Korn
I'm working on fixing this bug in the attached branch ** Branch linked: lp:~thekorn/zeitgeist/simple.categories ** Changed in: zeitgeist Status: New = In Progress ** Changed in: zeitgeist Importance: Undecided = Low ** Changed in: zeitgeist Milestone: None = 0.3.1 -- Make

[Zeitgeist] [Bug 490242] [NEW] (0, 0) vs. Timerange.until_now() in methods to find events to get all events ever inserted

2009-11-30 Thread Markus Korn
Public bug reported: For the time_range argument, there are two ways to query for all events ever inserted in Zeitgeist,   1.) using TimeRange.until_now(), which translates to (0, int(time.time()*1000))   2.) (0,0) Strictly speaking both intervals means sth. completely different, and we

[Zeitgeist] [Bug 488967] Re: Add event notification and subscription system

2009-11-28 Thread Markus Korn
** Branch linked: lp:~thekorn/+junk/test_dbus_direct_signal -- Add event notification and subscription system https://bugs.launchpad.net/bugs/488967 You received this bug notification because you are a member of Zeitgeist-Engine, which is the registrant for Zeitgeist Framework. Status in

[Zeitgeist] [Bug 488967] Re: Add event notification and subscription system

2009-11-28 Thread Markus Korn
In the attached branch I tried to put together a sample dbus service which *should* send directed signals, but somehow it is not working as I expect it to work. There are two scripts, service.py which starts the service, and client.py (0|1), the client. starting the client with argument '1' means

[Zeitgeist] [Bug 488967] Re: Add event notification and subscription system

2009-11-28 Thread Markus Korn
maybe this screencasts help to understand whyt I mean ;) ** Attachment added: out.ogv http://launchpadlibrarian.net/36195528/out.ogv -- Add event notification and subscription system https://bugs.launchpad.net/bugs/488967 You received this bug notification because you are a member of

[Zeitgeist] [Bug 489127] [NEW] OverflowError in GetHighestTimestampForActor()

2009-11-27 Thread Markus Korn
/python2.6/dbus/service.py, line 252, in _method_reply_return reply.append(signature=signature, *retval) OverflowError: Value 889653821 out of range for UInt32 ** Affects: zeitgeist Importance: High Assignee: Markus Korn (thekorn) Status: In Progress ** Changed in: zeitgeist

[Zeitgeist] [Bug 489127] Re: OverflowError in GetHighestTimestampForActor()

2009-11-27 Thread Markus Korn
** Changed in: zeitgeist Status: In Progress = Fix Released -- OverflowError in GetHighestTimestampForActor() https://bugs.launchpad.net/bugs/489127 You received this bug notification because you are a member of Zeitgeist-Engine, which is the registrant for Zeitgeist Framework. Status in

[Zeitgeist] [Bug 489186] Re: GetHighestTimestampForActor is superfluous

2009-11-27 Thread Markus Korn
Yeah, I'm ok with removing this method from the dbus API. I would be cool if we could add a more flexible method to ZeitgeistClient, like ZeitgeistClient.get_max_timestamp(self, actor=None, manifestation=None, interpretation=None) so you can not only search for the last timestamp for an actor,

[Zeitgeist] [Bug 485698] Re: create an external dataprovider for evolution

2009-11-26 Thread Markus Korn
** Project changed: zeitgeist = zeitgeist-dataproviders -- create an external dataprovider for evolution https://bugs.launchpad.net/bugs/485698 You received this bug notification because you are a member of Zeitgeist-Engine, which is subscribed to Zeitgeist Data Providers. Status in Zeitgeist

[Zeitgeist] [Bug 488656] [NEW] firefox extension: use XPCOM instead of communicating via files

2009-11-26 Thread Markus Korn
Public bug reported: Due to a missing pyxpcom package in ubuntu karmic the firefox extension was hacked by files in the dbus communication process. this is VERY inefficient. We should use XPCOM instead. ** Affects: zeitgeist-dataproviders Importance: Undecided Status: New --

[Zeitgeist] [Bug 488656] Re: firefox extension: use XPCOM instead of communicating via files

2009-11-26 Thread Markus Korn
Right, this was my initial idea. But maybe using mozjs-dbus is much easier, I will try it later today. Thanks for the link. -- firefox extension: use XPCOM instead of communicating via files https://bugs.launchpad.net/bugs/488656 You received this bug notification because you are a member of

[Zeitgeist] [Bug 447417] Re: Zeitgeist should have any kind of system to protect users privacy

2009-11-25 Thread Markus Korn
Only the Tim usecase in the description of this bugreport can be solved by a blacklist system. For the Tina usecase we need to find a way to apply filter on already existing entries in the database to delete them -- Zeitgeist should have any kind of system to protect users privacy

[Zeitgeist] [Bug 488067] [NEW] add more logging statements to the engine

2009-11-25 Thread Markus Korn
Public bug reported: The old version of the engine is more verbose, has more logging statements. For example it prints out if and how many objects are inserted into the database. This information is useful when developing a dataprovider to see if everything is working. We should re-add this

[Zeitgeist] [Bug 447417] Re: Zeitgeist should have any kind of system to protect users privacy

2009-11-25 Thread Markus Korn
@Mikkel, right. So maybe it is just about putting this into an usable UI. But this is unrelated to this bugreport. -- Zeitgeist should have any kind of system to protect users privacy https://bugs.launchpad.net/bugs/447417 You received this bug notification because you are a member of

[Zeitgeist] [Bug 486996] [NEW] testInsertGetWithoutTimestamp testcase fails

2009-11-23 Thread Markus Korn
Public bug reported: Running python test/resonance-engine-test.py I get one failed testcase == FAIL: testInsertGetWithoutTimestamp (__main__.ZeitgeistEngineTest)

[Zeitgeist] [Bug 486996] Re: testInsertGetWithoutTimestamp testcase fails

2009-11-23 Thread Markus Korn
** Changed in: zeitgeist Status: New = Triaged -- testInsertGetWithoutTimestamp testcase fails https://bugs.launchpad.net/bugs/486996 You received this bug notification because you are a member of Zeitgeist-Engine, which is the registrant for Zeitgeist Engine. Status in Zeitgeist Engine:

[Zeitgeist] [Bug 485698] [NEW] create an external dataprovider for evolution

2009-11-20 Thread Markus Korn
Public bug reported: I'm using this bug to track progress for an evolution eplugin sending events to zeitgeist until I have a running version which is worth its own project. ** Affects: zeitgeist Importance: Wishlist Assignee: Markus Korn (thekorn) Status: In Progress

[Zeitgeist] [Bug 483550] Re: [lp:~zeitgeist/zeitgeist/zeitgeist-resonance] make test/remote-test.py proper unittests

2009-11-17 Thread Markus Korn
merged revno: 1299 [merge] committer: Markus Korn thek...@gmx.de branch nick: zeitgeist-resonance timestamp: Tue 2009-11-17 09:11:04 +0100 message: * turned test/remote-test.py over to a proper unittest (LP: #483550

[Zeitgeist] [Bug 483550] Re: [lp:~zeitgeist/zeitgeist/zeitgeist-resonance] make test/remote-test.py proper unittests

2009-11-16 Thread Markus Korn
ok, sorry, pushed again, sth. went wrong the first time... -- [lp:~zeitgeist/zeitgeist/zeitgeist-resonance] make test/remote-test.py proper unittests https://bugs.launchpad.net/bugs/483550 You received this bug notification because you are a member of Zeitgeist-Engine, which is the registrant

[Zeitgeist] [Bug 419867] Re: Recently Used parsing error

2009-08-27 Thread Markus Korn
** Changed in: zeitgeist Assignee: (unassigned) = Markus Korn (thekorn) -- Recently Used parsing error https://bugs.launchpad.net/bugs/419867 You received this bug notification because you are a member of Zeitgeist-Engine, which is a direct subscriber. Status in Zeitgeist Engine: New Bug

[Zeitgeist] [Bug 407369] [NEW] Define content and source types in one central place

2009-07-31 Thread Markus Korn
: zeitgeist Importance: Medium Assignee: Markus Korn (thekorn) Status: New ** Changed in: zeitgeist Importance: Undecided = Medium ** Changed in: zeitgeist Assignee: (unassigned) = Markus Korn (thekorn) -- Define content and source types in one central place https

<    1   2   3