Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • inkscape inkscape
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,652
    • Issues 1,652
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 140
    • Merge requests 140
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • InkscapeInkscape
  • inkscapeinkscape
  • Issues
  • #2969
Closed
Open
Issue created Dec 04, 2021 by Valentin Valls@vallsv

Appimage fails if the pixbuf loaders/mime database missing (e.g. usually /usr/share/mime)

Hi,

Summary:

I was trying to use Inkscape inside a Docker container.

On my main computer this AppImage is working well, but on the docker it was not working at all.

It appears that the gdk-pixbuf modules are not properly discovered.

The AppImage probably works on my main station because it loads the gdk-pixbuf modules from the system, and not from the AppImage.

Steps to reproduce:

Launch docker

sudo docker run -i -t continuumio/miniconda3 /bin/bash

Setup the env

apt-get update && apt-get -y install wget xvfb libxi6
wget --no-verbose https://inkscape.org/gallery/item/29256/Inkscape-3bf5ae0-x86_64.AppImage
chmod +x Inkscape-3bf5ae0-x86_64.AppImage
export INKSCAPE=./Inkscape-3bf5ae0-x86_64.AppImage
export APPIMAGE_EXTRACT_AND_RUN=1
xvfb-run -a -s "-screen 0 1400x900x24 +extension RANDR" -- $INKSCAPE

