comparison libervia/frontends/bridge/dbus_bridge.py @ 4147:11f95dfe5b17

frontend (bridge): update location of D-Bus on server instructions.
author Goffi <goffi@goffi.org>
date Fri, 03 Nov 2023 15:33:04 +0100
parents 02f0adc745c6
children 730f542e4ad0
comparison
equal deleted inserted replaced
4146:60d107f2178a 4147:11f95dfe5b17
80 except dbus.exceptions.DBusException as e: 80 except dbus.exceptions.DBusException as e:
81 if e._dbus_error_name in ('org.freedesktop.DBus.Error.ServiceUnknown', 81 if e._dbus_error_name in ('org.freedesktop.DBus.Error.ServiceUnknown',
82 'org.freedesktop.DBus.Error.Spawn.ExecFailed'): 82 'org.freedesktop.DBus.Error.Spawn.ExecFailed'):
83 errback(BridgeExceptionNoService()) 83 errback(BridgeExceptionNoService())
84 elif e._dbus_error_name == 'org.freedesktop.DBus.Error.NotSupported': 84 elif e._dbus_error_name == 'org.freedesktop.DBus.Error.NotSupported':
85 log.error(_("D-Bus is not launched, please see README to see instructions on how to launch it")) 85 log.error(_(
86 'D-Bus is not launched, please see documentation '
87 '(doc/installation.rst, section "Launching D-Bus (on servers)") to '
88 'see instructions on how to launch it.'
89 ))
86 errback(BridgeInitError) 90 errback(BridgeInitError)
87 else: 91 else:
88 errback(e) 92 errback(e)
89 else: 93 else:
90 callback() 94 callback()