[Pkg-libvirt-maintainers] Bug#678477: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated

Thom thom1982 at gmail.com
Fri Jun 22 02:31:54 UTC 2012


Package: virt-manager
Version: 0.9.1-4
Severity: minor

Annoying warning messages on console while starting virt-manager

$ virt-manager
/usr/share/virt-manager/virt-manager.py:306: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated.
Instead, use this sequence:

    from dbus.mainloop.glib import DBusGMainLoop

    DBusGMainLoop(set_as_default=True)

  import dbus.glib


See also:
https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/925890
https://www.redhat.com/archives/libvirt-users/2012-March/msg00066.html

This issue fixed in upstream:
http://git.fedorahosted.org/git/?p=virt-manager.git;a=commitdiff;h=cda1dd81f95ab335389eadfbdfe33e49785d6bb2;hp=51360f885433271dded02ca63147553d57d5090d


-- System Information:
Debian Release: wheezy/sid
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages virt-manager depends on:
ii  gconf2                   3.2.5-1
ii  librsvg2-common          2.36.1-1
ii  python                   2.7.3~rc2-1
ii  python-dbus              1.1.0-1
ii  python-glade2            2.24.0-3
ii  python-gnome2            2.28.1+dfsg-1
ii  python-gtk-vnc           0.5.0-3
ii  python-gtk2              2.24.0-3
ii  python-ipy               1:0.75-1
ii  python-libvirt           0.9.12-3
ii  python-spice-client-gtk  0.12-1
ii  python-support           1.0.14
ii  python-urlgrabber        3.9.1-4
ii  python-vte               1:0.28.2-4
ii  virtinst                 0.600.1-2

Versions of packages virt-manager recommends:
pn  gnome-icon-theme  <none>
pn  libvirt-bin       <none>

Versions of packages virt-manager suggests:
pn  gnome-keyring        <none>
pn  hal                  <none>
pn  python-gnomekeyring  <none>
pn  python-guestfs       <none>
ii  ssh-askpass          1:1.2.4.1-9
pn  virt-viewer          <none>

-- no debconf information





More information about the Pkg-libvirt-maintainers mailing list