蓝牙错误:dbus.exceptions.DBusException:org.freedesktop.DBus.Error.UnknownObject:

蓝牙错误:dbus.exceptions.DBusException:org.freedesktop.DBus.Error.UnknownObject:

使用 ubuntu 16.04 后,我意外地从蓝牙管理器设备列表中删除了蓝牙耳机设备,该设备要么在蓝牙搜索中不再可见,要么在搜索期间在设备列表中显示几秒钟,然后消失。我现在无法使用我的蓝牙耳机。

如果我从终端运行 blueman-applet,我会在搜索过程中看到异常,然后设备被删除。

>__init__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:26)
caching initial properties 
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 55, in wrapper
    handler(name, value, **kwargs)
  File "/usr/lib/python3/dist-packages/blueman/plugins/applet/GameControllerWakelock.py", line 36, in on_device_property_changed
    klass = Device(path).get_properties()["Class"] & 0x1fff
  File "/usr/lib/python3/dist-packages/blueman/main/Device.py", line 47, in __init__
    self.Properties = self.Device.get_properties()
  File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 148, in warp
    raise parse_dbus_error(exception)
  File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 146, in warp
    return func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 34, in get_properties
    return self.__properties_interface.GetAll(self.get_interface_name())
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownObject: Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist

非常感谢您的帮助 — — 这对我的工作很重要。

相关错误:

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownObject: Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist

相关内容