Florian Bruhin twisted the bytes to say: Florian> * dmg <d...@turingmachine.org> [2015-12-02 12:28:38 -0800]: >> it is world readable?
Florian> Yep: Florian> -rw-r--r-- 1 root root 212941 Dec 2 21:01 /usr/share/xournal/xournal.ui Florian> Looking at strace xournal, it only checks ./xournal.ui and Florian> ./../xournal.ui, but doesn't actually check in /usr/share like it Florian> says. It checks the installed package directory. Oh, based on the error message I think I got it. It is because err should be set to NULL before it. Can you please try this: add err = NULL before the line: if (!gtk_builder_add_from_file(builder, dataPathGlade, &err)) { and run it again. if you get an error, please send it to me. if(!gtk_builder_add_from_file(builder, pathGlade, &err)) { gchar *parentPathGlade; parentPathGlade = g_build_filename(path, "..", GLADE_FILE, NULL); err = NULL; if(!gtk_builder_add_from_file(builder, parentPathGlade, &err)) { gchar *dataPathGlade; dataPathGlade = PACKAGE_DATA_DIR "/" PACKAGE "/" GLADE_FILE; if (!gtk_builder_add_from_file(builder, dataPathGlade, &err)) { fprintf(stderr, "Not able to find Glade file from (searched in location of binary (%s), its parent directory (%s), and (%s)) CWD: %s\n", pathGlade, parentPathGlade, dataPathGlade, err->message); exit(1); } } g_free(parentPathGlade); } Florian> Florian Florian> -- Florian> http://www.the-compiler.org | m...@the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -- Daniel M. German "Computer Science is no more about computers than astronomy Edsger Dijkstra -> is about telescopes" http://turingmachine.org/ http://silvernegative.com/ dmg (at) uvic (dot) ca replace (at) with @ and (dot) with . ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 _______________________________________________ Xournal-devel mailing list Xournal-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xournal-devel