GTK3 says "Couldn't recognize the image file format for file" for SVG files

Bug #799505 reported by Boudhayan Gupta
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-themes-standard (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: gnome-themes-standard

I'm running Oneiric.

Half the images in all GTK3 apps are missing (a blue square is displayed in place of a checkbox, the buttons look weird etc.)

Here's what the Terminal says when I launch Empathy:

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets.css:645:65: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/checkbox-menuitem-checked.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets.css:649:74: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/checkbox-menuitem-checked-selected.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets.css:653:62: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/radio-menuitem-checked.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets.css:657:71: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/radio-menuitem-checked-selected.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:9:58: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/checkbox-unchecked.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:15:70: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/checkbox-unchecked-insensitive.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:21:56: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/checkbox-checked.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:28:68: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/checkbox-checked-insensitive.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:34:54: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/checkbox-mixed.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:40:56: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/radio-unselected.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:46:68: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/radio-unselected-insensitive.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:52:54: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/radio-selected.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:58:66: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/radio-selected-insensitive.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:64:51: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/radio-mixed.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:68:56: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/entry-border-normal.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:72:57: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/entry-border-focused.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:77:61: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/trough-border-horizontal.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:81:59: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/trough-border-vertical.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:86:68: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/trough-active-border-horizontal.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:90:66: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/trough-active-border-vertical.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:94:57: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/switch-slider-border.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:98:64: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/switch-slider-active-border.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:107:55: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/progressbar-border.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:111:63: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/scale-slider-horizontal.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:115:75: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/scale-slider-horizontal-insensitive.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:119:61: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/scale-slider-vertical.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:123:73: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/scale-slider-vertical-insensitive.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:127:75: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-above-horizontal.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:131:87: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-above-horizontal-insensitive.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:135:73: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-above-vertical.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:139:85: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-above-vertical-insensitive.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:143:75: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-below-horizontal.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:147:87: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-below-horizontal-insensitive.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:151:73: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-below-vertical.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:155:85: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-below-vertical-insensitive.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:159:50: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/button-border.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:166:57: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/button-active-border.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:170:58: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/button-default-border.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:177:73: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/primary-toolbar-button-active-border.svg'

(empathy:10491): Gtk-WARNING **: Theme parsing error: /usr/share/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css:182:73: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/primary-toolbar-raised-button-border.svg'

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Thank you for reporting this bug. Ubuntu has had a lot of changes since you filed this bug. Is this bug still present in the latest version of Ubuntu Oneiric?

Changed in gnome-themes-standard (Ubuntu):
status: New → Incomplete
Revision history for this message
Lukas Hejtmanek (xhejtman) wrote :

This is most probably caused by wrong /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache file. Try:
gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to regenerate it.

Check:
$ grep svg /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so"
"svg" 2 "gdk-pixbuf" "Scalable Vector Graphics" "LGPL"

and also make sure, I have librsvg2-common package.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gnome-themes-standard (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-themes-standard (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Tomasz Melcer (liori) wrote :

Reinstallation of the relevant package (`apt-get install --reinstall libgdk-pixbuf2.0-0` or `aptitude reinstall libgdk-pixbuf2.0-0`) also helps.

I'm noting that because almost two years later I've got bitten by this problem on my Debian SID installation after a system upgrade—there seems to be something that makes this cache misgenerated during upgrades.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.