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 787749 - Settings schema 'org.freedesktop.Tracker.Miner.Files' is not installed
Settings schema 'org.freedesktop.Tracker.Miner.Files' is not installed
Status: RESOLVED DUPLICATE of bug 785415
Product: tracker
Classification: Core
Component: Miners
2.0.x
Other All
: Normal normal
: ---
Assigned To: tracker-general
tracker-general
Depends on:
Blocks:
 
 
Reported: 2017-09-16 09:12 UTC by Wayne Blaszczyk
Modified: 2017-09-17 01:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Wayne Blaszczyk 2017-09-16 09:12:52 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.
Comment 1 Wayne Blaszczyk 2017-09-16 09:18:33 UTC
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
Comment 2 Debarshi Ray 2017-09-16 13:55:24 UTC
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.
Comment 3 Debarshi Ray 2017-09-16 13:55:45 UTC

*** This bug has been marked as a duplicate of bug 785415 ***
Comment 4 Wayne Blaszczyk 2017-09-17 01:28:44 UTC
I build my own 'distribution' based on LFS/BLFS.
To me, this looks like a Tracker issue and not gnome-documents issue.
Regards.