rimpy-custom / RimPy

Mod Manager For Rimworld game
421 stars 49 forks source link

Linux version crashes when attempting to select game path #110

Open hazelnot opened 1 year ago

hazelnot commented 1 year ago

The Linux version crashes with no error message when attempting to select the game's path. Terminal output:

$ ./RimPy
Fontconfig error: "/home/hazelnot/.config/fontconfig/fonts.conf", line 86: no element found
Sandboxing disabled by user.
js: Uncaught ReferenceError: qt is not defined
2.8930743019991496
js: Failed to report error: ReportError() was called without an error to report.
js: Uncaught TypeError: Cannot read property 'lastChild' of undefined
js: Failed to report error: ReportError() was called without an error to report.
js: Uncaught TypeError: Cannot read property 'parentElement' of null

(RimPy:90209): Gtk-WARNING **: 19:53:38.732: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Papirus/16x16/actions/image-missing.svg: Unable to load image-loading module: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /usr/lib/librsvg-2.so.2: undefined symbol: pango_attr_overline_color_new (gdk-pixbuf-error-quark, 5)
Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Papirus/16x16/actions/image-missing.svg: Unable to load image-loading module: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /usr/lib/librsvg-2.so.2: undefined symbol: pango_attr_overline_color_new (gdk-pixbuf-error-quark, 5)
zsh: IOT instruction (core dumped)  ./RimPy
mogsor commented 1 year ago

This is a missing icon error. No idea why this can happen, but switching your icon theme to adwaita will fix it

hazelnot commented 1 year ago

The weirdest thing is that on my laptop this doesn't happen, and I use the same icon theme there too. The main difference is that I use Endeavour OS on my desktop and Fedora on the laptop.

imoBooze commented 1 year ago

I also used EndeavourOS and experienced this problem. The issue seems to appear when attempting to select a path for anything. It persists even after switching my icon theme to Adwaita.

xaqbr commented 1 year ago

I also used EndeavourOS and experienced this problem. The issue seems to appear when attempting to select a path for anything. It persists even after switching my icon theme to Adwaita.

Have you logged out / rebooted? The issue was resolved for me after rebooting and switching to Adwaita, which means this is more a bug for maintainers to fix.

I also came across this potential fix, YMMV:

sudo mkdir -p /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0
sudo ln -s /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
Miacelium commented 9 months ago

Issue still persists on a fresh Endeavouros_Cassini_Nova-03-2023_R3 install.

Tried switching to awaita icon theme and tried linking loaders.cache, no success.

Lippiece commented 8 months ago

The same thing happens when I press "Setup steamcmd".