davidk / PrusaSlicer-ARM.AppImage

PrusaSlicer packaged in a ARM AppImage. Pre-built AppImages located within releases.
https://github.com/davidk/PrusaSlicer-ARM.AppImage/releases
MIT License
58 stars 10 forks source link

PrusaSlicer-version_2.6.0-alpha6-aarch64.AppImage doesn' t start #28

Closed WilliamHJKL closed 3 months ago

WilliamHJKL commented 1 year ago

Description of the issue

Steps to reproduce the reported issue (if applicable)

[2023-04-16 18:00:00.641626] [0x0000007fac61d040] [trace] Initializing StaticPrintConfigs

(prusa-slicer:16888): Gtk-WARNING **: 18:00:05.473: Could not find the icon 'dialog-question'. The 'hicolor' theme was not found either, perhaps you need to install it. You can get a copy from: http://icon-theme.freedesktop.org/releases

(prusa-slicer:16888): Gtk-WARNING : 18:00:11.282: Could not load a pixbuf from /org/gtk/libgtk/icons/16x16/status/image-missing.png. This may indicate that pixbuf loaders or the mime database could not be found. Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognised image file format (gdk-pixbuf-error-quark, 3) Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognised image file format (gdk-pixbuf-error-quark, 3) Aborted

hicolor-icon-theme is installed on the system. Tested with 2.5.1 and 2.5.2 minimal AppImage, same results, same error messages.

davidk commented 1 year ago

Hello, Thank you for the information! The AppImages are tested against the full desktop version of Raspbian/Raspberry Pi OS.. so there may be additional setup steps missing on Lite even after conversion to an i3 desktop.

My best guess from the error message is that the libpng loader is not being found. Please try running the following to see if it fixes the issue:

sudo update-mime-database /usr/share/mime
sudo /usr/lib/arm-linux-gnueabihf/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache

Prepending strace -e trace=openat should give more information if more dependencies are missing.

WilliamHJKL commented 1 year ago

Hello,

No luck after trying running

prusa.log

Thanks.

davidk commented 1 year ago

Thanks for the log, I brought up a fresh install of Raspberry Pi OS Lite 64-bit to debug and further reproduce the issue.. I'm able to start the GUI with the following line: XDG_DATA_DIRS="/usr/share" ./PrusaSlicer-version_2.5.2-aarch64.AppImage

Is XDG_DATA_DIRS set to something appropriate? If not please try the line above to see if that brings up the GUI -- this is normally set in the full distribution, but was not when going from a Lite to i3 desktop

WilliamHJKL commented 1 year ago

XDG_DATA_DIRS is not set ... Defining it before running PrusaSlicer solves the problem. Thx. I just need to find which package|script defines it in the full distribution....

davidk commented 3 months ago

Hello, Closing this issue as resolved, please re-open if needed.