all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* evince: Is this a bug?
@ 2023-05-02  1:43 jgart
  2023-05-02  1:52 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: jgart @ 2023-05-02  1:43 UTC (permalink / raw)
  To: guix-devel

Is this a bug?

$ evince

(evince:8881): Gtk-WARNING **: 20:41:52.851: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /gnu/store/vkcl29s7qcfgqz1cs6lab98fyxsxyczx-adwaita-icon-theme-43/share/icons/Adwaita/48x48/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /gnu/store/vkcl29s7qcfgqz1cs6lab98fyxsxyczx-adwaita-icon-theme-43/share/icons/Adwaita/48x48/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)

I have gnome-desktop-service running fine that brought with it evince


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: evince: Is this a bug?
  2023-05-02  1:43 evince: Is this a bug? jgart
@ 2023-05-02  1:52 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
  2023-05-07  1:59 ` Leo Famulari
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 12+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2023-05-02  1:52 UTC (permalink / raw)
  To: jgart; +Cc: guix-devel

Hi,

On Mon, May 1, 2023 at 6:44 PM jgart <jgart@dismail.de> wrote:
>
> (evince:8881): Gtk-WARNING **: 20:41:52.851: Could not load a pixbuf from icon theme.
> This may indicate that pixbuf loaders or the mime database could not be found.

I do not see any messages with Evince under EXWM (i.e. no GNOME). I
would make sure gdk-pixbuf is installed, as well as
adwaita-icon-theme, gnome-theme-extras and gnome-themes-standard.

Also, this message [1] seems to indicate that your Gtk is not
installed, or not being found.

Kind regards
Felix

[1] https://stackoverflow.com/questions/67745085/gtk-how-can-i-fix-this-problem-could-not-load-a-pixbuf-from-org-gtk-libgtk-ic


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: evince: Is this a bug?
  2023-05-02  1:43 evince: Is this a bug? jgart
  2023-05-02  1:52 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
@ 2023-05-07  1:59 ` Leo Famulari
  2023-05-07  2:31 ` jgart
  2023-05-08  6:59 ` Lars-Dominik Braun
  3 siblings, 0 replies; 12+ messages in thread
From: Leo Famulari @ 2023-05-07  1:59 UTC (permalink / raw)
  To: jgart; +Cc: guix-devel

On Tue, May 02, 2023 at 01:43:35AM +0000, jgart wrote:
> Is this a bug?
> 
> $ evince
> 
> (evince:8881): Gtk-WARNING **: 20:41:52.851: Could not load a pixbuf from icon theme.
> This may indicate that pixbuf loaders or the mime database could not be found.
> **
> Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /gnu/store/vkcl29s7qcfgqz1cs6lab98fyxsxyczx-adwaita-icon-theme-43/share/icons/Adwaita/48x48/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
> Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /gnu/store/vkcl29s7qcfgqz1cs6lab98fyxsxyczx-adwaita-icon-theme-43/share/icons/Adwaita/48x48/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
> 
> I have gnome-desktop-service running fine that brought with it evince

Did this start happening after the recent merge of core-updates?


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: evince: Is this a bug?
  2023-05-02  1:43 evince: Is this a bug? jgart
  2023-05-02  1:52 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
  2023-05-07  1:59 ` Leo Famulari
@ 2023-05-07  2:31 ` jgart
  2023-05-07  3:14   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
  2023-05-07  5:23   ` jgart
  2023-05-08  6:59 ` Lars-Dominik Braun
  3 siblings, 2 replies; 12+ messages in thread
From: jgart @ 2023-05-07  2:31 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

