42
42
name = getattr(e, '_dbus_error_name', None)
45
45
args = getattr(e, 'args', None) # This is case for old python-dbus-0.62
46
46
if args == ("Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help)",):
49
49
# DBus sometimes fails like this, just treat it as if seahorse is not
50
50
# available rather than crashing.
51
51
if name in ("org.freedesktop.DBus.Error.Spawn.ExecFailed",