[Zeitgeist] [Bug 570741] [NEW] Bug in find_related_uris

2010-04-27 Thread Michal Hruby
Public bug reported: While playing with libzg, I got this exception: ** (process:10701): CRITICAL **: file /home/miso/test-zg.vala.c: line 166: uncaught error: Remote Exception invoking org.gnome.zeitgeist.Log.FindRelatedUris() on /org/gnome/zeitgeist/log/activity at name

[Zeitgeist] [Bug 487321] Re: What value should subject.origin have?

2010-05-14 Thread Michal Hruby
I think that it makes sense to store in subject.origin the location where subject.uri can be found. Therefore the web page visit events could have as origin set either their referrer page or the domain (only if referrer is unavailable, since we can parse the domain from uri anyway). As for

[Zeitgeist] [Merge] lp:~mhr3/zeitgeist/mimetypes into lp:zeitgeist

2010-05-27 Thread Michal Hruby
Michal Hruby has proposed merging lp:~mhr3/zeitgeist/mimetypes into lp:zeitgeist. Requested reviews: Zeitgeist Framework Team (zeitgeist) -- https://code.launchpad.net/~mhr3/zeitgeist/mimetypes/+merge/26233 Your team Zeitgeist Framework Team is requested to review the proposed merge of lp

[Zeitgeist] [Bug 487321] Re: What value should subject.origin have?

2010-06-29 Thread Michal Hruby
I personally don't like that, you can have a simple method which will extract the domain from uri, on the other hand having possibility to create at least a partial tree of how you got to a uri is more useful. -- What value should subject.origin have? https://bugs.launchpad.net/bugs/487321 You

[Zeitgeist] [Bug 579972] Re: Send events to zeitgeist

2010-07-05 Thread Michal Hruby
Marking as Invalid in Zeitgeist Data-Sources as this got upstream. ** Changed in: zeitgeist-dataproviders Status: New = Invalid -- Send events to zeitgeist https://bugs.launchpad.net/bugs/579972 You received this bug notification because you are a member of Zeitgeist Framework Team,

[Zeitgeist] [Bug 601671] Re: firefox extension: still loging when in private mode

2010-07-05 Thread Michal Hruby
** Changed in: zeitgeist-dataproviders Status: New = Confirmed ** Changed in: zeitgeist-dataproviders Importance: Undecided = Medium ** Changed in: zeitgeist-dataproviders Assignee: (unassigned) = Michal Hruby (mhr3) -- firefox extension: still loging when in private mode https

[Zeitgeist] [Bug 602864] Re: Data-sources don't identify themselves to Zeitgeist

2010-07-07 Thread Michal Hruby
Affecting also libzg, as there's missing API for this. ** Also affects: libzeitgeist Importance: Undecided Status: New -- Data-sources don't identify themselves to Zeitgeist https://bugs.launchpad.net/bugs/602864 You received this bug notification because you are a member of Zeitgeist

[Zeitgeist] [Bug 612344] [NEW] Blacklist API sucks

2010-08-01 Thread Michal Hruby
Public bug reported: Guys, GetBlacklist and SetBlacklist (without any signals) for an asynchrounous-by-nature API? Come on! How about changing it to Get, Add, Remove and a changed signal? That way it'd be actually usable... ** Affects: zeitgeist Importance: Undecided Status: New

[Zeitgeist] [Bug 613596] [NEW] ORed subjects very slow in 0.5

2010-08-04 Thread Michal Hruby
Public bug reported: Now that Subjects in one Event are ANDed instead of ORed, I'm using multiple Events with single Subject in each of them, but this seems to be a lot slower than it used to. The exact use case is having empty Event + Subject with a mimetype set. This is used to get recently

[Zeitgeist] [Bug 559350] Re: zeitgeist-daemon crashed with OverflowError in call_async()

2010-08-05 Thread Michal Hruby
@Mikkel: I'm afraid this will be different issue, the reporter states that only thing running was GAJ, and due to the date this was opened (April), it's impossible that a libzg monitor caused this. Also here's a traceback which caused the libzg bug, it's a bit more clear than this one. **

[Zeitgeist] [Bug 613596] Re: ORed subjects very slow in 0.5

2010-08-05 Thread Michal Hruby
Ok, seems like this didn't really change, even in 0.4 it was pretty much as slow as now. Still, I'm seeing about 0.15s to fetch one event id when using RECENT_EVENTS grouping which seems quite a lot (this is for DB with ~25k events, ~10k uris). -- ORed subjects very slow in 0.5

[Zeitgeist] [Bug 614295] [NEW] TimeRange.always() is inconsistent

2010-08-06 Thread Michal Hruby
Public bug reported: There's an inconsistency in TimeRange.always() produced by ZG and libzg. ZG uses (-maxint, maxint), while libzg uses (0, maxint). This introduces incompabilities when using ZG's TimeRange.is_always(), where it'll return True for ZG's TimeRanges and False for libzg's

[Zeitgeist] [Bug 614284] Re: fts extension is not expanding stuff correctly in queries

2010-08-06 Thread Michal Hruby
I have a libzg query that searches for v* with an empty event as a template, this is the result: DEBUG:zeitgeist.fts:Search '(v*) AND (())' gave 8 hits in 34.8780155182ms The same query by using `./talis 'v*'`: DEBUG:zeitgeist.fts:Search 'v*' gave 8845 hits in 12.4750137329ms Now libzg search

[Zeitgeist] [Bug 614284] Re: fts extension is not expanding stuff correctly in queries

2010-08-06 Thread Michal Hruby
And one more with Timestamp.anytime(): (libzg) DEBUG:zeitgeist.fts:Search '(v*) AND (0..9223372036854775807ms)' gave 4422 hits in 33.2410335541ms Talis: DEBUG:zeitgeist.fts:Search 'v*' gave 8845 hits in 14.8799419403ms And yes, I'm quite sure I don't have 4000 events with Timestamp 0 in my DB.

[Zeitgeist] [Bug 614282] Re: fts extension is missing negation support

2010-08-06 Thread Michal Hruby
Oh dear, I didn't read your comment here Mikkel, but I already have a patch which does it using NOT, here it is: ** Patch added: negation.patch http://launchpadlibrarian.net/53199455/negation.patch -- fts extension is missing negation support https://bugs.launchpad.net/bugs/614282 You

[Zeitgeist] [Bug 614315] Re: fts extension fails to load

2010-08-11 Thread Michal Hruby
** Changed in: zeitgeist Status: New = Fix Committed ** Changed in: zeitgeist-extensions Status: New = Invalid -- fts extension fails to load https://bugs.launchpad.net/bugs/614315 You received this bug notification because you are a member of Zeitgeist Framework Team, which is

[Zeitgeist] [Bug 614284] Re: fts extension is not expanding stuff correctly in queries

2010-08-11 Thread Michal Hruby
It seems that this issue was caused by the empty Event (the (())), if I pass instead empty array of Events, everything is fine. -- fts extension is not expanding stuff correctly in queries https://bugs.launchpad.net/bugs/614284 You received this bug notification because you are a member of

[Zeitgeist] [Bug 617309] [NEW] fts can SIGSEGV ZG during reindex

2010-08-13 Thread Michal Hruby
Public bug reported: Any search query while FTS is reindexing the DB will cause a SIGSEGV. ** Affects: zeitgeist-extensions Importance: Undecided Status: New -- fts can SIGSEGV ZG during reindex https://bugs.launchpad.net/bugs/617309 You received this bug notification because you

[Zeitgeist] [Bug 617308] [NEW] fts doesn't index uris correctly

2010-08-13 Thread Michal Hruby
Public bug reported: When I have a uri that says file:///..foo%20bar, it's not returned when searching for bar. ** Affects: zeitgeist-extensions Importance: Undecided Status: New -- fts doesn't index uris correctly https://bugs.launchpad.net/bugs/617308 You received this bug

[Zeitgeist] [Bug 617308] Re: fts doesn't index uris correctly

2010-08-13 Thread Michal Hruby
Yep, 20bar returns it. -- fts doesn't index uris correctly https://bugs.launchpad.net/bugs/617308 You received this bug notification because you are a member of Zeitgeist Extensions, which is the registrant for Zeitgeist Smack-ins. Status in Zeitgeist Smack-ins: New Bug description: When I

[Zeitgeist] [Bug 602211] Re: Monitoring for new files

2010-08-13 Thread Michal Hruby
I also don't think this is a good approach, for one the notifications often fire very soon - it might not even be possible to get mimetype of the file (not to mention .part-type files), and I'm not so sure the API enables you to determine that an operation is a move/copy. You'd probably just see a

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/timerange_and_event_value_fix into lp:zeitgeist

2010-08-14 Thread Michal Hruby
Seif, with your changes TimeRange.always().is_always() will return False. I wouldn't call that a bugfix. :P -- https://code.launchpad.net/~zeitgeist/zeitgeist/timerange_and_event_value_fix/+merge/32574 Your team Zeitgeist Framework Team is requested to review the proposed merge of

[Zeitgeist] [Bug 618639] Re: Logs 3 events for each recent file

2010-08-17 Thread Michal Hruby
-datahub Status: New = Confirmed ** Changed in: zeitgeist-datahub Assignee: (unassigned) = Michal Hruby (mhr3) ** Changed in: zeitgeist-datahub Importance: Undecided = Medium -- Logs 3 events for each recent file https://bugs.launchpad.net/bugs/618639 You received this bug

