Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477994 - app-emulation/virt-manager - virt-manager: Traceback (most recent call last): File "/usr/share/virt-manager/virt-manager", line 33, in <module> // from gi.repository import LibvirtGLib // ImportError: cannot import name LibvirtGLib
Summary: app-emulation/virt-manager - virt-manager: Traceback (most recent call last):...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-24 11:48 UTC by Johannes Hirte
Modified: 2013-07-24 15:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Hirte 2013-07-24 11:48:56 UTC
When trying to start virt-manager, I get this error message:

ERROR:root:Could not find any typelib for LibvirtGLib
Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager", line 33, in <module>
    from gi.repository import LibvirtGLib
ImportError: cannot import name LibvirtGLib

Reproducible: Always




Installed versions:

[I] app-emulation/libvirt                                                                                                                                               
     Available versions:  1.0.5.2 1.0.5.4 (~)1.1.0-r3 **9999 {audit avahi +caps firewalld fuse iscsi +libvirtd lvm (+)lxc +macvtap nfs nls numa openvz parted pcap phyp policykit python (+)qemu rbd sasl selinux systemd +udev uml +vepa virt-network virtualbox xen ELIBC="glibc" PYTHON_SINGLE_TARGET="python2_5 python2_6 python2_7" PYTHON_TARGETS="python2_5 python2_6 python2_7"}                                                                                                                                
     Installed versions:  1.1.0-r3(03:15:12 AM 07/24/2013)(caps lvm macvtap nfs nls parted pcap policykit python sasl udev vepa -audit -avahi -firewalld -fuse -iscsi -libvirtd -lxc -numa -openvz -phyp -qemu -rbd -selinux -systemd -uml -virt-network -virtualbox -xen ELIBC="glibc" PYTHON_SINGLE_TARGET="python2_7 -python2_5 -python2_6" PYTHON_TARGETS="python2_7 -python2_5 -python2_6")                                                                                                                        
     Homepage:            http://www.libvirt.org/                                                                                                                       
     Description:         C toolkit to manipulate virtual machines                                                                                                      
                                                                                                                                                                        
[I] app-emulation/libvirt-glib                                                                                                                                          
     Available versions:  (~)0.1.5 (~)0.1.6 (~)0.1.7 {+introspection python +vala PYTHON_SINGLE_TARGET="python2_6 python2_7" PYTHON_TARGETS="python2_6 python2_7"}
     Installed versions:  0.1.7(03:16:58 AM 07/24/2013)(python -introspection -vala PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6")
     Homepage:            http://libvirt.org/git/?p=libvirt-glib.git
     Description:         GLib and GObject mappings for libvirt

[I] app-emulation/virt-manager
     Available versions:  0.9.4 0.9.5 (~)0.10.0 **9999 {debug gnome-keyring policykit sasl +spice +vnc PYTHON_SINGLE_TARGET="python2_6 python2_7" PYTHON_TARGETS="python2_6 python2_7"}
     Installed versions:  0.10.0(03:17:39 AM 07/24/2013)(policykit -debug -gnome-keyring -sasl PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6")
     Homepage:            http://virt-manager.org
     Description:         A graphical tool for administering virtual machines
Comment 1 Johannes Hirte 2013-07-24 13:28:36 UTC
Only virt-manager-0.10.0 is affected, 0.9.4 and 0.9.5 works.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2013-07-24 15:39:32 UTC
emerge --sync && emerge -auDNv world once your mirror is up to date. Depends were not forcing a USE flag on that should have been, that will be fixed.