Comment 2 for bug 139050

Revision history for this message
e (0x0065) wrote :

This error occurs on my gentoo system with dbus running as a service and all other apps using dbus without reporting any problem...
...probably an f-spot problem.

erik@0x0065 ~ $ f-spot
System.ApplicationException: F-Spot cannot find the Dbus session bus. Make sure dbus is configured properly or start a new session for f-spot using "dbus-launch f-spot" ---> 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 NDesk.DBus.BusG.Init () [0x00000]
  at FSpot.Driver.Main (System.String[] args) [0x00000] --- End of inner exception stack trace ---

  at FSpot.Driver.Main (System.String[] args) [0x00000]

erik@0x0065 ~ $ su
Password:
0x0065 erik # /etc/init.d/dbus start
 * WARNING: dbus has already been started.
0x0065 erik # ps -A | grep dbus
 5227 ? 00:00:00 dbus-daemon
 5464 ? 00:00:00 dbus-launch
 5465 ? 00:00:00 dbus-daemon
0x0065 erik # exit
erik@0x0065 ~ $ f-spot
System.ApplicationException: F-Spot cannot find the Dbus session bus. Make sure dbus is configured properly or start a new session for f-spot using "dbus-launch f-spot" ---> 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 NDesk.DBus.BusG.Init () [0x00000]
  at FSpot.Driver.Main (System.String[] args) [0x00000] --- End of inner exception stack trace ---

  at FSpot.Driver.Main (System.String[] args) [0x00000]

erik@0x0065 ~ $ dbus-launch f-spot
Initializing Mono.Addins
Starting new FSpot server

...again, nothing else is complaining...