Yep ;(


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: evince: Is this a bug?
  2023-05-07  2:31 ` jgart
@ 2023-05-07  3:14   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
  2023-05-07  5:23   ` jgart
  1 sibling, 0 replies; 12+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2023-05-07  3:14 UTC (permalink / raw)
  To: jgart; +Cc: Leo Famulari, guix-devel

Hi jgart,

On Sat, May 6, 2023 at 7:31 PM jgart <jgart@dismail.de> wrote:
>
> Yep ;(

Is your XDG_DATA_DIR set (and does it point to a folder that exists)? [1]

Kind regards
Felix

[1] https://askubuntu.com/a/1388056


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: evince: Is this a bug?
  2023-05-07  2:31 ` jgart
  2023-05-07  3:14   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
@ 2023-05-07  5:23   ` jgart
  2023-05-07  5:36     ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
  2023-05-08 15:10     ` jgart
  1 sibling, 2 replies; 12+ messages in thread
From: jgart @ 2023-05-07  5:23 UTC (permalink / raw)
  To: Felix Lechner; +Cc: Leo Famulari, guix-devel

Hi Felix,

It's not set. What should I set it to?

I tried the following:

export XDG_DATA_DIRS="/home/jgart/.config/gajim"

but didn't work when I tried to launch gajim


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: evince: Is this a bug?
  2023-05-07  5:23   ` jgart
@ 2023-05-07  5:36     ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
  2023-05-08 15:10     ` jgart
  1 sibling, 0 replies; 12+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2023-05-07  5:36 UTC (permalink / raw)
  To: jgart; +Cc: Leo Famulari, guix-devel

Hi jgart,

On Sat, May 6, 2023 at 10:23 PM jgart <jgart@dismail.de> wrote:
>
> It's not set. What should I set it to?

As a user of Guix Home, I have this. Please note the reference to
shared-mime-info (even though it appears twice).

XDG_DATA_DIRS=/gnu/store/7z9cgiq7dkajqfk991lniv77s1kbag28-shared-mime-info-1.15/share:/gnu/store/nb40pwd37v6i1g4b1fq4l6q4h9px3asr-glib-2.72.3/share:/gnu/store/3cl87br64f94fr6w45cpwzyn1kv9ma2p-gtk+-3.24.37/share:/gnu/store/0hw1nb3himdjzj5mvn9a7n3kgvqi1j96-emacs-28.2/share:/gnu/store/7z9cgiq7dkajqfk991lniv77s1kbag28-shared-mime-info-1.15/share:/gnu/store/nb40pwd37v6i1g4b1fq4l6q4h9px3asr-glib-2.72.3/share:/gnu/store/3cl87br64f94fr6w45cpwzyn1kv9ma2p-gtk+-3.24.37/share:/gnu/store/0hw1nb3himdjzj5mvn9a7n3kgvqi1j96-emacs-28.2/share:/home/lechner/.guix-home/profile/share:/home/lechner/.guix-home/profile/share:/home/lechner/.guix-profile/share:/run/current-system/profile/share:/home/lechner/.guix-profile/share:/run/current-system/profile/share

Kind regards
Felix


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: evince: Is this a bug?
  2023-05-02  1:43 evince: Is this a bug? jgart
                   ` (2 preceding siblings ...)
  2023-05-07  2:31 ` jgart
@ 2023-05-08  6:59 ` Lars-Dominik Braun
  2023-05-08 16:07   ` Josselin Poiret
  2023-05-08 18:11   ` jgart
  3 siblings, 2 replies; 12+ messages in thread
From: Lars-Dominik Braun @ 2023-05-08  6:59 UTC (permalink / raw)
  To: jgart; +Cc: guix-devel

Hi,

> Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /gnu/store/vkcl29s7qcfgqz1cs6lab98fyxsxyczx-adwaita-icon-theme-43/share/icons/Adwaita/48x48/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
> Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /gnu/store/vkcl29s7qcfgqz1cs6lab98fyxsxyczx-adwaita-icon-theme-43/share/icons/Adwaita/48x48/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)

I’ve noticed this too with several GTK+ programs. The
problem seems to be that GDK_PIXBUF_MODULE_FILE is set to
/home/<user>/.config/guix/current/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache.
When I change it to refer to ~/.guix-profile instead it works. Not sure
how ~/.config/guix got in there though…

Cheers,
Lars



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: evince: Is this a bug?
  2023-05-07  5:23   ` jgart
  2023-05-07  5:36     ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
@ 2023-05-08 15:10     ` jgart
  2023-05-08 15:56       ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
  1 sibling, 1 reply; 12+ messages in thread
From: jgart @ 2023-05-08 15:10 UTC (permalink / raw)
  To: Felix Lechner; +Cc: Leo Famulari, guix-devel

Hi Felix, can you share the s-expression form(s) that generated those paths in your guix home config?

all best,

jgart


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: evince: Is this a bug?
  2023-05-08 15:10     ` jgart
@ 2023-05-08 15:56       ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
  0 siblings, 0 replies; 12+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2023-05-08 15:56 UTC (permalink / raw)
  To: jgart; +Cc: Leo Famulari, guix-devel

Hi jgart,

On Mon, May 8, 2023 at 8:10 AM jgart <jgart@dismail.de> wrote:
>
> can you share the s-expression form(s) that generated those paths in your guix home config?

I got the value from 'env' in Bash. It probably got there via the
mechanics of my Guix Home configuration, which you can find here. [1]
The relevant Bash parts are nearby. [2][3][4]

Sorry I cannot be more helpful.

Kind regards
Felix

[1] https://codeberg.org/lechner/home-config/src/branch/history/desk.scm
[2] https://codeberg.org/lechner/home-config/src/branch/history/service/bash.scm
[3] https://codeberg.org/lechner/home-config/src/branch/history/bash/.bashrc
[4] https://codeberg.org/lechner/home-config/src/branch/history/bash/.bash_profile


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: evince: Is this a bug?
  2023-05-08  6:59 ` Lars-Dominik Braun
@ 2023-05-08 16:07   ` Josselin Poiret
  2023-05-08 18:11   ` jgart
  1 sibling, 0 replies; 12+ messages in thread
From: Josselin Poiret @ 2023-05-08 16:07 UTC (permalink / raw)
  To: Lars-Dominik Braun, jgart; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]

