Importing dbus.glib to use the GLib main loop with dbus-python is deprecated

Bug #925890 reported by Micah Gersten on 2012-02-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone
virt-manager (Ubuntu)
Marc Deslauriers

Bug Description

The following shows up when I launch virt-manager from the cli

ii virt-manager 0.9.0-3ubuntu1

/usr/share/virt-manager/ 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


  import dbus.glib

Changed in virt-manager (Ubuntu):
assignee: nobody → Marc Deslauriers (mdeslaur)
Launchpad Janitor (janitor) wrote :
Download full text (3.3 KiB)

This bug was fixed in the package virt-manager - 0.9.1-1ubuntu1

virt-manager (0.9.1-1ubuntu1) precise; urgency=low

  * Merge from debian unstable. Remaining changes:
    - debian/control, debian/rules: Build using dh_python2
    - debian/control: Depend on python-appindicator for appindicator
    - Add a /usr/share/pixmaps/virt-manager-icon.svg symlink to link icon to
      where the Application Indicator can find it.
    - debian/patches/more_helpful_error_message.patch: explain to the user
      why he can't connect to qemu:///system and what he can do fix it.
    - debian/control: lower libvirt-bin from Recommends to Suggests; seems
      some users (like netbooks) want to manage VMs, but not host them; see
      meta packages (ubuntu-virt, ubuntu-virt-server, ubuntu-virt-mgmt) for
      group installation of virt package sets.
    - debian/control: drop python-spice-client-gtk to Suggests as it is in
    - debian/patches/use_ubuntu_package_names.patch: Suggest installing the
      packages that are actually available in Ubuntu.
    - debian/rules: Set qemu user to libvirt-qemu so appropriate
      permissions get set.
    - debian/rules: Set Ubuntu as the preferred distro so we appear first
      in the list.
    - debian/rules: disable TUI for now, since the required dependencies
      are not available (Newt Syrup).
    - debian/rules: Drop patchsys-quilt include since dpkg-source does the
      quilt dance for us.
    - Removed python-ipy dependency as it is in universe:
      - debian/control: remove python-ipy from Depends
      - debian/series: disable 0002-Use-IPy-from-python-ipy.patch patch so
        we use the one that's included in the virt-manager source.
      - debian/rules: don't delete the IPy file.
  * Removed patches:
    - debian/patches/fix_resize_to_vm.patch: has equivalent Debian patch.
    - debian/patches/fix-remote-vnc-reconnect.patch: Fixed upstream.
    - debian/patches/fix_grep_portability.patch: Fixed upstream.
    - debian/patches/fix_net_stats.patch: Fixed upstream.
  * debian/patches/fix_dbus_deprecation_warning.patch: fix deprecation
    warning by switching to new way of setting up the event loop.
    (LP: #925890)

virt-manager (0.9.1-1) unstable; urgency=low

  * [b4fdde6] Imported Upstream version 0.9.1
  * [6782cf0] Drop patches
    - 0003-virt-manager-Fix-Resize-to-VM-menu-option.patch - fixed upstream
    - 0004-console-Fix-crashes-when-deleting-vm-on-F16.patch - fixed upstream
    - 0005-storagebrowser-ignore-unparseable-volumes.patch - fixed upstream
    - 0006-Improve-error-message-if-netcat-can-t-forward-Unix-d.patch - fixed
    - 0007-console-Fix-hang-when-reconnecting-to-remote-VNC-con.patch - fixed
  * [0f418f5] Bump virtinst dependency version to 0.600.1

virt-manager (0.9.0-5) unstable; urgency=low

  * [e18d4f4] Improve error message if netcat can't forward Unix domain sockets
    (Closes: #614291)
  * [d5baa70] console: Fix hang when reconnecting to remote VNC console.
    Cherry-picked from upstream (e18d4f40946598b1bc929fbc401074183ae5b4c9)

virt-manager (0.9.0-4) unstable; urgency=low

  * [e7e6e5b] New patc...


Changed in virt-manager (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers