Created attachment 794650 [details] dconf-editor strace Description of problem: Starting dconf-editor: imediately crashes: (dconf-editor:15007): GLib-GIO-ERROR **: Settings schema 'ca.desrt.dconf-editor.Settings' is not installed Trace/breakpoint trap (core dumped) Version-Release number of selected component (if applicable): dconf-editor-0.17.0-3.fc20.x86_64 How reproducible: always Steps to Reproduce: 1.dconf-editor 2. 3. Actual results: crash Expected results: Additional info:
What do any of the following say ? rpm -ql dconf-editor | grep schema echo $GSETTINGS_SCHEMA_DIR Does it start working after running the following (as root) ? glib-compile-schemas /usr/share/glib-2/schemas
(In reply to Matthias Clasen from comment #1) > What do any of the following say ? > > rpm -ql dconf-editor | grep schema rpm -ql dconf-editor | grep schema /usr/share/glib-2.0/schemas/ca.desrt.dconf-editor.gschema.xml > echo $GSETTINGS_SCHEMA_DIR empty string!! > > Does it start working after running the following (as root) ? > > glib-compile-schemas /usr/share/glib-2/schemas glib-compile-schemas /usr/share/glib-2/schemas Error opening directory '/usr/share/glib-2/schemas': No such file or directory
Created attachment 795148 [details] move schema compilation to editor subpackage (In reply to Joachim Backes from comment #2) > glib-compile-schemas /usr/share/glib-2/schemas > Error opening directory '/usr/share/glib-2/schemas': No such file or > directory Rather than "glib-2", the directory is actually "glib-2.0". After I do: sudo glib-compile-schemas /usr/share/glib-2.0/schemas/ dconf-editor starts fine. Looking at the .spec file: http://pkgs.fedoraproject.org/cgit/dconf.git/tree/dconf.spec#n64 shouldn't the -editor package call glib-compile-schemas? I just installed dconf-editor on a fresh F20 system (where dconf was, of course, already installed), which did not compile the GSettings schemas, even though a new schema was installed. It looks like this broke in 0.16.0-2. Attached is a patch which moves the schema compilation to the subpackage. I did a scratch build in Koji which seemed to work fine (both removal and installation updated the compiled schemas): http://koji.fedoraproject.org/koji/taskinfo?taskID=5908023
(In reply to David King from comment #3) > Created attachment 795148 [details] > move schema compilation to editor subpackage > > (In reply to Joachim Backes from comment #2) > > glib-compile-schemas /usr/share/glib-2/schemas > > Error opening directory '/usr/share/glib-2/schemas': No such file or > > directory > > Rather than "glib-2", the directory is actually "glib-2.0". After I do: > > sudo glib-compile-schemas /usr/share/glib-2.0/schemas/ Thank you. After this, dconf-editor runs perfectly!
This got fixed in dconf-0.18.0-2.fc20.