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 595021 - Crashes if DBUS_SESSION_BUS_ADDRESS not set
Crashes if DBUS_SESSION_BUS_ADDRESS not set
Status: RESOLVED DUPLICATE of bug 573050
Product: banshee
Classification: Other
Component: general
1.4.3
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-12 20:19 UTC by Tim Fisken
Modified: 2009-09-13 00:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim Fisken 2009-09-12 20:19:52 UTC
If banshee is run without the DBUS_SESSION_BUS_ADDRESS environment variable set, banshee crashes with the following exception:

Unhandled Exception: System.Exception: Unable to open the session message bus. ---> System.ArgumentNullException: Argument cannot be null.
Parameter name: address
  at NDesk.DBus.Bus.Open (System.String address) [0x00000] 
  at NDesk.DBus.Bus.get_Session () [0x00000] 
  --- End of inner exception stack trace ---
  at NDesk.DBus.Bus.get_Session () [0x00000] 
  at Banshee.ServiceStack.DBusConnection.get_ApplicationInstanceAlreadyRunning () [0x00000] 
  at Booter.Booter.Main () [0x00000] 

Banshee ought to be able to find the session bus from either the _DBUS_SESSION_BUS_ADDRESS property on the root window, or the relevant file in ~/.dbus/session-bus
Comment 1 Alexander Kojevnikov 2009-09-13 00:51:02 UTC
This has already been fixed in git master. The fix will be available in the next version of Banshee.

*** This bug has been marked as a duplicate of bug 573050 ***