Re: [Tracker] Using Tracker for a Gnome-Shell-Extension



On 19/04/12 20:55, Martin Ziel wrote:
Hi,

Hi,

I tried to create a simple gnome-shell extension to search for music via
the default gnome-shell search-mechanism.
Unfortunately, everytime I try to callt the SparqlConnection.query
method, my gnome-shell crashes with the following log:

(gnome-settings-daemon:8883): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed
g_dbus_connection_real_closed: Remote peer vanished with error:
Underlying GIOStream returned 0 bytes on an async read
(g-io-error-quark, 0). Exiting.


The query is well formed, I can safely execute it via the tracker-sparql
app. Is this a known problem and how can I avoid it?

IT sounds like you're destroying the SparqlConnection before you have finished using it. Any code to share here?

--
Regards,
Martyn

Founder and CEO of Lanedo GmbH.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]