Closed hhirsch closed 5 years ago
Weird. Try sudo gdk-pixbuf-query-loaders --update-cache
.
Hello @tkashkin thank you for the quick reply
$ ./GameHub-bionic-0.12.1-32-dev-46cf5b4-x86_64.AppImage
[AppRun ] GameHub AppImage
[AppRun ] AppDir: /tmp/.mount_GameHuK8DhdA
[CheckRT] Checking library versions
grep: Warnung: GREP_OPTIONS sind veraltet. Bitte benutzen Sie ein Alias oder ein Skript
grep: Warnung: GREP_OPTIONS sind veraltet. Bitte benutzen Sie ein Alias oder ein Skript
grep: Warnung: GREP_OPTIONS sind veraltet. Bitte benutzen Sie ein Alias oder ein Skript
[CheckRT] libstdc++.so.6: sys: GLIBCXX_3.4.4; app: GLIBCXX_3.4.25
grep: Warnung: GREP_OPTIONS sind veraltet. Bitte benutzen Sie ein Alias oder ein Skript
grep: Warnung: GREP_OPTIONS sind veraltet. Bitte benutzen Sie ein Alias oder ein Skript
grep: Warnung: GREP_OPTIONS sind veraltet. Bitte benutzen Sie ein Alias oder ein Skript
[CheckRT] libgcc_s.so.1: sys: GCC_3.3; app: GCC_7.0.0
[CheckRT] LD_LIBRARY_PATH: /tmp/.mount_GameHuK8DhdA/usr/optlib/libgcc_s.so.1:/tmp/.mount_GameHuK8DhdA/usr/optlib/libstdc++.so.6::/tmp/.mount_GameHuK8DhdA/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0:/tmp/.mount_GameHuK8DhdA/usr/lib:/usr/lib32/nvidia:/usr/lib/nvidia:/usr/local/lib32:/usr/local/lib:
[CheckRT] LD_PRELOAD: /tmp/.mount_GameHuK8DhdA/usr/optlib/exec.so:
[AppRun ] Starting GameHub
[INFO 12:29:31.289440] Application.vala:155: GameHub version: 0.12.1
[INFO 12:29:31.289479] Application.vala:157: Kernel version: 4.18.20-1-MANJARO
GDBus.Error:org.freedesktop.DBus.Error.NotSupported: Application does not handle command line arguments
Nvm. I still get the original error. Not that new one.
Try to unpack AppImage and run it directly.
./GameHub-bionic-0.12.1-32-dev-46cf5b4-x86_64.AppImage --appimage-extract
cd squashfs-root/usr/
./bin/com.github.tkashkin.gamehub --debug
$ ./bin/com.github.tkashkin.gamehub --debug
[INFO 12:43:33.978340] Application.vala:155: GameHub version: 0.12.1
[INFO 12:43:33.978368] Application.vala:157: Kernel version: 4.18.20-1-MANJARO
[DEBUG 12:43:34.008390] Settings.vala:163: Loading settings from schema 'com.github.tkashkin.gamehub.paths.collection'
[DEBUG 12:43:34.008574] Settings.vala:163: Loading settings from schema 'com.github.tkashkin.gamehub.paths.collection.gog'
[DEBUG 12:43:34.008859] Utils.vala:85: [Utils.run] {'bash' '-c' 'rm -f /home/linus/Games/_Collection/GOG/*/.goutputstream-*'}; dir: '/home/linus'
[DEBUG 12:43:34.008878] [GLib] posix_spawn avoided (workdir specified) (fd close requested)
[DEBUG 12:43:34.012589] Settings.vala:163: Loading settings from schema 'com.github.tkashkin.gamehub.paths.collection.humble'
[DEBUG 12:43:34.012845] Utils.vala:85: [Utils.run] {'bash' '-c' 'rm -f /home/linus/Games/_Collection/Humble\ Bundle/*/.goutputstream-*'}; dir: '/home/linus'
[DEBUG 12:43:34.012872] [GLib] posix_spawn avoided (workdir specified) (fd close requested)
[DEBUG 12:43:34.016094] Database.vala:87: [Database.migrate] Latest db version: 5, current: 5
[DEBUG 12:43:34.016417] Settings.vala:163: Loading settings from schema 'com.github.tkashkin.gamehub.ui'
[ERROR 12:43:34.016532] [GLib-GIO] Settings schema 'com.github.tkashkin.gamehub.ui' does not contain a key named 'show-grid-icons'
[1] 2336 trace trap (core dumped) ./bin/com.github.tkashkin.gamehub --debug
Yes, that's expected, because some environment variables need to be setup or schemas need to be installed. Try this:
cd .. # you should be in squashfs-root
export APPDIR="`pwd`"
export GSETTINGS_SCHEMA_DIR="$APPDIR/usr/share/glib-2.0/schemas/:$GSETTINGS_SCHEMA_DIR"
cd usr
./bin/com.github.tkashkin.gamehub --debug
You may also need to export XDG_DATA_DIRS
.
Still gives me:
GLib-GIO] Settings schema 'com.github.tkashkin.gamehub.ui' does not contain a key named 'show-grid-icons'
Do you have non-AppImage version installed in system?
Try
export GSETTINGS_SCHEMA_DIR="$APPDIR/usr/share/glib-2.0/schemas/"
Very nice. This worked. Is this a specialty of my Arch/Manjaro system or will others encounter the same problem?
Probably some incompatibility with system and bundled libraries.
I suggest you to install a distro-specific package if available instead of using AppImage or flatpak. You can edit existing PKGBUILD from AUR to get latest build or ask @neuromancer how to do that.
I'm still thinking about taking over AUR packages myself or finding someone more interested than current maintainers. Maybe @neuromancer wants to maintain AUR package?
I have tried to run the AppImage on a clean Manjaro install and it worked out of the box. Maybe there is some stuff confused when it is installed through the package manager and as AppImage at the same time. I consider this solved. I think the solution is to either use one or the other but not both. However I did not take the time to confirm this.
You can edit existing PKGBUILD from AUR to get latest build or ask @neuromancer how to do that.
I'm still thinking about taking over AUR packages myself or finding someone more interested than current maintainers. Maybe @neuromancer wants to maintain AUR package?
I'm using my own fork of GameHub with additional patches, but I think it won't be a problem to maintain the official AUR package(s). I will take a look on how difficult is to get the ownership of it.
extra/hicolor-icon-theme is installed. I am running current Manjaro/Arch