Hi Lars,

Lars-Dominik Braun <lars@6xq.net> writes:

> I’ve noticed this too with several GTK+ programs. The
> problem seems to be that GDK_PIXBUF_MODULE_FILE is set to
> /home/<user>/.config/guix/current/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache.
> When I change it to refer to ~/.guix-profile instead it works. Not sure
> how ~/.config/guix got in there though…

You might need to explicitely add gdk-pixbuf to your profile, otherwise
this environment variable is not set as you experienced.  It should be
propagated by enough packages to appear by itself, but that might not be
true for everyone's choice of packages.

Best,
-- 
Josselin Poiret

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: evince: Is this a bug?
  2023-05-08  6:59 ` Lars-Dominik Braun
  2023-05-08 16:07   ` Josselin Poiret
@ 2023-05-08 18:11   ` jgart
  1 sibling, 0 replies; 12+ messages in thread
From: jgart @ 2023-05-08 18:11 UTC (permalink / raw)
  To: Josselin Poiret, Lars-Dominik Braun; +Cc: guix-devel

guix install gdk-pixbuf
The following package will be installed:
   gdk-pixbuf 2.42.8

guix install: error: profile contains conflicting entries for glib
guix install: error:   first entry: glib@2.72.3 /gnu/store/nb40pwd37v6i1g4b1fq4l6q4h9px3asr-glib-2.72.3
guix install: error:    ... propagated from gdk-pixbuf@2.42.8
guix install: error:   second entry: glib@2.70.2 /gnu/store/z6c305j8xvhvizvnyp5961gssmw3zjr2-glib-2.70.2
guix install: error:    ... propagated from dconf@0.40.0
guix install: error:    ... propagated from gajim@1.4.7
hint: Try upgrading both `gdk-pixbuf' and `gajim', or remove one of
them from the profile.

The only issue with upgrading gajim is that it is currently broken at the latest one...

Any suggestions here?


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-05-08 18:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-02  1:43 evince: Is this a bug? jgart
2023-05-02  1:52 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-05-07  1:59 ` Leo Famulari
2023-05-07  2:31 ` jgart
2023-05-07  3:14   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-05-07  5:23   ` jgart
2023-05-07  5:36     ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-05-08 15:10     ` jgart
2023-05-08 15:56       ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-05-08  6:59 ` Lars-Dominik Braun
2023-05-08 16:07   ` Josselin Poiret
2023-05-08 18:11   ` jgart

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.