Skip to content

display an empty view when Tracker cannot be found

Jean Felder requested to merge wip/jfelder/tracker-not-found-view into master

tracker_not_found

I do not get the same tracker error if I run Music from source or from flatkpak:

from sources, Tracker.SparqlConnection.get(None) in tracker.py raises an Exception

Running from source tree, using local files.
11:18:52 ERROR	Cannot connect to tracker, error tracker_sparql_error-quark: Failed to load SPARQL backend: Unable to find default domain ontology rule /usr/share/tracker/domain-ontologies/default.rule (6)

from flatpak, Tracker.SparqlConnection.get(None) succeeds, but all query fail:

11:24:36 WARNING	Error: <class 'gi.repository.GLib.GError'>, g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Tracker1 was not provided by any .service files (2)
Edited by Jean Felder

Merge request reports