| Summary: | app-emulation/virt-manager-0.8.7: virt-manager app does not start, cannot recognize image format for virt-manager-icon.svg | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Thomas Fischer <fischer> |
| Component: | Current packages | Assignee: | Virtualization Team <virtualization> |
| Status: | RESOLVED INVALID | ||
| Severity: | major | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Just to clarify: - did you use the ebuild in the tree for virt-manager or did you "tweak" it ? - did librsvg install libpixbufloader-svg.so ? (In reply to comment #1) > Just to clarify: > - did you use the ebuild in the tree for virt-manager or did you "tweak" it ? I am using the ebuild as I sync'ed it from the official tree. The CVS header looks like this: # $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-0.8.7.ebuild,v 1.1 2011/03/28 08:40:20 flameeyes Exp $ > - did librsvg install libpixbufloader-svg.so ? # locate libpixbufloader-svg.so /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-svg.so # equery b /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-svg.so [ Searching for file(s) /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-svg.so in *... ] gnome-base/librsvg-2.32.1 (/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-svg.so) # ls -l /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-svg.* -rwxr-xr-x 1 root root 1366 Mar 4 08:46 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-svg.la -rwxr-xr-x 1 root root 5392 Mar 4 08:46 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-svg.so I run python and virt-manager via strace. Nothing interesting to see, the svg file is read without problems (as far as I can tell). I cannot see any obvious errors here. Any ideas? Actually, there is an obvious error, right here: /usr/lib/gtk-2.0/2.10.0/loaders/ ever since upstream split it, it should be /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/ Reemerge librsvg. If you have anything else in the old dir, reemerge that too. (In reply to comment #3) > Actually, there is an obvious error, right here: > /usr/lib/gtk-2.0/2.10.0/loaders/ > ever since upstream split it, it should be > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/ > > Reemerge librsvg. > If you have anything else in the old dir, reemerge that too. Yes, this solved this problem. From emerge's output: >>> /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so [...] <<< obj /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-svg.so |
Having avoided to install any Gnome packages before, I installed app-emulation/virt-manager for a graphical interface to manage virtual machines. After the successful installation when starting virt-manager, I get the following error message: Error starting Virtual Machine Manager: Couldn't recognize the image file format for file '/usr/share/virt-manager/pixmaps/virt-manager-icon.svg' Traceback (most recent call last): File "/usr/share/virt-manager/virt-manager.py", line 467, in <module> main() File "/usr/share/virt-manager/virt-manager.py", line 422, in main appname + "-icon.svg") GError: Couldn't recognize the image file format for file '/usr/share/virt-manager/pixmaps/virt-manager-icon.svg' Starting virt-manager --debug results in this output: 2011-04-12 15:33:08,614 (virt-manager:175): Application startup 2011-04-12 15:33:08,614 (virt-manager:363): Launched as: /usr/share/virt-manager/virt-manager.py --debug 2011-04-12 15:33:08,614 (virt-manager:364): GTK version: (2, 22, 1) 2011-04-12 15:33:08,938 (config:34): Error importing spice: No module named SpiceClientGtk 2011-04-12 15:33:08,939 (keyring:30): gnomekeyring bindings not installed, no keyring support 2011-04-12 15:33:09,195 (virt-manager:474): Couldn't recognize the image file format for file '/usr/share/virt-manager/pixmaps/virt-manager-icon.svg' Traceback (most recent call last): File "/usr/share/virt-manager/virt-manager.py", line 467, in <module> main() File "/usr/share/virt-manager/virt-manager.py", line 422, in main appname + "-icon.svg") GError: Couldn't recognize the image file format for file '/usr/share/virt-manager/pixmaps/virt-manager-icon.svg' Manually installing dev-python/librsvg-python doesn't seem to help. Reproducible: Always Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r5-tf i686) ================================================================= System uname: Linux-2.6.36-gentoo-r5-tf-i686-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-gentoo-1.12.14 Timestamp of tree: Sun, 10 Apr 2011 15:15:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.4.6, 2.5.4-r4, 2.6.6-r2, 3.1.3-r1 dev-util/ccache: 2.4-r9 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://ftp.df.lth.se/pub/gentoo/ http://ftp.ing.umu.se/linux/gentoo/ http://ftp.ds.karen.hj.se/gentoo/ ftp://ftp.ds.karen.hj.se/gentoo/ ftp://ftp.ing.umu.se/linux/gentoo/ ftp://ftp.df.lth.se/pub/gentoo/ http://mirror.mdfnet.se/mirror/gentoo http://ftp.klid.dk/ftp/gentoo/ ftp://ftp.klid.dk/gentoo/ ftp://mirror.mdfnet.se/gentoo ftp://trumpetti.atm.tut.fi/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en de_DE sv_SE" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/kde /var/lib/layman/stuge /usr/local/portage /usr/local/g-cpan" SYNC="rsync://rsync.se.gentoo.org/gentoo-portage" USE="7zip X aac aalib acl acpi alsa aspell audiofile bash-completion berkdb bzip2 cdaudio cdparanoia cleartype cli cmake consolekit cracklib crypt css cups curl cxx dbus djvu dri dtmf dvd dvdread dvipdfm encode exif fame ffmpeg fftw flac fontconfig fortran ftp fuse gdbm gif gimp gnutls gpg gpm graphviz gs h323 iconv icu id3tag idea idn ilbc imagemagick imap ipv6 jabber java5 jbig jpeg jpeg2k kde kpathsea lame laptop latex latex3 lcms ldap libcaca libnotify logrotate lua lzma lzo mad md5sum mjpeg mmx mng modules mp3 mpeg mplayer mudflap ncurses network nls nptl nptlonly nsplugin ntp ogg opengl openmp openssl pam pcre pdf perl pgf png policykit ppds pppd python qmake qt4 quicktime rdesktop readline redland resolvconf rss rtc rtmp samba sasl sdl sdl-sound semantic-desktop session sip sipim slang slp smime sndfile socks speex spell srtp sse sse2 sse3 ssl ssse3 stun subversion svg sysfs taglib tcpd tga theora threads tiff truetype udev unicode usb utils v4l v4l2 vim-syntax vorbis wav webdav webkit wicd win32codecs x264 x86 xcomposite xinerama xml xorg xpm xrandr xvid zlib zrtp" ALSA_CARDS="snd_hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de_DE sv_SE" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati radeonhd radeon vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS