GNOME Bugzilla – Bug 785300
tracker 1.99.1 Key file does not have group "DomainOntology"
Last modified: 2017-07-23 19:13:50 UTC
I have built tracker 1.99.1 for Ubuntu 17.10 Alpha. But gnome-documents and gnome-photos 3.25.4 don't work. (I didn't try other apps yet). https://launchpad.net/~jbicha/+archive/ubuntu/temp20170722/+packages ** (gnome-photos): WARNING **: Unable to update the cache: GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: Failed to load SPARQL backend: Key file does not have group “DomainOntology” (org.gnome.Documents): Gjs-WARNING **: JS ERROR: Unable to connect to the tracker database: Tracker.Error: Failed to load SPARQL backend: Key file does not have group “DomainOntology” Application<.vfunc_startup@resource:///org/gnome/Documents/js/application.js:374:26 wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22 main@resource:///org/gnome/Documents/js/main.js:47:12 run@resource:///org/gnome/gjs/modules/package.js:192:12 @/usr/bin/gnome-documents:6:1 (org.gnome.Documents): Gjs-WARNING **: JS ERROR: Unable to create a TrackerMinerManager, indexing progress notification won't work: GLib.KeyFileError: Key file does not have group “DomainOntology”
I built tracker with autotools since there are still a few issues with the meson build.
$ tracker status (tracker status): GLib-CRITICAL **: g_key_file_load_from_file: assertion 'file != NULL' failed Could not establish a connection to Tracker: Failed to load SPARQL backend: Key file does not have group “DomainOntology”
I think this is a packaging bug, you missed to install debian/tmp/usr/share/tracker/domain-ontologies/default.rule
Thanks. It works now. Maybe we should set the tracker packaging to --fail-missing.
(In reply to Jeremy Bicha from comment #4) > Thanks. It works now. > > Maybe we should set the tracker packaging to --fail-missing. We'd need to manually remove a few files, but yeah, we could change that.