[Zeitgeist] [Bug 621734] Re: Sezen Gnome Panel applet fails to compile in Ubuntu 10.10 Maverick Meerkat

2010-08-22 Thread Michal Hruby
I think this is fixed now. ** Changed in: sezen Status: New = Fix Committed ** Changed in: sezen Assignee: (unassigned) = Michal Hruby (mhr3) -- Sezen Gnome Panel applet fails to compile in Ubuntu 10.10 Maverick Meerkat https://bugs.launchpad.net/bugs/621734 You received this bug

[Zeitgeist] [Bug 579211] Re: open items

2010-08-22 Thread Michal Hruby
** Changed in: sezen Status: Fix Committed = Fix Released -- open items https://bugs.launchpad.net/bugs/579211 You received this bug notification because you are a member of Zeitgeist Framework Team, which is the registrant for Sezen. Status in Sezen: Fix Released Bug description:

[Zeitgeist] [Bug 579210] Re: make categories with no results insensitive

2010-08-22 Thread Michal Hruby
** Changed in: sezen Status: Confirmed = Fix Released -- make categories with no results insensitive https://bugs.launchpad.net/bugs/579210 You received this bug notification because you are a member of Zeitgeist Framework Team, which is the registrant for Sezen. Status in Sezen: Fix

[Zeitgeist] [Bug 579199] Re: quit when press close button

2010-08-22 Thread Michal Hruby
** Changed in: sezen Status: Fix Committed = Fix Released -- quit when press close button https://bugs.launchpad.net/bugs/579199 You received this bug notification because you are a member of Zeitgeist Framework Team, which is the registrant for Sezen. Status in Sezen: Fix Released Bug

[Zeitgeist] [Bug 579200] Re: live update of items

2010-08-22 Thread Michal Hruby
** Changed in: sezen Status: Confirmed = Fix Released -- live update of items https://bugs.launchpad.net/bugs/579200 You received this bug notification because you are a member of Zeitgeist Framework Team, which is the registrant for Sezen. Status in Sezen: Fix Released Bug description:

[Zeitgeist] [Bug 579197] Re: add a search icon to the entry

2010-08-22 Thread Michal Hruby
** Changed in: sezen Status: Fix Committed = Fix Released -- add a search icon to the entry https://bugs.launchpad.net/bugs/579197 You received this bug notification because you are a member of Zeitgeist Framework Team, which is the registrant for Sezen. Status in Sezen: Fix Released

[Zeitgeist] [Bug 580238] Re: remove extraneous border

2010-08-22 Thread Michal Hruby
** Changed in: sezen Status: Fix Committed = Fix Released -- remove extraneous border https://bugs.launchpad.net/bugs/580238 You received this bug notification because you are a member of Zeitgeist Framework Team, which is the registrant for Sezen. Status in Sezen: Fix Released Bug

[Zeitgeist] [Bug 579216] Re: Change scope options.

2010-08-22 Thread Michal Hruby
** Changed in: sezen Status: Fix Committed = Fix Released -- Change scope options. https://bugs.launchpad.net/bugs/579216 You received this bug notification because you are a member of Zeitgeist Framework Team, which is the registrant for Sezen. Status in Sezen: Fix Released Bug

[Zeitgeist] [Bug 623646] Re: Add Leave Events for Firefox and Chrome

2010-08-24 Thread Michal Hruby
** Changed in: zeitgeist-dataproviders Importance: Undecided = Wishlist ** Changed in: zeitgeist-dataproviders Status: New = Triaged -- Add Leave Events for Firefox and Chrome https://bugs.launchpad.net/bugs/623646 You received this bug notification because you are a member of

[Zeitgeist] [Bug 624310] [NEW] Large requests increase memory usage considerably

2010-08-25 Thread Michal Hruby
Public bug reported: I'm seeing with standalone Sezen that after running it, mem usage of the zeitgeist-daemon process goes up from ~13MB to ~40MB, this is understandable as when Sezen is starting, it does one big query where it asks for everything grouped by most recent subjects and in my case

[Zeitgeist] [Bug 630593] Re: Replace old datahub with vala port

2010-09-07 Thread Michal Hruby
3.) with this change we should remove the '--no-datahub' switch of the daemon and replace it by '--use-datahub /path/to/datahub' I think this is not necessary, the vala port uses the same binary name and is installed in /usr/bin, so it'll work exactly the same, moreover I don't think anyone is

[Zeitgeist] [Bug 663475] [NEW] fts returning same subjects for Relevancy queries

