You are not logged in.

#1 2024-04-20 11:24:15

replabrobin
Member
Registered: 2010-05-06
Posts: 232

{SOLVED}: gdk-pixbuf2-2.42.11.1 causes problems in gvim-gtk2

I use gvim-gtk2 from the AUR. A recent update causes an upgrade gdk-pixbuf2-2.42.10-2 --> gdk-pixbuf2-2.42.11.1. I afterwhich I see these errors

(gvim:17647): GdkPixbuf-WARNING **: 12:19:31.428: Error loading XPM image loader: Image type “xpm” is not supported
...
(gvim:17647): GLib-GObject-CRITICAL **: 12:19:31.428: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
....

gvim appears to work, but lacks proper icons (which I assume must be xpm format).

If I downgrade to gdk-pixbuf2-2.42.10-2 then the errors disappear and the original icons work.

Last edited by replabrobin (2024-04-20 13:37:38)

Offline

#2 2024-04-20 12:44:37

progandy
Member
Registered: 2012-05-17
Posts: 5,203

Re: {SOLVED}: gdk-pixbuf2-2.42.11.1 causes problems in gvim-gtk2


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2024-04-20 13:37:11

replabrobin
Member
Registered: 2010-05-06
Posts: 232

Re: {SOLVED}: gdk-pixbuf2-2.42.11.1 causes problems in gvim-gtk2

thanks I'll mark as solved.

Offline

#4 2024-04-20 14:51:13

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,903
Website

Re: {SOLVED}: gdk-pixbuf2-2.42.11.1 causes problems in gvim-gtk2

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2024-04-20 15:54:05

psyclist
Member
From: Dar es Salaam, Tanzania
Registered: 2023-01-22
Posts: 1

Re: {SOLVED}: gdk-pixbuf2-2.42.11.1 causes problems in gvim-gtk2

This is not really an AUR issue, it's the same with all sorts of other GTK applications from `extra` such as GDM, Thunar and wofi.

I was bitten by the same bug today and thought I had screwed up `/usr/share/mime` permissions or something, so I tried the usual remedies

update-mime-database /usr/share/mime
gdk-pixbuf-query-loaders --update-cache

but to no avail. wofi for instance still could not load some image and crashed;

❯ wofi --show drun

(wofi:19079): Gtk-WARNING **: 18:41:06.191: Could not load a pixbuf from /org/gtk/libgtk/icons/16x16/status/edit-find-symbolic.symbolic.png.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:495: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)

I fixed it by downgrading to gtk-update-icon-cache-4.14.2-1 (and the same version gtk4 for good measure just because their versions are synced and it didn't seem a good idea to mix them) and gdk-pixbuf2-2.42.10-2.

Last edited by psyclist (2024-04-20 15:58:49)

Offline

Board footer

Powered by FluxBB