mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[GH-ISSUE #3836] [Bug] AppImage on PopOS 22.04 #1734
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#1734
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dentropy on GitHub (Oct 30, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3836
Originally assigned to: @LucasXu0 on GitHub.
Bug Description
I tried running your AppImage on PopOS 22.04 and got the following error
How to Reproduce
➜ Downloads ./AppFlowy-0.3.6-linux-x86_64.AppImage
OnLoad
Gtk-Message: 13:53:08.842: Failed to load module "canberra-gtk-module"
Gtk-Message: 13:53:08.854: Failed to load module "canberra-gtk-module"
(AppFlowy:80106): Gtk-WARNING **: 13:53:08.904: 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 /usr/share/icons/Pop/16x16/status/image-missing.svg: Unable to load image-loading module: libpixbufloader-svg.so: libpixbufloader-svg.so: cannot open shared object file: No such file or directory (gdk-pixbuf-error-quark, 5)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Pop/16x16/status/image-missing.svg: Unable to load image-loading module: libpixbufloader-svg.so: libpixbufloader-svg.so: cannot open shared object file: No such file or directory (gdk-pixbuf-error-quark, 5)
[1] 80106 IOT instruction (core dumped) ./AppFlowy-0.3.6-linux-x86_64.AppImage
➜ Downloads sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
[sudo] password for dentropy:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libcanberra-gtk3-module is already the newest version (0.30-10ubuntu1.22.04.1).
libcanberra-gtk3-module set to manually installed.
libcanberra-gtk-module is already the newest version (0.30-10ubuntu1.22.04.1).
libcanberra-gtk-module set to manually installed.
The following packages were automatically installed and are no longer required:
gcc-10-base gcc-10-base:i386 libssl1.1 vim-common vim-runtime
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
➜ Downloads ./AppFlowy-0.3.6-linux-x86_64.AppImage
OnLoad
Gtk-Message: 13:53:35.852: Failed to load module "canberra-gtk-module"
Gtk-Message: 13:53:35.864: Failed to load module "canberra-gtk-module"
(AppFlowy:80259): Gtk-WARNING **: 13:53:35.905: 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 /usr/share/icons/Pop/16x16/status/image-missing.svg: Unable to load image-loading module: libpixbufloader-svg.so: libpixbufloader-svg.so: cannot open shared object file: No such file or directory (gdk-pixbuf-error-quark, 5)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Pop/16x16/status/image-missing.svg: Unable to load image-loading module: libpixbufloader-svg.so: libpixbufloader-svg.so: cannot open shared object file: No such file or directory (gdk-pixbuf-error-quark, 5)
[1] 80259 IOT instruction (core dumped) ./AppFlowy-0.3.6-linux-x86_64.AppImage
➜ Downloads
Expected Behavior
Start the program
Operating System
Pop OS 22.04
AppFlowy Version(s)
Downloaded on Oct 30 2023
Screenshots
Additional Context
No response
@LucasXu0 commented on GitHub (Oct 31, 2023):
Hi, @dentropy. Did you install the AppImageLauncher?
@Zszywek commented on GitHub (Nov 13, 2023):
Got the same thing, even though it worked before. I haven't used any AppImage launchers or updaters
@leleogere commented on GitHub (Nov 15, 2023):
Same bug, I'm using AppImageLauncher
@msiyer commented on GitHub (Nov 20, 2023):
Exact same behavior observed on openSUSE Tumbleweed.
@wesleybliss commented on GitHub (Nov 21, 2023):
Same issue on Fedora 38 also
@eljamm commented on GitHub (Dec 14, 2023):
I also encountered this problem under PopOS 22.04. The problem is that
libpixbufloader-svg.sois missing from the AppImage's library folder. A temporary fix would be to:librsvg2-commonpackage to be installed)First, you should modify the desktop file in
./squashfs-root/io.appflowy.AppFlowy.desktopand remove.svgfrom the icon name:Then, you can proceed using the tool:
The result is an AppImage file which should launch normally:
@ElDavoo commented on GitHub (Feb 3, 2024):
Same issue on Gentoo, workaround by eljamm worked
@josineto commented on GitHub (Feb 21, 2024):
Almost same issue, without the canberra error, only pixbuf message. Using 0.4.9:
@cuervolu commented on GitHub (Mar 8, 2024):
Same issue on EndeavourOS with KDE Plasma 6, the workaround by eljamm worked
@Ovear commented on GitHub (Aug 17, 2024):
I can reproduce this issue and have partially resolved by using the workaround provided by eljamm on EndeavourOS/Arch Linux with KDE Plasma 6.
@Ovear commented on GitHub (Aug 17, 2024):
This issues may also resolved by running the AppImage with
GDK_BACKEND=x11on WayLand, without modifying AppImage itself.I also found an alternative solution that doesn't reuqire adding a file to the AppImage and works with Wayland, provided you have
gdk-pixbufinstalled on your system. Unfortunately, the AppImage version doesn't work with Wayland on my system, but I observed that this error was resolved. This solution might still be helpful for others encountering the same issue.After extracting the AppImage, simply comment out the
GDK_PIXBUF_MODULE_FILEline in squashfs-root/AppRun.env. That line should look like this: