pkg2appimage icon indicating copy to clipboard operation
pkg2appimage copied to clipboard

Arduino: GLib-GIO-ERROR **: No GSettings schemas are installed on the system

Open probonopd opened this issue 8 years ago • 2 comments

Arduino-1.6.8.hourly201602020926.esp04c6609-x86_64.AppImage stopped running on Fedora 23:

Picked up JAVA_TOOL_OPTIONS: 

(process:4683): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.

(java:4683): GLib-GIO-ERROR **: No GSettings schemas are installed on the system
/tmp/.mount_VnWrGA/usr/bin/arduino: line 34:  4683 Trace/breakpoint trap   (core dumped) "$JAVA" "${JAVA_OPTIONS[@]}" processing.app.Base "$@"

Arduino-1.6.8.201601250626.esp1783-x86_64.AppImage did not have this issue. Running the hourly directly from the Arduino site also does not have this issue.

When I mount Arduino-1.6.8.hourly201602020926.esp04c6609-x86_64.AppImage and run the AppRun inside, then it crashes. However, when I run usr/bin/arduino.wrapper directly then it doesn't crash. So it looks like AppRun is running the wrapper and/or app in a way that causes the issue; apparently by setting the offending environment variable XDG_DATA_DIRS=./share/.

probonopd avatar Feb 08 '16 19:02 probonopd

mkdir -p ./usr/share/glib-2.0/ ; cd ./usr/share/glib-2.0/ ; ln -s /usr/share/glib-2.0/schemas/ . in the AppDir makes this work again. Strange!

probonopd avatar Feb 08 '16 19:02 probonopd

Also getting this on Deepin. The same AppImage on other systems seems to run fine.

probonopd avatar Aug 25 '17 17:08 probonopd