Crash when d-bus is not running: $DBUS_SESSION_BUS_ADDRESS left empty. Unable to open the session message bus. ---> ArgumentNullException

Bug #660536 reported by Ketil Malde
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
tomboy (Arch Linux)
New
Undecided
Unassigned
tomboy (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: tomboy

$ tomboy

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] in <filename unknown>:0
  at NDesk.DBus.Bus.get_Session () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at NDesk.DBus.Bus.get_Session () [0x00000] in <filename unknown>:0
  at NDesk.DBus.BusG.Init () [0x00000] in <filename unknown>:0
  at Tomboy.GnomeApplication.Initialize (System.String locale_dir, System.String display_name, System.String process_name, System.String[] args) [0x00000] in <filename unknown>:0
  at Tomboy.Application.Initialize (System.String locale_dir, System.String display_name, System.String process_name, System.String[] args) [0x00000] in <filename unknown>:0
  at Tomboy.Tomboy.Main (System.String[] args) [0x00000] in <filename unknown>:0

I expected this to start 'tomboy', like it used to in 10.04. I don't normally run gnome-session, but I tried to start it just to see if that would fix it, but I got the same behavior. This is on Ubuntu 10.10, (Architecture: amd64, Version: 1.4.0-0ubuntu2).

Revision history for this message
Sandy Armstrong (sanfordarmstrong) wrote :

You appear to not have your d-bus session running

Revision history for this message
crane cai (crane-cai) wrote :

Hi Armstrong,

I met the same error when using Ubuntu 10.10 without gnome window manager. I use awesome instead which will not launch gnome-session. And it will cause the error.

Other finding are:
* if launch gnome-session manually, then in another terminal, I launch tomboy same error.
* if Iaunch gnome-session manully, then an gnome-applet occurs which launched by gnome-session, touch the tomboy icon in panel, tomboy launch well.

Brs,
-Crane

Revision history for this message
Sandy Armstrong (sanfordarmstrong) wrote :

Patches welcome to make Tomboy's dbus dependency optional as an add-in.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in tomboy (Ubuntu):
status: New → Confirmed
summary: - Tomboy crashes because it can't connect to session(?)
+ Tomboy crashes is d-bus session is not running
summary: - Tomboy crashes is d-bus session is not running
+ Tomboy crashes when d-bus session is not
+ running$DBUS_SESSION_BUS_ADDRESS left empty. Unable to open the session
+ message bus. ---> ArgumentNullException
summary: - Tomboy crashes when d-bus session is not
- running$DBUS_SESSION_BUS_ADDRESS left empty. Unable to open the session
- message bus. ---> ArgumentNullException
+ Crash when d-bus is not running: $DBUS_SESSION_BUS_ADDRESS left empty.
+ Unable to open the session message bus. ---> ArgumentNullException
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.