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] can't launch appimage #5306

Open
superiums opened this issue May 10, 2024 · 4 comments
Open

[Bug] can't launch appimage #5306

superiums opened this issue May 10, 2024 · 4 comments

Comments

@superiums
Copy link

Bug Description

can't launch, display this msg:

./AppFlowy-0.5.6-linux-x86_64.AppImage                                                                                                   ✘ 1

(AppFlowy:9850): Gtk-WARNING **: 10:18:44.121: 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: 无法识别的图像文件格式 (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: 无法识别的图像文件格式 (gdk-pixbuf-error-quark, 3)
fish: Job 1, './AppFlowy-0.5.6-linux-x86_64.A…' terminated by signal SIGABRT (Abort)

How to Reproduce

download the appimage.

sudo chmod 755 appimage-file
./appimage-file

Expected Behavior

be launched.

Operating System

Arch Linux

AppFlowy Version(s)

0.5.6

Screenshots

No response

Additional Context

No response

@superiums
Copy link
Author

gdk-pixbuf2 2.42.11-2 was installed already.

@LucasXu0
Copy link
Collaborator

I did a search. Can you try this workaround?

wyyadd/LaLa#40 (comment)

export XDG_DATA_DIRS="/usr/local/share:/usr/share"
echo $XDG_DATA_DIRS
./XXXX.AppImage

@annieappflowy annieappflowy changed the title [Bug] [Bug] can't launch appimage May 10, 2024
@superiums
Copy link
Author

thanks for suggestion, i've tried to set XDG_DATA_DIRS, but not work.
also i've tried to refresh mime cache, still no lucky.

@si-erik
Copy link

si-erik commented May 14, 2024

Modern themes use svg for icons.
It seems like 'libpixbufloader-svg.so' is missing in the appimage, so it fails to load theme resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants