bluetool icon indicating copy to clipboard operation
bluetool copied to clipboard

DBus issues when trying to scan

Open TarunGunampalli opened this issue 5 years ago • 0 comments

When trying to run the sample code given, it is printing an empty array and an error: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1 org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1 []

from bluetool import Bluetooth

bluetooth = Bluetooth() bluetooth.scan() devices = bluetooth.get_paired_devices() print(devices)`

There are two of the dbus errors for some reason, and I assumed that they are the reason that the array ends up empty instead of having the devices. Other Bluetooth class methods also return empty lists, although I haven't tried all of them.

TarunGunampalli avatar Aug 17 '20 19:08 TarunGunampalli