2010-10-19 Thread Michal Hruby
Public bug reported: I'd be nice to add a new ResultType for FTS - SUBJECT_RELEVANCY. A little talk on IRC: mhr3 kamstrup, it's a bit weird that when using ResultType.RELEVANCY, the same subjects get returned multiple times kamstrup mhr3: that'll be hard to fix when you think about it it's

[Zeitgeist] [Bug 670358] Re: Add new aggregate API

2010-11-04 Thread Michal Hruby
Why exactly are the event_templates duplicated to the result? -- Add new aggregate API https://bugs.launchpad.net/bugs/670358 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

Re: [Zeitgeist] [Bug 671557] [NEW] vim plugin errors when opening quickfix window

2010-11-05 Thread Michal Hruby
EHoAn2ZgzQjU8rTIBekHrqEoXv5TD5JY =3i0T -END PGP SIGNATURE- ** Changed in: zeitgeist-dataproviders Importance: Undecided = Low ** Changed in: zeitgeist-dataproviders Status: New = Fix Committed ** Changed in: zeitgeist-dataproviders Assignee: (unassigned) = Michal Hruby (mhr3

[Zeitgeist] [Bug 602211] Re: Monitoring Create/Move/Copy Files events

2010-11-15 Thread Michal Hruby
I still didn't understand why would the current_uri be part of event, isn't it by definition a property of the subject? That way you don't need to update dozens of events, just one subject entry... -- Monitoring Create/Move/Copy Files events https://bugs.launchpad.net/bugs/602211 You received

[Zeitgeist] [Bug 681887] Re: Moving Zeitgeist dbus Bus name from gnome to Freedesktop

2010-11-26 Thread Michal Hruby
Basically I agree with Manish, moving everything just to show that we're not dependant on gnome doesn't sound like a good idea. I guess we could reside on both names for a period of time and then drop the org.gnome.* one, but to use a freedesktop domain we'd need to have some official approval

[Zeitgeist] [Bug 670358] Re: Add new aggregate API

2010-11-27 Thread Michal Hruby
@Markus: I basically like your proposal, but since I was told that event ids are not unique, isn't there a huge flaw in that API? -- Add new aggregate API https://bugs.launchpad.net/bugs/670358 You received this bug notification because you are a member of Zeitgeist Framework Team, which is

[Zeitgeist] [Bug 670358] Re: Add new aggregate API

2010-11-27 Thread Michal Hruby
@Markus: I basically like your proposal, but since I was told that event ids are not unique, isn't there a huge flaw in that API? Nevermind, I misread the example... -- Add new aggregate API https://bugs.launchpad.net/bugs/670358 You received this bug notification because you are a member of

[Zeitgeist] [Bug 695003] Re: Bzr datasource doesn't use different uri for different events on the same branch

2011-01-05 Thread Michal Hruby
This is *not* a file name. It is a URI. Let's keep the terminology correct here. It has path member being /home/mikkel/myproject/trunk and has a URI fragment of 27. Please see http://labs.apache.org/webarch/uri/rfc/rfc3986.html#components. I learn something new every day too, in this case I'm

[Zeitgeist] [Bug 601671] Re: firefox extension: still loging when in private mode

2011-01-27 Thread Michal Hruby
** Changed in: zeitgeist-dataproviders Status: Confirmed = Fix Committed ** Changed in: zeitgeist-dataproviders Assignee: (unassigned) = Stefano Candori (cando) -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to

[Zeitgeist] [Bug 630593] Re: Replace old datahub with vala port

2011-02-09 Thread Michal Hruby
** Changed in: zeitgeist-datahub Status: In Progress = Fix Released -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. https://bugs.launchpad.net/bugs/630593 Title: Replace old datahub with vala port

[Zeitgeist] [Bug 705944] Re: Synapse don't show any folders anymore

2011-02-11 Thread Michal Hruby
FTS should probably catch this and try to do something about it... ** Also affects: zeitgeist-extensions Importance: Undecided Status: New -- You received this bug notification because you are a member of Zeitgeist Extensions, which is the registrant for Zeitgeist Extensions.

[Zeitgeist] [Bug 705944] Re: FTS index corruption

2011-02-16 Thread Michal Hruby
** Summary changed: - Synapse don't show any folders anymore + FTS index corruption -- You received this bug notification because you are a member of Zeitgeist Extensions, which is the registrant for Zeitgeist Extensions. https://bugs.launchpad.net/bugs/705944 Title: FTS index corruption

[Zeitgeist] [Bug 721226] Re: tomboy notes appear in GAJ but not in synapse, even when searching for note's title

2011-02-18 Thread Michal Hruby
This is probably a bug in Synapse, but I'd need an example ZG event which the dataprovider logs... -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/721226 Title: tomboy

[Zeitgeist] [Bug 721226] Re: tomboy notes appear in GAJ but not in synapse, even when searching for note's title

2011-02-18 Thread Michal Hruby
** Changed in: synapse-project Status: New = Incomplete -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/721226 Title: tomboy notes appear in GAJ but not in

[Zeitgeist] [Bug 721226] Re: tomboy notes appear in GAJ but not in synapse, even when searching for note's title

2011-02-19 Thread Michal Hruby
Could you resolve also the subject uris? For example what is uri with id 4940? SELECT * from uri WHERE uri.id='4940'; -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/721226

[Zeitgeist] [Bug 721226] Re: Deleted notes from tomboy still appear in Synapse

2011-02-22 Thread Michal Hruby
** Changed in: synapse-project Importance: Undecided = Low -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/721226 Title: Deleted notes from tomboy still appear in

[Zeitgeist] [Bug 721226] Re: Deleted notes from tomboy still appear in Synapse

2011-02-23 Thread Michal Hruby
** Changed in: synapse-project Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/721226 Title: Deleted notes from tomboy still

[Zeitgeist] [Bug 772265] Re: The datahub starts zeitgeist-daemon on startup

2011-04-28 Thread Michal Hruby
@Mikkel: Could you check gio's AppLaunched signal? I mean all of this can be done in vain if any AppLaunched signal is fired during the session start. -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework.

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/bluebird_basedir into lp:~zeitgeist/zeitgeist/bluebird

2011-07-28 Thread Michal Hruby
Review: Needs Fixing We don't need gio (File.*), use DirUtils.* functions, join paths with Path.build_filename () -- https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird_basedir/+merge/69658 Your team Zeitgeist Framework Team is subscribed to branch lp:~zeitgeist/zeitgeist/bluebird.

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/bluebird_basedir into lp:~zeitgeist/zeitgeist/bluebird

2011-07-28 Thread Michal Hruby
Review: Approve -- https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird_basedir/+merge/69658 Your team Zeitgeist Framework Team is subscribed to branch lp:~zeitgeist/zeitgeist/bluebird. ___ Mailing list: https://launchpad.net/~zeitgeist Post to

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/symbols into lp:~zeitgeist/zeitgeist/bluebird

2011-07-31 Thread Michal Hruby
Review: Needs Fixing I find the Symbol class just an implementation detail, there's no need to expose it at all, as RainCT said you'll want to use static functions with signature like `string[] Symbol.get_children (string uri)`, or `string Symbol.get_description (string uri)` (of course we can

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/symbols into lp:~zeitgeist/zeitgeist/bluebird

2011-08-01 Thread Michal Hruby
Review: Needs Fixing Since you made get_parents return all parents, there's now no way to get the immediate parents and therefore reconstruct the original ontology graph easily. Fix pls... -- https://code.launchpad.net/~zeitgeist/zeitgeist/symbols/+merge/69927 Your team Zeitgeist Framework Team

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/symbols into lp:~zeitgeist/zeitgeist/bluebird

2011-08-01 Thread Michal Hruby
Review: Needs Fixing My point is that the Symbol class itself shouldn't even be public, it should be something private to this source file. Method that this file needs to expose are (all of them are static): Liststring Symbol.get_parents (string uri) Liststring Symbol.get_children (string uri)

[Zeitgeist] [Bug 826388] Re: Chrome extension reports no data to activity journal

2011-08-14 Thread Michal Hruby
This was fixed in latest revision. ** Changed in: zeitgeist-datasources Status: New = Fix Committed -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/826388 Title:

[Zeitgeist] [Bug 844877] [NEW] Query execution slow

2011-09-08 Thread Michal Hruby
Public bug reported: Synapse is using various not-so-complex find_events queries to display recent activities, and it seems that especially a query for All category is taking much longer than any other query (~750ms with a DB with 200k events). Here's the output from zg with the debug_sql

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/some-fixes into lp:~zeitgeist/zeitgeist/bluebird

2011-09-11 Thread Michal Hruby
Review: Needs Fixing [Merge line numbers as here on LP] [15,29]: I don't like those methods being public in datamodel, it's an implementation detail. [190,221,247,256]: Missing space before '(' [238]: It doesn't seem to be fixed. :P Not really sure what to do about the first one, I'd rather

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/some-fixes into lp:~zeitgeist/zeitgeist/bluebird

2011-09-11 Thread Michal Hruby
Oh and also [19]: it doesn't need any fix, it'll be working fine. -- https://code.launchpad.net/~zeitgeist/zeitgeist/some-fixes/+merge/74927 Your team Zeitgeist Framework Team is subscribed to branch lp:~zeitgeist/zeitgeist/bluebird. ___ Mailing list:

[Zeitgeist] [Bug 844877] Re: Query execution slow

2011-09-18 Thread Michal Hruby
Ok, I've got another VERY bad one... See attachement ** Attachment added: query.log https://bugs.launchpad.net/zeitgeist/+bug/844877/+attachment/2421293/+files/query.log -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to

[Zeitgeist] [Bug 844877] Re: Query execution slow

2011-09-18 Thread Michal Hruby
As a note the result is pretty much still the same after seif's fix to get rid of the AND subj_current_uri = ... part. -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. https://bugs.launchpad.net/bugs/844877

[Zeitgeist] [Bug 844877] Re: Query execution slow

2011-09-18 Thread Michal Hruby
And more research: mhr3 i just tried two queries in `sqlite3` SELECT subj_id FROM event_view WHERE subj_uri IN ('application://gedit.desktop', 'application://firefox.desktop', 'application://devhelp.desktop', 'application://google-chrome.desktop', 'application://dfeet.desktop',

[Zeitgeist] [Bug 844877] Re: Query execution slow

2011-09-18 Thread Michal Hruby
And concluding: SELECT subj_id, max(timestamp) AS timestamp FROM event_view WHERE (((subj_uri = 'application://gedit.desktop') OR (subj_uri = 'application://devhelp.desktop') OR (subj_uri = 'application://google-chrome.desktop') OR ... GROUP BY subj_id; executes in

[Zeitgeist] [Bug 716503] Re: FTS: can't get more than 132 results

2011-09-22 Thread Michal Hruby
@RainCT: Ehm, I dunno, seems like you opened this bug :) -- You received this bug notification because you are a member of Zeitgeist Extensions, which is the registrant for Zeitgeist Extensions. https://bugs.launchpad.net/bugs/716503 Title: FTS: can't get more than 132 results Status in

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/bb-extensions-conf into lp:~zeitgeist/zeitgeist/bluebird

2011-09-25 Thread Michal Hruby
Review: Approve 1) I'd get rid of the get_name method, we can just use get_type().name() 2) if the extension needed something special, store/retrieve could be virtual Other than that it looks fine, feel free to merge! --

[Zeitgeist] [Merge] lp:~mhr3/zeitgeist-extensions/scheme-detection into lp:zeitgeist-extensions

2011-09-29 Thread Michal Hruby
Michal Hruby has proposed merging lp:~mhr3/zeitgeist-extensions/scheme-detection into lp:zeitgeist-extensions. Requested reviews: Zeitgeist Extensions (zeitgeist-extensions) For more details, see: https://code.launchpad.net/~mhr3/zeitgeist-extensions/scheme-detection/+merge/77481 -- https

[Zeitgeist] [Bug 860362] Re: FTS doesn't index paths correctly

2011-09-29 Thread Michal Hruby
** Branch linked: lp:~mhr3/zeitgeist-extensions/scheme-detection -- You received this bug notification because you are a member of Zeitgeist Extensions, which is the registrant for Zeitgeist Extensions. https://bugs.launchpad.net/bugs/860362 Title: FTS doesn't index paths correctly Status in

[Zeitgeist] [Bug 862333] Re: Add version metadata to FTS index

2011-10-03 Thread Michal Hruby
** Changed in: zeitgeist-extensions Milestone: None = fts-0.0.13 ** Changed in: zeitgeist-extensions Status: In Progress = Fix Released -- You received this bug notification because you are a member of Zeitgeist Extensions, which is the registrant for Zeitgeist Extensions.

[Zeitgeist] [Bug 860362] Re: FTS doesn't index paths correctly

2011-10-03 Thread Michal Hruby
** Changed in: zeitgeist-extensions Milestone: None = fts-0.0.13 ** Changed in: zeitgeist-extensions Status: Triaged = Fix Released -- You received this bug notification because you are a member of Zeitgeist Extensions, which is the registrant for Zeitgeist Extensions.

[Zeitgeist] [Bug 841922] Re: zeitgeist-daemon crashed with DocNotFoundError in _check_index_and_start_worker(): Document 5 not found

2011-10-03 Thread Michal Hruby
** Also affects: zeitgeist-extensions Importance: Undecided Status: New ** Changed in: zeitgeist-extensions Milestone: None = fts-0.0.13 ** Changed in: zeitgeist-extensions Assignee: (unassigned) = Michal Hruby (mhr3) ** Changed in: zeitgeist-extensions Status: New

[Zeitgeist] [Bug 839740] Re: zeitgeist-daemon crashed with RuntimeError in _check_index(): basic_string::assign

2011-10-03 Thread Michal Hruby
** Changed in: zeitgeist-extensions Milestone: fts-0.0.12 = fts-0.0.13 ** Changed in: zeitgeist-extensions Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Zeitgeist Extensions, which is the registrant for Zeitgeist Extensions.

[Zeitgeist] [Bug 841922] Re: zeitgeist-daemon crashed with DocNotFoundError in _check_index_and_start_worker(): Document 5 not found

2011-10-03 Thread Michal Hruby
** Changed in: zeitgeist (Ubuntu Oneiric) Status: Confirmed = Fix Released ** Changed in: zeitgeist (Ubuntu Oneiric) Assignee: (unassigned) = Michal Hruby (mhr3) -- You received this bug notification because you are a member of Zeitgeist Extensions, which is the registrant

[Zeitgeist] [Bug 869879] [NEW] Desktop ID is not extracted correctly

2011-10-07 Thread Michal Hruby
Public bug reported: Desktop IDs are not simple basenames of the full desktop file path. According to freedesktop's menu spec, subdirectories of AppDir (usually XDG_DATA_DIR / applications) are also part of the ID, ie /usr/share/applications/kde4/kate.desktop has desktop ID kde4-kate.desktop, not

[Zeitgeist] [Bug 841878] Re: zeitgeist-daemon crashed with DatabaseCorruptError in _check_index_and_start_worker(): Data ran out unexpectedly when reading posting list.

2011-10-11 Thread Michal Hruby
** Changed in: zeitgeist-extensions Status: New = Incomplete -- You received this bug notification because you are a member of Zeitgeist Extensions, which is the registrant for Zeitgeist Extensions. https://bugs.launchpad.net/bugs/841878 Title: zeitgeist-daemon crashed with

[Zeitgeist] [Merge] lp:~mhr3/zeitgeist/bb-schema-ver-table into lp:~zeitgeist/zeitgeist/bluebird

2011-10-20 Thread Michal Hruby
Michal Hruby has proposed merging lp:~mhr3/zeitgeist/bb-schema-ver-table into lp:~zeitgeist/zeitgeist/bluebird. Requested reviews: Zeitgeist Framework Team (zeitgeist) For more details, see: https://code.launchpad.net/~mhr3/zeitgeist/bb-schema-ver-table/+merge/79928 -- https

Re: [Zeitgeist] [Merge] lp:~cando/zeitgeist/timezone_hell into lp:zeitgeist

2011-12-08 Thread Michal Hruby
Review: Approve Looking good! -- https://code.launchpad.net/~cando/zeitgeist/timezone_hell/+merge/84746 Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist. ___ Mailing list: https://launchpad.net/~zeitgeist Post to :

[Zeitgeist] [Merge] lp:~mhr3/zeitgeist/string-chunks into lp:zeitgeist

2011-12-11 Thread Michal Hruby
Michal Hruby has proposed merging lp:~mhr3/zeitgeist/string-chunks into lp:zeitgeist. Requested reviews: Siegfried Gevatter (rainct) For more details, see: https://code.launchpad.net/~mhr3/zeitgeist/string-chunks/+merge/85259 As discussed on IRC... -- https://code.launchpad.net/~mhr3

[Zeitgeist] [Bug 903667] Re: Datasource registry crashes Zeitgeist if template is invalid

2011-12-13 Thread Michal Hruby
** Summary changed: - Datasource resigstry crashes Zeitgeist if template is invalid + Datasource registry crashes Zeitgeist if template is invalid -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework.

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/benchmark-tools into lp:zeitgeist

2011-12-26 Thread Michal Hruby
Review: Needs Fixing Please remove the json and svg files from version control. The extension is also missing unload() implementation. -- https://code.launchpad.net/~zeitgeist/zeitgeist/benchmark-tools/+merge/86867 Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/mimetypes into lp:zeitgeist

2011-12-28 Thread Michal Hruby
Review: Needs Fixing A couple of optimizations, pls: - turn the private structs into compact classes (this will require explicit ownership transfer when adding them to the lists) - the *_for_* methods should return `unowned string?` - it'd be nice to sort the register_mimetype calls

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/benchmark-tools into lp:zeitgeist

2011-12-28 Thread Michal Hruby
Review: Needs Information The only remaining thing I see is how do we want to deal with the extension, obviously it's only meant for development and it probably shouldn't be compiled into Zeitgeist by default (although imo it can as long as it's disabled by default) --

[Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/mimetypes into lp:zeitgeist

2011-12-29 Thread Michal Hruby
The proposal to merge lp:~zeitgeist/zeitgeist/mimetypes into lp:zeitgeist has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~zeitgeist/zeitgeist/mimetypes/+merge/87033 --

[Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/auto-mimetype into lp:zeitgeist

2011-12-29 Thread Michal Hruby
The proposal to merge lp:~zeitgeist/zeitgeist/auto-mimetype into lp:zeitgeist has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~zeitgeist/zeitgeist/auto-mimetype/+merge/87080 --

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/mimetypes into lp:zeitgeist

2011-12-29 Thread Michal Hruby
Review: Approve Perfection. -- https://code.launchpad.net/~zeitgeist/zeitgeist/mimetypes/+merge/87033 Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist. ___ Mailing list: https://launchpad.net/~zeitgeist Post to :

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/benchmark-tools into lp:zeitgeist

2011-12-29 Thread Michal Hruby
Review: Approve As discussed on IRC we'll ship the extension by default but it'll be disabled, the only problem is that disabling extensions is not yet supported, so we'll fix that soon. -- https://code.launchpad.net/~zeitgeist/zeitgeist/benchmark-tools/+merge/86867 Your team Zeitgeist

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/auto-mimetype into lp:zeitgeist

2011-12-29 Thread Michal Hruby
Review: Approve Looks good. -- https://code.launchpad.net/~zeitgeist/zeitgeist/auto-mimetype/+merge/87080 Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist. ___ Mailing list: https://launchpad.net/~zeitgeist Post to :

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/bluebird-sig-crash into lp:zeitgeist

2011-12-30 Thread Michal Hruby
Review: Needs Fixing Let's change the warn_if_fail to the assert_sig and merge this -- https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird-sig-crash/+merge/74091 Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist. ___ Mailing

[Zeitgeist] [Bug 909708] Re: Inserting event with two subjects with the same URI breaks the following event

2011-12-30 Thread Michal Hruby
Ok, let's go with option #3. -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. https://bugs.launchpad.net/bugs/909708 Title: Inserting event with two subjects with the same URI breaks the following event

[Zeitgeist] [Bug 889139] Re: zeitgeist-daemon degrades mdraid recovery

2011-12-30 Thread Michal Hruby
Is there any chance you could attach a log from dbus-monitor? (just leave it running for ~5 seconds when the CPU usage is high) ** Changed in: zeitgeist Status: New = Incomplete -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is

[Zeitgeist] [Bug 910199] [NEW] InstallMonitor called twice when using python bindings

2011-12-30 Thread Michal Hruby
Public bug reported: If a python app is using a monitor, it'll call InstallMonitor method twice (and the second call is usually quietly ignored). Still this shouldn't happen. ** Affects: zeitgeist Importance: Undecided Status: New -- You received this bug notification because you

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/bluebird-no-distinct into lp:zeitgeist

2011-12-30 Thread Michal Hruby
33 +event_ids += event_id; We could be more clever here, this will cause 3-6 reallocations in common cases, perhaps the array should be preallocated to `int.min(max_events, 128)`? (for non-zero max_events). --

[Zeitgeist] [Bug 844877] Re: Query execution slow

2011-12-31 Thread Michal Hruby
The original issue is still not fixed though (comments 3-8 should have been in a separate bug). -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. https://bugs.launchpad.net/bugs/844877 Title: Query execution

[Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/bluebird-no-distinct into lp:zeitgeist

2011-12-31 Thread Michal Hruby
The proposal to merge lp:~zeitgeist/zeitgeist/bluebird-no-distinct into lp:zeitgeist has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird-no-distinct/+merge/87175 --

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/dbfails into lp:zeitgeist

2012-01-11 Thread Michal Hruby
Review: Needs Fixing Yes, please :) -- https://code.launchpad.net/~zeitgeist/zeitgeist/dbfails/+merge/87195 Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist. ___ Mailing list: https://launchpad.net/~zeitgeist Post to :

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/fix-fts-block into lp:zeitgeist

2012-01-16 Thread Michal Hruby
We probably still need to check the schema version (and figure out what to do if it's wrong, like do we want it to sleep for a while in case Zeitgeist is performing an upgrade?). If opening the DB fails, just quit, extensions are run after the DB is set up, so it should be safe. --

Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/fix-fts-block into lp:zeitgeist

2012-01-16 Thread Michal Hruby
Seems like I found a new bug... Zeitgeist does not start again after killing it and then trying to do something with synapse. I have to start it by hand Although not nice, it doesn't affect this merge... -- https://code.launchpad.net/~zeitgeist/zeitgeist/fix-fts-block/+merge/88660 Your team

[Zeitgeist] [Bug 903975] Re: gedit crashed with SIGSEGV in zeitgeist_log_insert_events_from_ptrarray()

2012-01-19 Thread Michal Hruby
** Also affects: zeitgeist-datasources Importance: Undecided Status: New -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/903975 Title: gedit crashed with

[Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/bb-memory into lp:zeitgeist

2012-01-20 Thread Michal Hruby
The proposal to merge lp:~zeitgeist/zeitgeist/bb-memory into lp:zeitgeist has been updated. Status: Needs review = Rejected For more details, see: https://code.launchpad.net/~zeitgeist/zeitgeist/bb-memory/+merge/79755 --

  1   2   3   >