Skip to content

After clicking Load to list the headsets, it keeps flashing BT icon but nothing listed #7

@jorgedso

Description

@jorgedso

Environment:

  • Ubuntu 20.04.2 LTS
  • Python 3.8.5
  • PyBluez 0.23

Logs:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/jorgedso/Projects/Bluetooth_project-master/external_threads.py", line 9, in get_headsets_devices
    blueClass.get_bluetooth_devices()
  File "/home/jorgedso/Projects/Bluetooth_project-master/blueP.py", line 60, in get_bluetooth_devices
    "name": str(obj.Get("org.bluez.Device1", "Name")),
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 72, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 141, in __call__
    return self._connection.call_blocking(self._named_service,
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.InvalidArgs: No such property 'Name'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions