Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] AppImage won't start #1124

Open
2 tasks done
Drsheppard01 opened this issue Feb 7, 2024 · 2 comments
Open
2 tasks done

[Bug] AppImage won't start #1124

Drsheppard01 opened this issue Feb 7, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Drsheppard01
Copy link

Drsheppard01 commented Feb 7, 2024

Before submitting an issue, please check the following

  • I have searched for similar issues (both open and closed) and cannot find a duplicate
  • I agree to follow the Code of Conduct

Describe the bug

When i try to start Saber AppImage i get output:

(saber:10555): Gtk-WARNING **: 06:33:37.693: Could not load a pixbuf from icon theme.
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: Unrecognized 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: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
[1]    10555 IOT instruction (core dumped)  /home/(my name)/Applications/Saber-0.19.2-x86_64.AppImage

To reproduce

  1. Download AppImage
  2. Execute AppImage
  3. Get wrong

Expected behavior

  1. Download AppImage
  2. Execute AppImage
  3. Be happy

Saber version

0.19.2-x86_64.AppImage

Device

  • Device: Laptop
  • OS: Fedora 39
  • GTK3 version 3.24.41
  • GTK4 version: 4.12.4

Anything else?

I looked at the path that's used before the icon and it looks like it's ./gtk/gtk/icons https://github.com/GNOME/gtk/tree/main/gtk/icons

Related issue: AppImage/AppImageKit/issues/481
Resolve: https://github.com/AppImageCrafters/AppRun/blob/master/docs/USAGE.md#recommended-environment-entries

@Drsheppard01 Drsheppard01 added the bug Something isn't working label Feb 7, 2024
@Drsheppard01
Copy link
Author

I see that the GTK_PATH variable refers to /usr/lib/x86_64-linux-gnu/gtk-3.0, which is missing from the /usr/lib/x86_64-linux-gnu/ directory in the unzipped appimage, also the icons are in /usr/share/icons/Humanity/status and the image-missing file has svg instead of png resolution

@Drsheppard01
Copy link
Author

After a little investigation I just added the directories /usr/share/ and /usr/local/share and the application ran
Now the line looks like: XDG_DATA_DIRS=$APPDIR/usr/share:$APPDIR/usr/local/share:/usr/share:$XDG_DATA_DIRS

Drsheppard01 added a commit to Drsheppard01/saber that referenced this issue Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant