After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 785300 - tracker 1.99.1 Key file does not have group "DomainOntology"
tracker 1.99.1 Key file does not have group "DomainOntology"
Status: RESOLVED NOTGNOME
Product: tracker
Classification: Core
Component: General
git master
Other Linux
: Normal major
: ---
Assigned To: tracker-general
tracker-general
Depends on:
Blocks:
 
 
Reported: 2017-07-23 04:18 UTC by Jeremy Bicha
Modified: 2017-07-23 19:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2017-07-23 04:18:01 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”
Comment 1 Jeremy Bicha 2017-07-23 04:22:05 UTC
I built tracker with autotools since there are still a few issues with the meson build.
Comment 2 Jeremy Bicha 2017-07-23 11:26:13 UTC
$ 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”
Comment 3 Michael Biebl 2017-07-23 17:18:54 UTC
I think this is a packaging bug, you missed to install 
debian/tmp/usr/share/tracker/domain-ontologies/default.rule
Comment 4 Jeremy Bicha 2017-07-23 18:23:05 UTC
Thanks. It works now.

Maybe we should set the tracker packaging to --fail-missing.
Comment 5 Michael Biebl 2017-07-23 19:13:50 UTC
(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.