Re: [Gnome-zeitgeist] [Bug 694849] Re: Gnome Activity Journal doesn't show any activities even if all dipendencies installed
Well, now the warning are normal because i get these too. Btw at the moment i've no clue on why it's freezing...tell me as soon as you've tested the trunk version. 2010/12/28 joshg 694...@bugs.launchpad.net I installed appmenu-gtk (wich I had recently uninstalled due to its presumed futility) and now the error has become this: ** Message: pygobject_register_sinkfunc is deprecated (GstObject) /usr/share/gnome-activity-journal/src/common.py:747: DeprecationWarning: object.__new__() takes no parameters GIO_FILES[subj] = object.__new__(classtype, *args, **kwargs) /usr/share/gnome-activity-journal/src/activity_widgets.py:303: GtkWarning: gtk_box_pack: assertion `child-parent == NULL' failed self.pack_end(hbox) But GAJ freezes. I'll install the trunk version -- You received this bug notification because you are subscribed to The Zeitgeist Project. https://bugs.launchpad.net/bugs/694849 Title: Gnome Activity Journal doesn't show any activities even if all dipendencies installed Status in GNOME Activity Journal: Confirmed Bug description: When starting Activity Journal (ppa) from terminal: ** Message: pygobject_register_sinkfunc is deprecated (GstObject) `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load /usr/share/gnome-activity-journal/src/supporting_widgets.py:728: GtkWarning: Failed to load type module: (null) super(ContextMenu, self).__init__() `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load /usr/share/gnome-activity-journal/src/supporting_widgets.py:348: GtkWarning: Failed to load type module: (null) self.combobox = gtk.combo_box_new_text() Ubuntu Maverick 10.10 32bit gnome-activity-journal 0.5.0.1-0ubuntu1 zeitgeist-core 0.6-0ubuntu1~0ppa1~maverick -- You received this bug notification because you are a member of GNOME Zeitgeist Team, which is the registrant for GNOME Activity Journal. https://bugs.launchpad.net/bugs/694849 Title: Gnome Activity Journal doesn't show any activities even if all dipendencies installed Status in GNOME Activity Journal: Confirmed Bug description: When starting Activity Journal (ppa) from terminal: ** Message: pygobject_register_sinkfunc is deprecated (GstObject) `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load /usr/share/gnome-activity-journal/src/supporting_widgets.py:728: GtkWarning: Failed to load type module: (null) super(ContextMenu, self).__init__() `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load /usr/share/gnome-activity-journal/src/supporting_widgets.py:348: GtkWarning: Failed to load type module: (null) self.combobox = gtk.combo_box_new_text() Ubuntu Maverick 10.10 32bit gnome-activity-journal 0.5.0.1-0ubuntu1 zeitgeist-core 0.6-0ubuntu1~0ppa1~maverick ___ Mailing list: https://launchpad.net/~gnome-zeitgeist Post to : gnome-zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~gnome-zeitgeist More help : https://help.launchpad.net/ListHelp
[Gnome-zeitgeist] [Bug 694849] Re: Gnome Activity Journal doesn't show any activities even if all dipendencies installed
starting zeitgeist-daemon: [2010-12-28 19:16:52,562] - DEBUG - root - Checking for another running instance... [2010-12-28 19:16:52,573] - DEBUG - root - No running instances found. [2010-12-28 19:16:52,612] - INFO - zeitgeist.sql - Using database: /home/joshg/.local/share/zeitgeist/activity.sqlite [2010-12-28 19:16:52,616] - DEBUG - zeitgeist.sql - Core schema is good. DB loaded in 3.95607948303ms [2010-12-28 19:16:52,617] - DEBUG - zeitgeist.extension - Searching for system extensions in: /home/joshg/zeitgeist/zeitgeist/_zeitgeist/engine/extensions [2010-12-28 19:16:52,618] - DEBUG - zeitgeist.extension - Searching for user extensions in: /home/joshg/.local/share/zeitgeist/extensions [2010-12-28 19:16:52,631] - DEBUG - zeitgeist.extension - No extra extensions [2010-12-28 19:16:52,631] - DEBUG - zeitgeist.extension - Found extensions: [class '_zeitgeist.engine.extensions.blacklist.Blacklist', class '_zeitgeist.engine.extensions.datasource_registry.DataSourceRegistry'] [2010-12-28 19:16:52,632] - DEBUG - zeitgeist.extension - Loading extension 'Blacklist' [2010-12-28 19:16:52,632] - DEBUG - zeitgeist.blacklist - No existing blacklist config found [2010-12-28 19:16:52,633] - DEBUG - zeitgeist.extension - Loading extension 'DataSourceRegistry' [2010-12-28 19:16:52,634] - DEBUG - zeitgeist.datasource_registry - Loaded data-source data from /home/joshg/.local/share/zeitgeist/datasources.pickle [2010-12-28 19:16:52,638] - INFO - root - Trying to start the datahub [2010-12-28 19:16:52,667] - DEBUG - root - Running datahub (/usr/bin/zeitgeist-datahub) with PID=7402 [2010-12-28 19:16:52,667] - INFO - root - Starting Zeitgeist service... [2010-12-28 19:16:53,242] - DEBUG - zeitgeist.engine - Inserted 4 events in 0.007849s [2010-12-28 19:17:29,705] - DEBUG - zeitgeist.engine - Found 0 events IDs in 0.000871s starting GAJ: ** Message: pygobject_register_sinkfunc is deprecated (GstObject) Traceback (most recent call last): File /usr/bin/gnome-activity-journal, line 94, in module from src.main import PortalWindow File /usr/share/gnome-activity-journal/src/main.py, line 30, in module from activity_widgets import MultiViewContainer, TimelineViewContainer, ThumbViewContainer File /usr/share/gnome-activity-journal/src/activity_widgets.py, line 35, in module from store import ContentStruct, CLIENT File /usr/share/gnome-activity-journal/src/store.py, line 504, in module STORE = Store() File /usr/share/gnome-activity-journal/src/store.py, line 367, in __init__ days_population = ZeitgeistDBusInterface().get_extension(Log, journal/activity).GetHistogramData() File /usr/lib/pymodules/python2.6/zeitgeist/client.py, line 82, in __getattr__ raise TypeError(Unknown method name: %s % name) TypeError: Unknown method name: GetHistogramData -- You received this bug notification because you are a member of GNOME Zeitgeist Team, which is the registrant for GNOME Activity Journal. https://bugs.launchpad.net/bugs/694849 Title: Gnome Activity Journal doesn't show any activities even if all dipendencies installed Status in GNOME Activity Journal: Confirmed Bug description: When starting Activity Journal (ppa) from terminal: ** Message: pygobject_register_sinkfunc is deprecated (GstObject) `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load /usr/share/gnome-activity-journal/src/supporting_widgets.py:728: GtkWarning: Failed to load type module: (null) super(ContextMenu, self).__init__() `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load /usr/share/gnome-activity-journal/src/supporting_widgets.py:348: GtkWarning: Failed to load type module: (null) self.combobox = gtk.combo_box_new_text() Ubuntu Maverick 10.10 32bit gnome-activity-journal 0.5.0.1-0ubuntu1 zeitgeist-core 0.6-0ubuntu1~0ppa1~maverick ___ Mailing list: https://launchpad.net/~gnome-zeitgeist Post to : gnome-zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~gnome-zeitgeist More help : https://help.launchpad.net/ListHelp
Re: [Gnome-zeitgeist] [Bug 694849] Re: Gnome Activity Journal doesn't show any activities even if all dipendencies installed
have you copied the file extension/gnome-activity-journal.py from the trunk directory of GAJ in /home/joshg/.local/share/zeitgeist/extensions?? (apparently no: [2010-12-28 19:16:52,618] - DEBUG - zeitgeist.extension - Searching for user extensions in: /home/joshg/.local/share/zeitgeist/extensions [2010-12-28 19:16:52,631] - DEBUG - zeitgeist.extension - No extra extensions ) And looking to your debug of GAJ it seems you're launching the system installed one and not the trunk version... 2010/12/28 joshg 694...@bugs.launchpad.net starting zeitgeist-daemon: [2010-12-28 19:16:52,562] - DEBUG - root - Checking for another running instance... [2010-12-28 19:16:52,573] - DEBUG - root - No running instances found. [2010-12-28 19:16:52,612] - INFO - zeitgeist.sql - Using database: /home/joshg/.local/share/zeitgeist/activity.sqlite [2010-12-28 19:16:52,616] - DEBUG - zeitgeist.sql - Core schema is good. DB loaded in 3.95607948303ms [2010-12-28 19:16:52,617] - DEBUG - zeitgeist.extension - Searching for system extensions in: /home/joshg/zeitgeist/zeitgeist/_zeitgeist/engine/extensions [2010-12-28 19:16:52,618] - DEBUG - zeitgeist.extension - Searching for user extensions in: /home/joshg/.local/share/zeitgeist/extensions [2010-12-28 19:16:52,631] - DEBUG - zeitgeist.extension - No extra extensions [2010-12-28 19:16:52,631] - DEBUG - zeitgeist.extension - Found extensions: [class '_zeitgeist.engine.extensions.blacklist.Blacklist', class '_zeitgeist.engine.extensions.datasource_registry.DataSourceRegistry'] [2010-12-28 19:16:52,632] - DEBUG - zeitgeist.extension - Loading extension 'Blacklist' [2010-12-28 19:16:52,632] - DEBUG - zeitgeist.blacklist - No existing blacklist config found [2010-12-28 19:16:52,633] - DEBUG - zeitgeist.extension - Loading extension 'DataSourceRegistry' [2010-12-28 19:16:52,634] - DEBUG - zeitgeist.datasource_registry - Loaded data-source data from /home/joshg/.local/share/zeitgeist/datasources.pickle [2010-12-28 19:16:52,638] - INFO - root - Trying to start the datahub [2010-12-28 19:16:52,667] - DEBUG - root - Running datahub (/usr/bin/zeitgeist-datahub) with PID=7402 [2010-12-28 19:16:52,667] - INFO - root - Starting Zeitgeist service... [2010-12-28 19:16:53,242] - DEBUG - zeitgeist.engine - Inserted 4 events in 0.007849s [2010-12-28 19:17:29,705] - DEBUG - zeitgeist.engine - Found 0 events IDs in 0.000871s starting GAJ: ** Message: pygobject_register_sinkfunc is deprecated (GstObject) Traceback (most recent call last): File /usr/bin/gnome-activity-journal, line 94, in module from src.main import PortalWindow File /usr/share/gnome-activity-journal/src/main.py, line 30, in module from activity_widgets import MultiViewContainer, TimelineViewContainer, ThumbViewContainer File /usr/share/gnome-activity-journal/src/activity_widgets.py, line 35, in module from store import ContentStruct, CLIENT File /usr/share/gnome-activity-journal/src/store.py, line 504, in module STORE = Store() File /usr/share/gnome-activity-journal/src/store.py, line 367, in __init__ days_population = ZeitgeistDBusInterface().get_extension(Log, journal/activity).GetHistogramData() File /usr/lib/pymodules/python2.6/zeitgeist/client.py, line 82, in __getattr__ raise TypeError(Unknown method name: %s % name) TypeError: Unknown method name: GetHistogramData -- You received this bug notification because you are subscribed to The Zeitgeist Project. https://bugs.launchpad.net/bugs/694849 Title: Gnome Activity Journal doesn't show any activities even if all dipendencies installed Status in GNOME Activity Journal: Confirmed Bug description: When starting Activity Journal (ppa) from terminal: ** Message: pygobject_register_sinkfunc is deprecated (GstObject) `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load /usr/share/gnome-activity-journal/src/supporting_widgets.py:728: GtkWarning: Failed to load type module: (null) super(ContextMenu, self).__init__() `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load /usr/share/gnome-activity-journal/src/supporting_widgets.py:348: GtkWarning: Failed to load type module: (null) self.combobox = gtk.combo_box_new_text() Ubuntu Maverick 10.10 32bit gnome-activity-journal 0.5.0.1-0ubuntu1 zeitgeist-core 0.6-0ubuntu1~0ppa1~maverick -- You received this bug notification because you are a member of GNOME Zeitgeist Team, which is the registrant for GNOME Activity Journal. https://bugs.launchpad.net/bugs/694849 Title: Gnome Activity Journal doesn't show any activities even if all dipendencies installed Status in GNOME Activity Journal: Confirmed Bug description: When starting Activity Journal (ppa) from terminal: ** Message: pygobject_register_sinkfunc is deprecated (GstObject) `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load
[Zeitgeist] [Bug 632363] Re: Slow queries: SQL indexes not used
Is this still a problem or have all instances been fixed by now? -- 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/632363 Title: Slow queries: SQL indexes not used Status in Zeitgeist Framework: Confirmed Bug description: THE PROBLEM: I am seeing query times around 200ms (and 150ms with my latest performance tweak in trunk), which surprised me as quite slow since my queries where quite simple. I had expected times around 1-2ms. Reading up on the sqlite documentation I see that the queries we generate are pretty far from optimized in an sqlite world [1]. The case is that when ever you use an OR sqlite will no longer use an index. Thus this query is NOT using the indexes: SELECT * FROM event WHERE interpretation=1 OR interpretation=2 But if we rewrite it using IN instead the indexes will be used: SELECT * FROM event WHERE interpretation IN (1, 2) This also explains the case where Michal where seeing tremendously slow query times when searching for a big range of mimetypes. Looking in _zeitgeist.engine.sql.WhereClause.add_text_condition() I am also pretty sure we are not using the indexes for prefix queries (eg file://home/*). THE SOLUTION I *definitely* don't think we should panic and feverishly start rewriting our query compilation. Here's what I propose: 1) Implement an envvar ZEITGEIST_DEBUG_QUERY_PLANS which will spit out all our SQL calls and the query plans for each of our calls. The query plan will tell us how the db is queried and which indexes are used if any. The query plan is obtained by prefixing the SQL statement with EXPLAIN QUERY PLAN. 2) Collect some useful intelligence with this new tool, and generally learn more about how we can optimize sqlite queries. A big question here is how the event_view VIEW impacts the query plan. 3) Write a new template - SQL compilation engine that generates SQL optimized for sqlite. We can actually be quite clever about grouping our OR statements into IN clauses - but it will be tricky to get right. NOTE: That this doesn't imply any change in the public API or event template system. That would be the wrong solution imho. Our current API is nice and simple by my standards. Let's keep it that way. [1]: See fx the section Using Indexes To Speed Searching in http://www.sqlite.org/vdbe.html ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 695003] Re: Bzr datasource doesn't use different uri for different events on the same branch
** Summary changed: - Bzr data-source doens't use different uri for different events on same branch + Bzr datasource doesn't use different uri for different events on the same branch -- 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/695003 Title: Bzr datasource doesn't use different uri for different events on the same branch Status in Zeitgeist Data-Sources: New Bug description: Step to reproduce: -commit or pull in a bzr branch the event show up in GAJ -commit or pull another time--- the event doens't show up because GAJ discard it (these two events have the same uri: the branch's path one) RainCT opinion: IMHO the Bazaar plugin should be fixed to give each revision a different URI, possibly including the revision ID. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Gnome-zeitgeist] [Bug 694849] Re: Gnome Activity Journal doesn't show any activities even if all dipendencies installed
Thi is zeitgeist-daemon --replace (I also opened an image while it was running): DEBUG:root:Checking for another running instance... DEBUG:root:Replacing currently running process. INFO:zeitgeist.sql:Using database: /home/joshg/.local/share/zeitgeist/activity.sqlite DEBUG:zeitgeist.sql:Core schema is good. DB loaded in 7.40504264832ms DEBUG:zeitgeist.extension:Searching for system extensions in: /usr/share/zeitgeist/_zeitgeist/engine/extensions DEBUG:zeitgeist.extension:Searching for user extensions in: /home/joshg/.local/share/zeitgeist/extensions DEBUG:zeitgeist.extension:No extra extensions DEBUG:zeitgeist.extension:Found extensions: [class '_zeitgeist.engine.extensions.blacklist.Blacklist', class '_zeitgeist.engine.extensions.datasource_registry.DataSourceRegistry', class '_zeitgeist.engine.extensions.gnome_activity_journal.ActivityJournalExtension', class '_zeitgeist.engine.extensions.fts.SearchEngineExtension'] DEBUG:zeitgeist.extension:Loading extension 'Blacklist' DEBUG:zeitgeist.blacklist:No existing blacklist config found DEBUG:zeitgeist.extension:Loading extension 'DataSourceRegistry' DEBUG:zeitgeist.datasource_registry:Loaded data-source data from /home/joshg/.local/share/zeitgeist/datasources.pickle DEBUG:zeitgeist.extension:Loading extension 'ActivityJournalExtension' DEBUG:zeitgeist.extension:Loading extension 'SearchEngineExtension' DEBUG:zeitgeist.fts:Opening full text index: /home/joshg/.local/share/zeitgeist/fts.index INFO:root:Trying to start the datahub DEBUG:root:Running datahub (/usr/bin/zeitgeist-datahub) with PID=2496 INFO:root:Starting Zeitgeist service... gnome-activity-journal DEBUG:zeitgeist.engine:Found 0 events IDs in 0.000791s DEBUG:zeitgeist.engine:Found 0 events IDs in 0.000347s DEBUG:zeitgeist.engine:Found 0 events IDs in 0.000345s DEBUG:zeitgeist.engine:Found 0 events IDs in 0.000343s DEBUG:zeitgeist.engine:Found 0 events IDs in 0.000367s DEBUG:zeitgeist.engine:Found 35 events IDs in 0.001454s DEBUG:zeitgeist.engine:Got 35 events in 0.011836s DEBUG:zeitgeist.fts:Indexing 'file:///home/joshg/La%20Tempesta-Giorgione.jpg' DEBUG:zeitgeist.fts:Indexing 'file:///home/joshg/La%20Tempesta-Giorgione.jpg' DEBUG:zeitgeist.fts:Indexing 'file:///home/joshg/La%20Tempesta-Giorgione.jpg' DEBUG:zeitgeist.engine:Inserted 3 events in 0.585808s DEBUG:zeitgeist.notify:Checking monitor :1.127/org/gnome/zeitgeist/monitor/4 DEBUG:zeitgeist.notify:Checking monitor :1.127/org/gnome/zeitgeist/monitor/5 DEBUG:zeitgeist.notify:Checking monitor :1.127/org/gnome/zeitgeist/monitor/6 DEBUG:zeitgeist.notify:Notifying :1.127/org/gnome/zeitgeist/monitor/6 about 3 insertions DEBUG:zeitgeist.notify:Checking monitor :1.127/org/gnome/zeitgeist/monitor/1 DEBUG:zeitgeist.notify:Checking monitor :1.127/org/gnome/zeitgeist/monitor/2 DEBUG:zeitgeist.notify:Checking monitor :1.127/org/gnome/zeitgeist/monitor/3 DEBUG:zeitgeist.fts:Committing FTS index DEBUG:zeitgeist.fts:Indexing 'file:///home/joshg/La%20Tempesta-Giorgione.jpg' DEBUG:zeitgeist.engine:Inserted 1 events in 0.292321s DEBUG:zeitgeist.notify:Checking monitor :1.127/org/gnome/zeitgeist/monitor/4 DEBUG:zeitgeist.notify:Checking monitor :1.127/org/gnome/zeitgeist/monitor/5 DEBUG:zeitgeist.notify:Checking monitor :1.127/org/gnome/zeitgeist/monitor/6 DEBUG:zeitgeist.notify:Notifying :1.127/org/gnome/zeitgeist/monitor/6 about 1 insertions DEBUG:zeitgeist.notify:Checking monitor :1.127/org/gnome/zeitgeist/monitor/1 DEBUG:zeitgeist.notify:Checking monitor :1.127/org/gnome/zeitgeist/monitor/2 DEBUG:zeitgeist.notify:Checking monitor :1.127/org/gnome/zeitgeist/monitor/3 DEBUG:zeitgeist.fts:Committing FTS index This is Activity Journal: ** Message: pygobject_register_sinkfunc is deprecated (GstObject) `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load /usr/share/gnome-activity-journal/src/supporting_widgets.py:728: GtkWarning: Failed to load type module: (null) super(ContextMenu, self).__init__() `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load /usr/share/gnome-activity-journal/src/supporting_widgets.py:348: GtkWarning: Failed to load type module: (null) self.combobox = gtk.combo_box_new_text() /usr/share/gnome-activity-journal/src/common.py:747: DeprecationWarning: object.__new__() takes no parameters GIO_FILES[subj] = object.__new__(classtype, *args, **kwargs) But from when I activated recent documents in gnome-menu (as it was suggested in your previous link) it's running but it doesn't work for me (and doesn't show anything). ** Attachment added: After opening it.png https://bugs.launchpad.net/gnome-activity-journal/+bug/694849/+attachment/1778085/+files/After%20opening%20it.png -- You received this bug notification because you are a member of GNOME Zeitgeist Team, which is the registrant for GNOME Activity Journal. https://bugs.launchpad.net/bugs/694849 Title: Gnome Activity Journal doesn't show any activities even if all dipendencies installed Status in GNOME Activity
[Zeitgeist] [Bug 695003] Re: Bzr datasource doesn't use different uri for different events on the same branch
+1 for me. I've suggested the same thing in a previous bug. If nobody else has a better idea i could assign this bug to me. -- 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/695003 Title: Bzr datasource doesn't use different uri for different events on the same branch Status in Zeitgeist Data-Sources: New Bug description: Step to reproduce: -commit or pull in a bzr branch the event show up in GAJ -commit or pull another time--- the event doens't show up because GAJ discard it (these two events have the same uri: the branch's path one) RainCT opinion: IMHO the Bazaar plugin should be fixed to give each revision a different URI, possibly including the revision ID. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Gnome-zeitgeist] [Bug 694849] Re: Gnome Activity Journal doesn't show any activities even if all dipendencies installed
It seems to work properly...Other try: download and try the trunk version from here:https://launchpad.net/gnome-activity-journal Follow the instructions and tell me if it works. Meanwhile i'll think to what is causing this bug...:) -- You received this bug notification because you are a member of GNOME Zeitgeist Team, which is the registrant for GNOME Activity Journal. https://bugs.launchpad.net/bugs/694849 Title: Gnome Activity Journal doesn't show any activities even if all dipendencies installed Status in GNOME Activity Journal: Confirmed Bug description: When starting Activity Journal (ppa) from terminal: ** Message: pygobject_register_sinkfunc is deprecated (GstObject) `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load /usr/share/gnome-activity-journal/src/supporting_widgets.py:728: GtkWarning: Failed to load type module: (null) super(ContextMenu, self).__init__() `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load /usr/share/gnome-activity-journal/src/supporting_widgets.py:348: GtkWarning: Failed to load type module: (null) self.combobox = gtk.combo_box_new_text() Ubuntu Maverick 10.10 32bit gnome-activity-journal 0.5.0.1-0ubuntu1 zeitgeist-core 0.6-0ubuntu1~0ppa1~maverick ___ Mailing list: https://launchpad.net/~gnome-zeitgeist Post to : gnome-zeitge...@lists.launchpad.net Unsubscribe : https://launchpad.net/~gnome-zeitgeist More help : https://help.launchpad.net/ListHelp
[Gnome-zeitgeist] [Bug 694849] Re: Gnome Activity Journal doesn't show any activities even if all dipendencies installed
before doing what i've just said try this: sudo apt-get install appmenu- gtk -- You received this bug notification because you are a member of GNOME Zeitgeist Team, which is the registrant for GNOME Activity Journal. https://bugs.launchpad.net/bugs/694849 Title: Gnome Activity Journal doesn't show any activities even if all dipendencies installed Status in GNOME Activity Journal: Confirmed Bug description: When starting Activity Journal (ppa) from terminal: ** Message: pygobject_register_sinkfunc is deprecated (GstObject) `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load /usr/share/gnome-activity-journal/src/supporting_widgets.py:728: GtkWarning: Failed to load type module: (null) super(ContextMenu, self).__init__() `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load /usr/share/gnome-activity-journal/src/supporting_widgets.py:348: GtkWarning: Failed to load type module: (null) self.combobox = gtk.combo_box_new_text() Ubuntu Maverick 10.10 32bit gnome-activity-journal 0.5.0.1-0ubuntu1 zeitgeist-core 0.6-0ubuntu1~0ppa1~maverick ___ Mailing list: https://launchpad.net/~gnome-zeitgeist Post to : gnome-zeitge...@lists.launchpad.net Unsubscribe : https://launchpad.net/~gnome-zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 691167] Re: The payload is sometimes mentioned as string and sometimes as array of bytes
What's the difference between this bug and bug #692645? -- 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/691167 Title: The payload is sometimes mentioned as string and sometimes as array of bytes Status in Zeitgeist Framework: In Progress Bug description: In the event serialization format, the third array is array of bytes or ay as dbus signature. When an event enters an extension, it looks like Event([dbus.Array([u'', u'1292500628312', u'', u'', u'application://foo.desktop'], signature=dbus.Signature('s')), [Subject([u'', u'', u'', u'', u'', u'', u''])], dbus.Array([], signature=dbus.Signature('y'))]) which implies that payload is array of bytes Now look at _zeitgeist/engine/datamodel.py at line 58 where you get the line popo.append(str(ev[2])) Really so when you do str() on dbus.Array([], signature=dbus.Signature('y')) you get dbus.Array([], signature=dbus.Signature('y')) instead of the contents of bytes converted to string Now when you call Event.get_plain on Event([dbus.Array([u'', u'1292500628312', u'', u'', u'application://foo.desktop'], signature=dbus.Signature('s')), [Subject([u'', u'', u'', u'', u'', u'', u''])], dbus.Array([], signature=dbus.Signature('y'))]) you get [[u'', u'1292500628312', u'', u'', u'application://foo.desktop'], [[u'', u'', u'', u'', u'', u'', u'']], dbus.Array([], signature=dbus.Signature('y'))] Not what you expect ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] joshg joined gnome-zeitgeist-users
Hello Zeitgeist Framework Team, joshg (joshg) has been added as a member of Friends of GNOME Zeitgeist (gnome-zeitgeist-users) by joshg (joshg). Follow the link below for more details. https://launchpad.net/~gnome-zeitgeist-users/+member/joshg -- You received this email because you are an admin of the Friends of GNOME Zeitgeist team via the Zeitgeist Framework Team team. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 695087] [NEW] Invalid cache access
Public bug reported: ala...@alagos-desktop:~$ gnome-activity-journal ** Message: pygobject_register_sinkfunc is deprecated (GstObject) /usr/share/gnome-activity-journal/src/common.py:747: DeprecationWarning: object.__new__() takes no parameters GIO_FILES[subj] = object.__new__(classtype, *args, **kwargs) /usr/share/gnome-activity-journal/src/activity_widgets.py:303: GtkWarning: gtk_box_pack: assertion `child-parent == NULL' failed self.pack_end(hbox) Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last): File /usr/lib/pymodules/python2.6/dbus/service.py, line 702, in _message_cb retval = candidate_method(self, *args, **keywords) File /usr/share/zeitgeist/_zeitgeist/engine/remote.py, line 253, in FindEvents event_templates, storage_state, num_events, result_type, sender)) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 395, in find_events return self._find_events(1, *args) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 382, in _find_events result = self.get_events(ids=[row[0] for row in result], sender=sender) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 187, in get_events event = self._get_event_from_row(row) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 152, in _get_event_from_row setattr(event, field, getattr(self, _ + field).value(row[field])) File /usr/share/zeitgeist/_zeitgeist/engine/sql.py, line 430, in value return self._inv_dict[id] KeyError: 1 ** Affects: zeitgeist Importance: High Assignee: Siegfried Gevatter (rainct) Status: Triaged ** Changed in: zeitgeist Importance: Undecided = High ** Changed in: zeitgeist Status: New = Triaged ** Changed in: zeitgeist Assignee: (unassigned) = Siegfried Gevatter (rainct) -- 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/695087 Title: Invalid cache access Status in Zeitgeist Framework: Triaged Bug description: ala...@alagos-desktop:~$ gnome-activity-journal ** Message: pygobject_register_sinkfunc is deprecated (GstObject) /usr/share/gnome-activity-journal/src/common.py:747: DeprecationWarning: object.__new__() takes no parameters GIO_FILES[subj] = object.__new__(classtype, *args, **kwargs) /usr/share/gnome-activity-journal/src/activity_widgets.py:303: GtkWarning: gtk_box_pack: assertion `child-parent == NULL' failed self.pack_end(hbox) Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last): File /usr/lib/pymodules/python2.6/dbus/service.py, line 702, in _message_cb retval = candidate_method(self, *args, **keywords) File /usr/share/zeitgeist/_zeitgeist/engine/remote.py, line 253, in FindEvents event_templates, storage_state, num_events, result_type, sender)) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 395, in find_events return self._find_events(1, *args) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 382, in _find_events result = self.get_events(ids=[row[0] for row in result], sender=sender) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 187, in get_events event = self._get_event_from_row(row) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 152, in _get_event_from_row setattr(event, field, getattr(self, _ + field).value(row[field])) File /usr/share/zeitgeist/_zeitgeist/engine/sql.py, line 430, in value return self._inv_dict[id] KeyError: 1 ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 695087] Re: Invalid cache access
*** This bug is a duplicate of bug 598666 *** https://bugs.launchpad.net/bugs/598666 ** This bug has been marked a duplicate of bug 598666 Error when trying to fetch items * You can subscribe to bug 598666 by following this link: https://bugs.launchpad.net/zeitgeist/+bug/598666/+subscribe -- 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/695087 Title: Invalid cache access Status in Zeitgeist Framework: Triaged Bug description: ala...@alagos-desktop:~$ gnome-activity-journal ** Message: pygobject_register_sinkfunc is deprecated (GstObject) /usr/share/gnome-activity-journal/src/common.py:747: DeprecationWarning: object.__new__() takes no parameters GIO_FILES[subj] = object.__new__(classtype, *args, **kwargs) /usr/share/gnome-activity-journal/src/activity_widgets.py:303: GtkWarning: gtk_box_pack: assertion `child-parent == NULL' failed self.pack_end(hbox) Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last): File /usr/lib/pymodules/python2.6/dbus/service.py, line 702, in _message_cb retval = candidate_method(self, *args, **keywords) File /usr/share/zeitgeist/_zeitgeist/engine/remote.py, line 253, in FindEvents event_templates, storage_state, num_events, result_type, sender)) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 395, in find_events return self._find_events(1, *args) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 382, in _find_events result = self.get_events(ids=[row[0] for row in result], sender=sender) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 187, in get_events event = self._get_event_from_row(row) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 152, in _get_event_from_row setattr(event, field, getattr(self, _ + field).value(row[field])) File /usr/share/zeitgeist/_zeitgeist/engine/sql.py, line 430, in value return self._inv_dict[id] KeyError: 1 ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 598666] Re: Invalid cache access (was: Error when trying to fetch items)
** Summary changed: - Error when trying to fetch items + Invalid cache access (was: Error when trying to fetch items) -- 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/598666 Title: Invalid cache access (was: Error when trying to fetch items) Status in Zeitgeist Framework: Triaged Bug description: When i try to fetch all items in one query i get Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last): File /usr/lib/pymodules/python2.6/dbus/service.py, line 702, in _message_cb retval = candidate_method(self, *args, **keywords) File /usr/local/share/zeitgeist/_zeitgeist/engine/remote.py, line 254, in FindEvents event_templates, storage_state, num_events, result_type, sender)) File /usr/local/share/zeitgeist/_zeitgeist/engine/main.py, line 378, in find_events return self._find_events(1, *args) File /usr/local/share/zeitgeist/_zeitgeist/engine/main.py, line 366, in _find_events return self.get_events(rows=result, sender=sender) File /usr/local/share/zeitgeist/_zeitgeist/engine/main.py, line 188, in get_events events[event.id].append_subject(self._get_subject_from_row(row)) File /usr/local/share/zeitgeist/_zeitgeist/engine/main.py, line 160, in _get_subject_from_row getattr(self, _ + field).value(row[subj_ + field])) File /usr/local/share/zeitgeist/_zeitgeist/engine/sql.py, line 422, in value return self._inv_dict[id] KeyError: 138 This looks serious ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 598666] Re: Invalid cache access (was: Error when trying to fetch items)
** Changed in: zeitgeist Milestone: None = 0.7.0 -- 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/598666 Title: Invalid cache access (was: Error when trying to fetch items) Status in Zeitgeist Framework: Triaged Bug description: When i try to fetch all items in one query i get Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last): File /usr/lib/pymodules/python2.6/dbus/service.py, line 702, in _message_cb retval = candidate_method(self, *args, **keywords) File /usr/local/share/zeitgeist/_zeitgeist/engine/remote.py, line 254, in FindEvents event_templates, storage_state, num_events, result_type, sender)) File /usr/local/share/zeitgeist/_zeitgeist/engine/main.py, line 378, in find_events return self._find_events(1, *args) File /usr/local/share/zeitgeist/_zeitgeist/engine/main.py, line 366, in _find_events return self.get_events(rows=result, sender=sender) File /usr/local/share/zeitgeist/_zeitgeist/engine/main.py, line 188, in get_events events[event.id].append_subject(self._get_subject_from_row(row)) File /usr/local/share/zeitgeist/_zeitgeist/engine/main.py, line 160, in _get_subject_from_row getattr(self, _ + field).value(row[subj_ + field])) File /usr/local/share/zeitgeist/_zeitgeist/engine/sql.py, line 422, in value return self._inv_dict[id] KeyError: 138 This looks serious ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 695087] Re: Invalid cache access
*** This bug is a duplicate of bug 598666 *** https://bugs.launchpad.net/bugs/598666 I think I have a clue on what's going on, but before we fix this, I guess I'd be good to have some documentation on why we even have the cache. For this purpose, I've tried removing it from the engine (code at lp:~zeitgeist/zeitgeist/no-table-cache, but it's not ready for merging) and I'm attaching some test results. It looks like the cache at best gives a very little speed benefit, so I'm not sure it's worth keeping it. ** Attachment added: thekorn benchmark and plot.ods https://bugs.launchpad.net/zeitgeist/+bug/695087/+attachment/1778276/+files/thekorn%20benchmark%20and%20plot.ods -- 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/695087 Title: Invalid cache access Status in Zeitgeist Framework: Triaged Bug description: ala...@alagos-desktop:~$ gnome-activity-journal ** Message: pygobject_register_sinkfunc is deprecated (GstObject) /usr/share/gnome-activity-journal/src/common.py:747: DeprecationWarning: object.__new__() takes no parameters GIO_FILES[subj] = object.__new__(classtype, *args, **kwargs) /usr/share/gnome-activity-journal/src/activity_widgets.py:303: GtkWarning: gtk_box_pack: assertion `child-parent == NULL' failed self.pack_end(hbox) Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last): File /usr/lib/pymodules/python2.6/dbus/service.py, line 702, in _message_cb retval = candidate_method(self, *args, **keywords) File /usr/share/zeitgeist/_zeitgeist/engine/remote.py, line 253, in FindEvents event_templates, storage_state, num_events, result_type, sender)) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 395, in find_events return self._find_events(1, *args) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 382, in _find_events result = self.get_events(ids=[row[0] for row in result], sender=sender) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 187, in get_events event = self._get_event_from_row(row) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 152, in _get_event_from_row setattr(event, field, getattr(self, _ + field).value(row[field])) File /usr/share/zeitgeist/_zeitgeist/engine/sql.py, line 430, in value return self._inv_dict[id] KeyError: 1 ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 695087] Re: Invalid cache access
*** This bug is a duplicate of bug 598666 *** https://bugs.launchpad.net/bugs/598666 In the previous benchmark, /tmp/zeitgeist-trunk is trunk and ../ is the modified branch. I'm also attaching a comparison of running GNOME Activity Journal, but the data here is too random to get anything out of it, so ignore it. I'm just attaching it because it took some time to put it in a nice table :P. ** Attachment added: speedtest.txt https://bugs.launchpad.net/zeitgeist/+bug/695087/+attachment/1778277/+files/speedtest.txt -- 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/695087 Title: Invalid cache access Status in Zeitgeist Framework: Triaged Bug description: ala...@alagos-desktop:~$ gnome-activity-journal ** Message: pygobject_register_sinkfunc is deprecated (GstObject) /usr/share/gnome-activity-journal/src/common.py:747: DeprecationWarning: object.__new__() takes no parameters GIO_FILES[subj] = object.__new__(classtype, *args, **kwargs) /usr/share/gnome-activity-journal/src/activity_widgets.py:303: GtkWarning: gtk_box_pack: assertion `child-parent == NULL' failed self.pack_end(hbox) Error from Zeitgeist engine: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last): File /usr/lib/pymodules/python2.6/dbus/service.py, line 702, in _message_cb retval = candidate_method(self, *args, **keywords) File /usr/share/zeitgeist/_zeitgeist/engine/remote.py, line 253, in FindEvents event_templates, storage_state, num_events, result_type, sender)) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 395, in find_events return self._find_events(1, *args) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 382, in _find_events result = self.get_events(ids=[row[0] for row in result], sender=sender) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 187, in get_events event = self._get_event_from_row(row) File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 152, in _get_event_from_row setattr(event, field, getattr(self, _ + field).value(row[field])) File /usr/share/zeitgeist/_zeitgeist/engine/sql.py, line 430, in value return self._inv_dict[id] KeyError: 1 ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Gnome-zeitgeist] [Bug 694849] Re: Gnome Activity Journal doesn't show any activities even if all dipendencies installed
Ok, hope I did everything! Now: jo...@joshg:~/zeitgeist$ ~/zeitgeist/zeitgeist/zeitgeist-daemon.py [1] 10001 jo...@joshg:~/zeitgeist$ [2010-12-28 19:58:20,818] - DEBUG - root - Checking for another running instance... [2010-12-28 19:58:20,856] - DEBUG - root - No running instances found. [2010-12-28 19:58:21,027] - INFO - zeitgeist.sql - Using database: /home/joshg/.local/share/zeitgeist/activity.sqlite [2010-12-28 19:58:21,098] - DEBUG - zeitgeist.sql - Core schema is good. DB loaded in 71.0918903351ms [2010-12-28 19:58:21,099] - DEBUG - zeitgeist.extension - Searching for system extensions in: /home/joshg/zeitgeist/zeitgeist/_zeitgeist/engine/extensions [2010-12-28 19:58:21,100] - DEBUG - zeitgeist.extension - Searching for user extensions in: /home/joshg/.local/share/zeitgeist/extensions [2010-12-28 19:58:21,156] - DEBUG - zeitgeist.extension - No extra extensions [2010-12-28 19:58:21,156] - DEBUG - zeitgeist.extension - Found extensions: [class 'gnome_activity_journal.ActivityJournalExtension', class '_zeitgeist.engine.extensions.blacklist.Blacklist', class '_zeitgeist.engine.extensions.datasource_registry.DataSourceRegistry'] [2010-12-28 19:58:21,157] - DEBUG - zeitgeist.extension - Loading extension 'ActivityJournalExtension' [2010-12-28 19:58:21,179] - DEBUG - zeitgeist.extension - Loading extension 'Blacklist' [2010-12-28 19:58:21,180] - DEBUG - zeitgeist.blacklist - No existing blacklist config found [2010-12-28 19:58:21,180] - DEBUG - zeitgeist.extension - Loading extension 'DataSourceRegistry' [2010-12-28 19:58:21,181] - DEBUG - zeitgeist.datasource_registry - Loaded data-source data from /home/joshg/.local/share/zeitgeist/datasources.pickle [2010-12-28 19:58:21,205] - INFO - root - Trying to start the datahub [2010-12-28 19:58:21,245] - DEBUG - root - Running datahub (/usr/bin/zeitgeist-datahub) with PID=10002 [2010-12-28 19:58:21,246] - INFO - root - Starting Zeitgeist service... [2010-12-28 19:58:41,880] - DEBUG - zeitgeist.engine - Found 0 events IDs in 0.001254s [2010-12-28 19:58:42,011] - DEBUG - zeitgeist.engine - Found 0 events IDs in 0.001229s [2010-12-28 19:58:42,018] - DEBUG - zeitgeist.engine - Found 0 events IDs in 0.000572s [2010-12-28 19:58:42,027] - DEBUG - zeitgeist.engine - Found 0 events IDs in 0.000578s [2010-12-28 19:58:42,037] - DEBUG - zeitgeist.engine - Found 0 events IDs in 0.000572s [2010-12-28 19:58:42,048] - DEBUG - zeitgeist.engine - Found 0 events IDs in 0.000563s [2010-12-28 19:58:42,060] - DEBUG - zeitgeist.engine - Found 57 events IDs in 0.001182s [2010-12-28 19:58:42,097] - DEBUG - zeitgeist.engine - Got 57 events in 0.035674s and for GAJ: jo...@joshg:~/zeitgeist$ ~/zeitgeist/gnome-activity-journal/gnome-activity-journal ** Message: pygobject_register_sinkfunc is deprecated (GstObject) /home/joshg/zeitgeist/gnome-activity-journal/src/common.py:752: DeprecationWarning: object.__new__() takes no parameters GIO_FILES[subj] = object.__new__(classtype, *args, **kwargs) /home/joshg/zeitgeist/gnome-activity-journal/src/activity_widgets.py:301: GtkWarning: gtk_box_pack: assertion `child-parent == NULL' failed self.pack_end(hbox) but window freezes!! -- You received this bug notification because you are a member of GNOME Zeitgeist Team, which is the registrant for GNOME Activity Journal. https://bugs.launchpad.net/bugs/694849 Title: Gnome Activity Journal doesn't show any activities even if all dipendencies installed Status in GNOME Activity Journal: Confirmed Bug description: When starting Activity Journal (ppa) from terminal: ** Message: pygobject_register_sinkfunc is deprecated (GstObject) `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load /usr/share/gnome-activity-journal/src/supporting_widgets.py:728: GtkWarning: Failed to load type module: (null) super(ContextMenu, self).__init__() `menu_proxy_module_load': python: undefined symbol: menu_proxy_module_load /usr/share/gnome-activity-journal/src/supporting_widgets.py:348: GtkWarning: Failed to load type module: (null) self.combobox = gtk.combo_box_new_text() Ubuntu Maverick 10.10 32bit gnome-activity-journal 0.5.0.1-0ubuntu1 zeitgeist-core 0.6-0ubuntu1~0ppa1~maverick ___ Mailing list: https://launchpad.net/~gnome-zeitgeist Post to : gnome-zeitge...@lists.launchpad.net Unsubscribe : https://launchpad.net/~gnome-zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 691690] Re: DataSourceRegistry should have GetDataSourceForId method
OK, so as I see it there are various ways to fix this: a) Not a bug - If they care about data-sources they should keep track of them (GetDataSources at start and DataSourceRegistered after that). However, what should be fixed is the DataSourceDisconnected signal, it is currently sending the whole data-source information while just the unique id should be enough. b) Change DataSourceEnabled to send the whole data-source, so it's consistent with DataSourceRegistered and DataSourceDisconnected. c) Leave DataSourceEnabled as it is, fix DataSourceDisconnected to only return the unique id (see A) and add a GetDataSourceForId method. Personally I don't see what a) or b) would bring us. If you're a data- source yourself you'll probably just want to check whether the ID is yours to know what happened to you. If you're a data-source management GUI, which wants to update the information when something is enabled/disabled, you'll be keep track of all data-sources anyway, through a GetDataSources call at startup and successive updates thanks to DataSourceRegistered signals. This means that when you get a DataSourceEnabled signal you already have the information about the event, and getting a full copy of it won't make your work any easier than just having the unique ID. ** Changed in: zeitgeist Importance: Undecided = Low ** Changed in: zeitgeist Status: In Progress = New -- 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/691690 Title: DataSourceRegistry should have GetDataSourceForId method Status in Zeitgeist Framework: New Bug description: DataSourceRegistry should have a way to get a DataSource from it's id especially because the DataSourceEnabled signal only sends an id rather than a DataSource in the signal. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 692645] Re: sending payload from engine to client does not work
** Changed in: zeitgeist Status: In Progress = Fix Committed ** Changed in: zeitgeist Importance: Undecided = High -- 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/692645 Title: sending payload from engine to client does not work Status in Zeitgeist Framework: Fix Committed Bug description: I wrote a test case in the below diff where I insert an event with a payload and try to retrieve it again. This does not work on trunk guys -.- --- === modified file 'test/remote-test.py' --- test/remote-test.py 2010-09-22 18:44:16 + +++ test/remote-test.py 2010-12-20 15:42:22 + @@ -321,6 +321,19 @@ registry = iface.get_extension(DataSourceRegistry, data_source_registry) registry.GetDataSources() + def testFindEventsWithPayload(self): +mainloop = gobject.MainLoop() +payload = Hello World +def callback(ids): +def callback2(events): +mainloop.quit() +self.assertEquals(events[0].payload, payload) +self.client.get_events(ids, callback2) +events = [Event.new_for_values(actor=uboo, timestamp=124, subject_uri=file://yomomma)] +events[0].payload = payload +self.client.insert_events(events, callback) +mainloop.run() + class ZeitgeistRemoteInterfaceTest(unittest.TestCase): def setUp(self): Run ./test/remote-test.py ZeitgeistRemoteAPITest.testFindEventsWithPayload I get: Error from Zeitgeist engine: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last): File /usr/lib/pymodules/python2.6/dbus/service.py, line 745, in _message_cb _method_reply_return(connection, message, method_name, signature, *retval) File /usr/lib/pymodules/python2.6/dbus/service.py, line 252, in _method_reply_return reply.append(signature=signature, *retval) TypeError: an integer is required ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 693094] Re: Zeitgeist engine tells that an event has been inserted even though it has been blocked by an extension
** Changed in: zeitgeist Status: In Progress = Fix Committed ** Changed in: zeitgeist Importance: Undecided = Wishlist -- 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/693094 Title: Zeitgeist engine tells that an event has been inserted even though it has been blocked by an extension Status in Zeitgeist Framework: Fix Committed Bug description: I was working on blacklist when I noticed that even though the event insertion has been blocked by an extension, the engine still reports that the event has been inserted Here is the output at the daemon [2010-12-21 22:24:21,122] - ERROR - zeitgeist.engine - error while inserting 'Event([dbus.Array([9176, dbus.String(u'1292949791179'), dbus.String(u''), dbus.String(u''), dbus.String(u'application://foo.desktop')], signature=dbus.Signature('s')), [Subject([dbus.String(u''), dbus.String(u''), dbus.String(u''), dbus.String(u''), dbus.String(u''), dbus.String(u''), dbus.String(u'')])], dbus.Array([], signature=dbus.Signature('y'))])' Traceback (most recent call last): File /home/manish/code/zeitgeist/zeitgeist/../_zeitgeist/engine/main.py, line 484, in _insert_event_without_error return self._insert_event(event, sender) File /home/manish/code/zeitgeist/zeitgeist/../_zeitgeist/engine/main.py, line 503, in _insert_event raise AssertionError(Inserting of event was blocked by an extension) AssertionError: Inserting of event was blocked by an extension [2010-12-21 22:24:21,126] - DEBUG - zeitgeist.engine - Inserted 1 events in 0.001179s The section in _zeitgeist/engine/main.py responsible for this is http://paste.ubuntu.com/546316/ The AssertionError is raised on line 29 which is caught at line 11, but at line 3 and line 4, there is no way to check that the the event was actually inserted I was recommend some way to track how many events have been inserted and how many have been blocked ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp