After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 327595 - Could not connect to D-Bus
Could not connect to D-Bus
Status: RESOLVED NOTGNOME
Product: banshee
Classification: Other
Component: general
unspecified
Other All
: Normal normal
: 2.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-18 21:51 UTC by Christian Krause
Modified: 2006-01-24 23:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Krause 2006-01-18 21:51:19 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 ""
Comment 1 Christian Krause 2006-01-18 21:51:54 UTC
I forgot to mention the banshee version:
0.10.4
Comment 2 Aaron Bockover 2006-01-19 00:34:51 UTC
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.
Comment 3 Christian Krause 2006-01-24 23:09:46 UTC
just for reference:
https://bugs.freedesktop.org/show_bug.cgi?id=5716