[Python-apps-team] Bug#734492: DeprecationWarning: Importing dbus.glib
Ricardo Mones
mones at debian.org
Tue Jan 7 15:36:30 UTC 2014
Package: sonata
Version: 1.6.2.1-5
Severity: minor
Tags: upstream
Hi maintainers,
When running sonata from a terminal it outputs:
------------------------
/usr/lib/python2.7/dist-packages/sonata/dbus_plugin.py:26: 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
------------------------
I have no patch, but I guess is matter of replacing those lines.
best regards and thanks for maintaining sonata,
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages sonata depends on:
ii python 2.7.5-5
ii python-dbus 1.2.0-2+b1
ii python-gtk2 2.24.0-3+b1
ii python-mpd 0.3.0-4
ii python2.6 2.6.8-2
ii python2.7 2.7.6-4
Versions of packages sonata recommends:
ii python-eggtrayicon 2.25.3-12
pn python-tagpy <none>
Versions of packages sonata suggests:
pn python-mmkeys <none>
-- no debconf information
More information about the Python-apps-team
mailing list