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

[Crash report] Could not load a pixbuf from icon theme #590

Closed
QuinsZouls opened this issue Oct 3, 2021 · 9 comments
Closed

[Crash report] Could not load a pixbuf from icon theme #590

QuinsZouls opened this issue Oct 3, 2021 · 9 comments
Assignees
Labels

Comments

@QuinsZouls
Copy link

Describe the bug
Bottles AppImage image don't run

foo@bar:~$ ./Bottles-2021.9.28-treviso-x86_64_a63c2ca17b00736ef2eac61abf2c867d.AppImage  
Gtk-Message: 10:55:13.680: Failed to load module "colorreload-gtk-module"
Gtk-Message: 10:55:13.682: Failed to load module "window-decorations-gtk-module"
Gtk-Message: 10:55:13.683: Failed to load module "appmenu-gtk-module"
Gtk-Message: 10:55:13.687: Failed to load module "xapp-gtk3-module"

(bottles:78502): Gtk-WARNING **: 10:55:14.217: 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 /home/alfredo/.local/share/icons/Tela-circle-purple/16/actions/image-missing.svg: No se ha reconocido el formato de imagen del archivo (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /home/alfredo/.local/share/icons/Tela-circle-purple/16/actions/image-missing.svg: No se ha reconocido el formato de imagen del archivo (gdk-pixbuf-error-quark, 3)

Installation

  • Method: AppImage
  • Version 2021.9.28-treviso

To Reproduce
Steps to reproduce the behavior:

  1. Download lasted appimage of bottles in github
  2. Install and start bottles with terminal
  3. See error

Expected behavior
Bottles Open

Desktop (please complete the following information):

  • OS: Arch LInux

Additional context
WIth bottles installation form AUR i don't have any problem, I think it is fixed by installing the missing icon pack, but it is a very ambiguous solution so I suggest taking some default icons from the system.

@QuinsZouls QuinsZouls added the Bug label Oct 3, 2021
@QuinsZouls QuinsZouls changed the title Could not load a pixbuf from icon theme [Crash Report]Could not load a pixbuf from icon theme Oct 3, 2021
@QuinsZouls QuinsZouls changed the title [Crash Report]Could not load a pixbuf from icon theme [Crash report] Could not load a pixbuf from icon theme Oct 3, 2021
@mirkobrombin
Copy link
Member

We know there is a problem on first start. If you try again does it work or does it persist?

@QuinsZouls
Copy link
Author

I tried run again and it still not working, same error.

@mirkobrombin
Copy link
Member

mirkobrombin commented Oct 4, 2021

@QuinsZouls
Copy link
Author

I use xorg with KDE plasma with clear installation, also i tried with garuda linux and same error (bottles AppImage won't run).
I try clear cache and update icon database but it still not working.

System Info:

OS: Garuda Linux x86_64
Kernel: 5.14.8-zen1-1-zen
DE: Plasma 5.22.5
Theme: Breeze Dark [Plasma], Flat-Remix-GTK-Red
Icons: Tela-circle-purple [Plasma], Tela-circle

@mirkobrombin
Copy link
Member

Oh ok this is using KDE.. I will test with it

@pushqrdx
Copy link

@mirkobrombin I am still unable to use Bottle because of #230 it wasn't fixed and i just tried on a fresh debian system yet again and i get

(bottles:4704): Gtk-WARNING **: 20:57:03.882: 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: 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)
Aborted

i really don't know what kind of stupid decision on the gtk side might render some application unusable because of a missing pixmap

@pushqrdx
Copy link

pushqrdx commented Nov 16, 2021

export XDG_DATA_DIRS="$HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share"

Good lord, finally fixed it, make sure that XDG_DATA_DIRS is properly set

@mirkobrombin
Copy link
Member

export XDG_DATA_DIRS="$HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share"

Good lord, finally fixed it, make sure that XDG_DATA_DIRS is properly set

Oh fine! Maybe we will test it and provide that env with the AppImage.

@mirkobrombin
Copy link
Member

Closing until we find a new appimage maintainer. https://twitter.com/usebottles/status/1482656337918152708?s=21

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

No branches or pull requests

3 participants