GTK apps currently broken

On the latest nightly of Haiku, All GTK-based apps (GIMP, Inkscape, etc) all instantly crash upon being opened.
I tried running them in the terminal and they all seem to give similar errors about unrecognized file formats.

~> /system/apps/Inkscape
be_app signature: application/x-vnd.inkscape-inkscape
wl_ips_client_connected
display: 0x11a7105600d0
client: 0x11a71056e730

(<unknown>:5520): GLib-GIO-WARNING **: 09:27:50.752: Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile: Unable to find default local file monitor type

(org.inkscape.Inkscape:5520): Gtk-WARNING **: 09:27:51.169: Could not load image 'resources/canvas_aw.png': Couldn’t recognize the image file format for file “/packages/inkscape-1.2.1-1/.self/data/inkscape/ui/resources/canvas_aw.png”

(org.inkscape.Inkscape:5520): Gtk-WARNING **: 09:27:51.194: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.

(org.inkscape.Inkscape:5520): Gtk-WARNING **: 09:27:51.194: Could not load image 'resources/canvas_ad.png': Couldn’t recognize the image file format for file “/packages/inkscape-1.2.1-1/.self/data/inkscape/ui/resources/canvas_ad.png”

(org.inkscape.Inkscape:5520): Gtk-WARNING **: 09:27:51.194: Could not load image 'resources/canvas_cw.png': Couldn’t recognize the image file format for file “/packages/inkscape-1.2.1-1/.self/data/inkscape/ui/resources/canvas_cw.png”

...

(org.inkscape.Inkscape:5520): Gtk-WARNING **: 09:27:51.217: Could not load image '../pixmaps/user.png': Couldn’t recognize the image file format for file “/packages/inkscape-1.2.1-1/.self/data/inkscape/ui/../pixmaps/user.png”

(org.inkscape.Inkscape:5520): Gtk-WARNING **: 09:27:51.218: Could not load image '../pixmaps/support.png': Couldn’t recognize the image file format for file “/packages/inkscape-1.2.1-1/.self/data/inkscape/ui/../pixmaps/support.png”
**
Gtk:ERROR:../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /packages/inkscape-1.2.1-1/.self/data/inkscape/icons/multicolor/symbolic/actions/image-missing-symbolic.svg: 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 /packages/inkscape-1.2.1-1/.self/data/inkscape/icons/multicolor/symbolic/actions/image-missing-symbolic.svg: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Abort
1 Like

Do that and try again:

pkgman ins librsvg
rm -rf /boot/system/non-packaged/data/mime
rm -rf /boot/home/config/non-packaged/data/mime
gdk-pixbuf-query-loaders >/boot/system/settings/gdk-pixbuf-2.0/loaders.cache

But I would suggest adding my repository (https://haikuware.ru) and update/install gtk apps:

pkgman add-repo https://www.haikuware.ru/repo/lote
pkgman full-sync
6 Likes

GIMP started working only by adding your repo, didnt do anything else (+update ofc), it didnt work before… Nice job, whatever you do with your repo, it works. Thanks

I think there are the right dependencies available

2 Likes