GLib-CRITICAL **: g_key_file_add_group

2006-05-27
2013-04-03
  • FrenchNewbie
    FrenchNewbie
    2006-05-27

    Hello

    I am a new Linux user so I could be making an obvious configuration mistake.  I have included below information regarding my system and grip configuration, but first my problem...

    The Grip I built from sources doesn't talk in french for me (with G_FILENAME_ENCODING=@locale).
    I only get 12 messages when runned from shell :

    (grip:6866): GLib-CRITICAL **: g_key_file_add_group: assertion `g_key_file_lookup_group_node (key_file, group_name) == NULL' failed

    and it's still working after that, ... but in english !

    I start it from my home directory, in ~/Dev/grip-3.3.1/src where the make process generated the 'grip' exec ... Maybe that's the problem, but I didn't want to erase the grip installed with Mandriva which still talk in french  (as it's my first compilation of such a great program on Linux ;)
    I didn't run 'make install' (in order to keep the Mandriva packaged one;) Is that it ? How can I get both versions running fine on my computer ? (I'd like to tweak sources if I get time and skills to add functionalities, but I would be glad to keep a running version as I'm not very confident about my hacking capabilities;)

    As I only get the pid, I don't know what's going on when the assertion(s) failed ... maybe there is an option with 'make' to get the called routines to a log file in order to find what's missing at compile time and/or at run time ?
    (the --verbose option at runtime didn't give me a clue;)

    I am truly lost as I guess that grip can't open the .po/.gmo files to translate the grip's messages ... Can anyone help?
    (maybe some problem with glib2 calls ?)

    Frederic

    PS:
    Great thanks to Mike Oliphant for this great linux ripper !

    Config :
    gnome-libs => gnome-libs-1.4.2-13mdk
    libghttp => libghttp1-1.0.9-7mdk
    gnome-libs-devel => gnome-libs-1.4.2-13mdk
    gcc-c++ => gcc-c++-4.0.1-5mdk
    libghttp-devel => libghttp1-1.0.9-7mdk ?
    (library needed to run programs dynamically linked with libghttp)
    libgnomeui-devel => libgnomeui2_0-devel-2.12.0-2mdk
    vte-devel => libvte4-devel-0.11.15-4mdk
    cdparanoia-devel => libcdda0-devel-IIIa9.8-10mdk

    What additional information should I provide?