FS#58919 - sonata 1.6.2.1-13: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated.

Attached to Project: Arch Linux
Opened by Max Pray (synthead) - Thursday, 07 June 2018, 23:17 GMT
Last edited by Jan de Groot (JGC) - Saturday, 09 June 2018, 09:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When attempting to start Sonata, I get this message:

/usr/lib/python2.7/site-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
/usr/lib/python2.7/site-packages/sonata/tray.py:9: GtkWarning: Unable to locate theme engine in module_path: "adwaita",
gtk.Window.__init__(self, gtk.WINDOW_POPUP)

Additional info:
* sonata 1.6.2.1-13
* python2-dbus 1.2.6-1
* pygtk 2.24.0-8
* python2 2.7.15-1
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 09 June 2018, 09:25 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Friday, 08 June 2018, 06:40 GMT
Does the message prevent you from using it?

Sonata is a dead project, last release was 9 years ago. A project that old will eventually hit some deprecation warnings.

Loading...