Launch the Inkscape

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.778: Could not load image 'resources/canvas_aw.png': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/canvas_aw.png”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.779: 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:1934): Gtk-WARNING **: 16:11:25.779: Could not load image 'resources/canvas_ad.png': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/canvas_ad.png”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.779: Could not load image 'resources/canvas_cw.png': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/canvas_cw.png”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.779: Could not load image 'resources/canvas_cd.png': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/canvas_cd.png”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.779: Could not load image 'resources/canvas_sw.png': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/canvas_sw.png”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.779: Could not load image 'resources/template_about.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_about.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.780: Could not load image 'resources/template_icon_square.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_icon_square.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.780: Could not load image 'resources/template_icon_square.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_icon_square.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.780: Could not load image 'resources/template_icon_square.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_icon_square.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.780: Could not load image 'resources/template_icon_square.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_icon_square.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.780: Could not load image 'resources/template_icon_square.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_icon_square.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.780: Could not load image 'resources/template_icon_square.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_icon_square.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.780: Could not load image 'resources/template_businesscard_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_businesscard_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.781: Could not load image 'resources/template_print_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.781: Could not load image 'resources/template_print_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.781: Could not load image 'resources/template_print_US_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_US_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.781: Could not load image 'resources/template_print_US_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_US_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.781: Could not load image 'resources/template_print_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.781: Could not load image 'resources/template_print_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.782: Could not load image 'resources/template_print_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.782: Could not load image 'resources/template_print_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.782: Could not load image 'resources/template_print_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.782: Could not load image 'resources/template_print_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.782: Could not load image 'resources/template_print_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.782: Could not load image 'resources/template_print_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.782: Could not load image 'resources/template_print_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.783: Could not load image 'resources/template_print_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.783: Could not load image 'resources/template_businesscard_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_businesscard_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.783: Could not load image 'resources/template_businesscard_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_businesscard_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.783: Could not load image 'resources/template_businesscard_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_businesscard_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.783: Could not load image 'resources/template_businesscard_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_businesscard_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.783: Could not load image 'resources/template_businesscard_square.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_businesscard_square.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.783: Could not load image 'resources/template_businesscard_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_businesscard_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.784: Could not load image 'resources/template_businesscard_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_businesscard_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.784: Could not load image 'resources/template_businesscard_square.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_businesscard_square.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.784: Could not load image 'resources/template_envelope_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_envelope_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.784: Could not load image 'resources/template_print_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.784: Could not load image 'resources/template_envelope_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_envelope_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.784: Could not load image 'resources/template_print_US_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_US_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.784: Could not load image 'resources/template_print_US_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_US_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.785: Could not load image 'resources/template_print_US_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_US_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.785: Could not load image 'resources/template_print_US_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_print_US_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.785: Could not load image 'resources/template_desktop_hd_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_desktop_hd_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.785: Could not load image 'resources/template_desktop_hd_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_desktop_hd_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.785: Could not load image 'resources/template_desktop_hd_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_desktop_hd_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.785: Could not load image 'resources/template_desktop_hd_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_desktop_hd_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.786: Could not load image 'resources/template_desktop_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_desktop_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.786: Could not load image 'resources/template_mobile_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_mobile_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.786: Could not load image 'resources/template_mobile_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_mobile_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.786: Could not load image 'resources/template_mobile_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_mobile_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.786: Could not load image 'resources/template_tablet_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_tablet_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.786: Could not load image 'resources/template_tablet_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_tablet_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.786: Could not load image 'resources/template_social_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.787: Could not load image 'resources/template_social_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.787: Could not load image 'resources/template_social_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.787: Could not load image 'resources/template_social_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.787: Could not load image 'resources/template_social_square.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_square.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.787: Could not load image 'resources/template_social_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.787: Could not load image 'resources/template_social_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.787: Could not load image 'resources/template_social_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.787: Could not load image 'resources/template_social_square.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_square.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.788: Could not load image 'resources/template_social_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.788: Could not load image 'resources/template_social_square.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_square.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.788: Could not load image 'resources/template_social_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.788: Could not load image 'resources/template_social_square.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_square.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.788: Could not load image 'resources/template_social_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.788: Could not load image 'resources/template_social_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.789: Could not load image 'resources/template_social_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.789: Could not load image 'resources/template_social_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.789: Could not load image 'resources/template_social_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.789: Could not load image 'resources/template_social_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.789: Could not load image 'resources/template_social_square.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_square.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.789: Could not load image 'resources/template_social_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.789: Could not load image 'resources/template_social_portrait.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_portrait.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.789: Could not load image 'resources/template_social_square.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_social_square.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.790: Could not load image 'resources/template_video_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_video_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.790: Could not load image 'resources/template_video_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_video_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.790: Could not load image 'resources/template_video_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_video_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.790: Could not load image 'resources/template_video_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_video_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.790: Could not load image 'resources/template_video_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_video_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.790: Could not load image 'resources/template_video_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_video_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.790: Could not load image 'resources/template_video_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_video_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.790: Could not load image 'resources/template_video_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_video_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.791: Could not load image 'resources/template_video_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_video_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.791: Could not load image 'resources/template_video_landscape.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/resources/template_video_landscape.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.791: Could not load image '../screens/start-welcome.png': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/../screens/start-welcome.png”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.792: Could not load image '../screens/start-welcome-text.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/../screens/start-welcome-text.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.792: Could not load image '../screens/start-support.png': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/../screens/start-support.png”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.793: Could not load image '../screens/start-splash.png': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/../screens/start-splash.png”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.798: Could not load image '../pixmaps/user.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/../pixmaps/user.svg”

(org.inkscape.Inkscape:1934): Gtk-WARNING **: 16:11:25.799: Could not load image '../pixmaps/support.svg': Couldn’t recognize the image file format for file “/tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/ui/../pixmaps/support.svg”
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/icons/hicolor/scalable/actions/image-missing.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 /tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/icons/hicolor/scalable/actions/image-missing.svg: Unrecognized image file format (gdk-pixbuf-error-quark, 3)

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at https://inkscape.org/report
with a detailed description of the steps leading to the crash, so we can fix it.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/icons/hicolor/scalable/actions/image-missing.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 /tmp/appimage_extracted_5e935291c0e26f65d7f0792ebdaba24a/usr/share/inkscape/icons/hicolor/scalable/actions/image-missing.svg: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Aborted (core dumped)

Work around

Install gdk-pixbuf in the docker

apt install libgdk-pixbuf2.0-0

Now inskape is working well

(base) root@5a59e2ca39eb:/# xvfb-run -a -s "-screen 0 1400x900x24 +extension RANDR" -- $INKSCAPE
Setting _INKSCAPE_GC=disable as a workaround for broken libgc
^C
Edited Dec 04, 2021 by Nathan Lee
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking