Menu

#54 GLib-GIO-ERROR **: Settings schema 'org.gnome.gwaei' does no

open
nobody
None
5
2012-09-18
2012-03-10
F. Delente
No

I get this error after compiling and installing gwaei-3.4b01. I recompiled GConf-3.2.4 to be sure it was not the issue there, but it didn't change anything.

I tried several times glib-compile-schemas too.

I don't use gnome on the machine where I have the error, it's a Linux From Scratch box, I just have all the necessary libs installed (gwaei compiled without any trouble).

Discussion

  • Zachary Dovel

    Zachary Dovel - 2012-03-26

    Hrm. I uses dconf. Yoau should have gsettings-desktop-schemas installed too. I'll try looking later

     
  • Zachary Dovel

    Zachary Dovel - 2012-03-27

    You're probably going to have to update your XDG_DATA_DIRS environmental variable as stated on http://developer.gnome.org/gio/2.30/glib-compile-schemas.html for where you have the compiled schema. I would install the schema into ~/.local/share/glib-2.0 or something like that.

     
  • F. Delente

    F. Delente - 2012-03-27

    Thanks for your time.

    I had found the page you pointed me to.

    I tried to set XDG_DATA_DIRS to /usr/share/glib-2.0/schemas, where all the schemas are installed, but it's worse: in that case, I get

    $ gwaei

    ** (gwaei:6994): CRITICAL **: The GSettings schema "org.gnome.gwaei.dictionary" isn't installed! You must make sure both gsettings-desktop-schemas from your package manager and org.gnome.gwaei.gschema.xml are installed at least locally if not globally. See the man page for glib-compile-schemas for more information.

    **
    ERROR:preferences.c:190:lw_preferences_get_settings_object: assertion failed: (lw_preferences_schema_is_installed (SCHEMA))

    while without XDG_DATA_DIRS set, I get

    (gwaei:7875): GLib-GIO-ERROR **: Settings schema 'org.gnome.gwaei' does not contain a key named 'window-size'
    Trace/breakpoint trap

    The file org.gnome.gwaei.gschema.xml is in /usr/share/glib-2.0/schemas, along with the files belonging in gsettings-desktop-schemas-3.4.0.

    The key window-size is present in the org.gnome.gwaei.gschema.xml file, but not in the gschemas.compiled file (in which I searched with 'strings')... maybe a glib bug, even though I have compiled and installed the latest (2.32) version?

    Thanks anyway.

    PS I haven't seen a flag in the configure script to choose dconf over gconf, is it possible to do so?

     
  • Zachary Dovel

    Zachary Dovel - 2012-03-29

    I have to look into this more. gconf is no longer used, only dconf. Unfortunately, dconf is still a bit green behind the ears.

     
  • F. Delente

    F. Delente - 2012-03-30

    Ok, I'll try looking into it myself when I have the time.

    However, I got gwaei to work for the time being, by creating a ~/.local/share/glib-2.0/schemas directory, copying all schema files in here, and exporting XDG_DATA_DIRS=~/.local/share/glib-2.0/schemas before starting gwaei; I can't do it globally (in my ~/.profile) since it then breaks others gtk apps (gimp, evince, anything else!).

    Thanks anyway!

    See you.

     

Log in to post a comment.

MongoDB Logo MongoDB