GNOME Bugzilla – Bug 327595
Could not connect to D-Bus
Last modified: 2006-01-24 23:09:46 UTC
Please describe the problem: when starting banshee, the following message is displayed: Warning: [01/18/2006 22:43:29] (Could not connect to D-Bus) - D-Bus support will be disabled for this instance: A null value was found where an object instance was required. Steps to reproduce: start banshee in an xterm Actual results: Expected results: Does this happen every time? yes Other information: dbus version: 0.50 complete startup output of banshee: r:~$ banshee Warning: [01/18/2006 22:43:28] (Cannot connect to NetworkManager) - An available, working network connection will be assumed Debug: [01/18/2006 22:43:29] (Changed active playback engine) - GStreamer Debug: [01/18/2006 22:43:29] (Loaded primary playback engine) - GStreamer Debug: [01/18/2006 22:43:29] (Loaded Audio CD playback engine) - GStreamer Debug: [01/18/2006 22:43:29] (Audio CD Core Initialized) - Warning: [01/18/2006 22:43:29] (Could not connect to D-Bus) - D-Bus support will be disabled for this instance: A null value was found where an object instance was required. I've monitored the session dbus with dbus-monitor --session: [starting banshee] signal sender=org.freedesktop.DBus -> dest=(null destination) interface=org.freedesktop.DBus; member=NameOwnerChanged string ":1.11" string "" string ":1.11" method call sender=:1.11 -> dest=org.freedesktop.DBus interface=org.freedesktop.DBus; member=Hello method call sender=:1.11 -> dest=org.freedesktop.DBus interface=org.freedesktop.DBus; member=NameHasOwner string "org.gnome.Banshee" [closing banshee] signal sender=org.freedesktop.DBus -> dest=(null destination) interface=org.freedesktop.DBus; member=NameOwnerChanged string ":1.11" string ":1.11" string ""
I forgot to mention the banshee version: 0.10.4
This a bug in dbus-sharp and/or a recent (1.1.10+) version of Mono wherein dbus-sharp returns a null session bus. While the bug itself is outside of the scope of Banshee, it is at least handled gracefully. Also, the session bus is only used for instance detection and remote control.
just for reference: https://bugs.freedesktop.org/show_bug.cgi?id=5716