GNOME Bugzilla – Bug 787749
Settings schema 'org.freedesktop.Tracker.Miner.Files' is not installed
Last modified: 2017-09-17 01:28:44 UTC
The following error is produced multiple times in the systemd journal. Settings schema 'org.freedesktop.Tracker.Miner.Files' is not installed which is causing gnome-documents-3.26.0 and gnome-photos-3.26.0 to core dump. The issue is narrowed down with the following command: glib-compile-schemas /usr/share/glib-2.0/schemas /usr/share/glib-2.0/schemas/org.freedesktop.Tracker.Extract.gschema.xml:5:1 Error on line 5 char 1: <enum id='org.freedesktop.TrackerMiners.TrackerVerbosity'> not (yet) defined.. This entire file has been ignored. /usr/share/glib-2.0/schemas/org.freedesktop.Tracker.Miner.Files.gschema.xml:5:1 Error on line 5 char 1: <enum id='org.freedesktop.TrackerMiners.TrackerVerbosity'> not (yet) defined.. This entire file has been ignored. /usr/share/glib-2.0/schemas/org.freedesktop.Tracker.Writeback.gschema.xml:5:1 Error on line 5 char 1: <enum id='org.freedesktop.TrackerMiners.TrackerVerbosity'> not (yet) defined.. This entire file has been ignored. In org.freedesktop.Tracker.enums.xml file you have enum id='org.freedesktop.Tracker.* whilst in the above 3 errored files, you have enum="org.freedesktop.TrackerMiners.* i.e. TrackerMiners vs Tracker.
The following commands fix the issue for me during the tracker-miners build. sed -i s/TrackerMiners/Tracker/ src/miners/fs/org.freedesktop.Tracker.Miner.Files.gschema.xml.in sed -i s/TrackerMiners/Tracker/ src/tracker-writeback/org.freedesktop.Tracker.Writeback.gschema.xml.in sed -i s/TrackerMiners/Tracker/ src/tracker-extract/org.freedesktop.Tracker.Extract.gschema.xml.in
Assuming that you are using your distribution's gnome-documents and gnome-photos packages, it is a matter of having tracker-miners at runtime. It should be specified as a runtime dependency. This has already been fixed in GNOME's org.gnome.Photos Flatpak. There is a bug (see bug 785415) about fixing the Documents build, which is still broken.
*** This bug has been marked as a duplicate of bug 785415 ***
I build my own 'distribution' based on LFS/BLFS. To me, this looks like a Tracker issue and not gnome-documents issue. Regards.