Package: rhythmbox Version: 2.90.1~git20111117.f101562-1 Severity: normal Tags: patch
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. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages rhythmbox depends on: ii dbus 1.4.16-1 ii gnome-icon-theme 3.2.1.2-1 ii gstreamer0.10-plugins-base 0.10.35-1 ii gstreamer0.10-plugins-good 0.10.30-2.1 ii gstreamer0.10-x 0.10.35-1 ii libatk1.0-0 2.2.0-2 ii libc6 2.13-23 ii libcairo-gobject2 1.10.2-6.2 ii libcairo2 1.10.2-6.2 ii libffi5 3.0.10-3 ii libfontconfig1 2.8.0-3 ii libfreetype6 2.4.8-1 ii libgdk-pixbuf2.0-0 2.24.0-2 ii libgirepository-1.0-1 1.31.1-1 ii libglib2.0-0 2.30.2-4 ii libgstreamer-plugins-base0.10-0 0.10.35-1 ii libgstreamer0.10-0 0.10.35-1 ii libgtk-3-0 3.2.2-3 ii libice6 2:1.0.7-2 ii libpango1.0-0 1.29.4-2 ii libpeas-1.0-0 1.2.0-1 ii librhythmbox-core4 2.90.1~git20111117.f101562-1 ii libsm6 2:1.2.0-2 ii libsoup-gnome2.4-1 2.34.3-1 ii libsoup2.4-1 2.34.3-1 ii libtotem-plparser17 2.32.6-2 ii libxml2 2.7.8.dfsg-5 ii media-player-info 15-1 ii python-gobject 3.0.3-1 ii python-gst0.10 0.10.22-1 ii rhythmbox-data 2.90.1~git20111117.f101562-1 ii zlib1g 1:1.2.3.4.dfsg-3 Versions of packages rhythmbox recommends: ii avahi-daemon 0.6.30-5 ii gstreamer0.10-plugins-ugly 0.10.18-3+b1 ii gstreamer0.10-pulseaudio 0.10.30-2.1 ii gvfs-backends 1.10.1-2 ii notification-daemon 0.7.3-1 ii rhythmbox-plugins 2.90.1~git20111117.f101562-1 ii yelp 3.2.1+dfsg-1+b1 Versions of packages rhythmbox suggests: ii gnome-codec-install <none> ii gnome-control-center 1:3.0.2-3+b1 ii gstreamer0.10-plugins-bad 0.10.22-3 ii rhythmbox-plugin-cdrecorder 2.90.1~git20111117.f101562-1
diff -ur rhythmbox-2.90.1~git20111117.f101562/shell/rb-playlist-manager.c rhythmbox-2.90.1-wiertel/shell/rb-playlist-manager.c --- rhythmbox-2.90.1~git20111117.f101562/shell/rb-playlist-manager.c 2011-11-17 09:30:18.000000000 +0100 +++ rhythmbox-2.90.1-wiertel/shell/rb-playlist-manager.c 2011-12-27 13:28:12.180998131 +0100 @@ -1625,10 +1625,13 @@ if (g_strcmp0 (method_name, "GetPlaylists") == 0) { char **names; + GVariant *res; rb_playlist_manager_get_playlist_names (mgr, &names, NULL); - g_dbus_method_invocation_return_value (invocation, - g_variant_new_strv ((const char * const *)names, -1)); + res = g_variant_new_strv ((const char * const *)names, -1); + res = g_variant_new_tuple (&res, 1); + + g_dbus_method_invocation_return_value (invocation, res); g_strfreev (names); } else if (g_strcmp0 (method_name, "CreatePlaylist") == 0) { g_variant_get (parameters, "(&s)", &name);