GNOME Bugzilla – Bug 667139
broken DBus method PlaylistManager.GetPlaylists
Last modified: 2012-01-04 23:09:44 UTC
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653373 Rhythmbox does not return list of playlists names trough DBus Attempt to call this method: $ dbus-send --dest=org.gnome.Rhythmbox3 --print-reply /org/gnome/Rhythmbox3/PlaylistManager org.gnome.Rhythmbox3.PlaylistManager.GetPlaylists Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. error in ~/.xsession-errors: (rhythmbox:7750): GLib-GIO-CRITICAL **: g_dbus_method_invocation_return_value_internal: assertion `(parameters == NULL) || g_variant_is_of_type (parameters, G_VARIANT_TYPE_TUPLE)' failed It seems this problem affects upstream as well ( http://git.gnome.org/browse/rhythmbox/tree/shell/rb-playlist-manager.c#n1639 ) .. Patch attached.
Created attachment 204455 [details] [review] Correctly return list of playlist names trough D-Bus
I pushed a simpler fix (just use g_variant_new ("(^as)", names)) as commit f831c30