Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBus issues when trying to scan #11

Open
TarunGunampalli opened this issue Aug 17, 2020 · 0 comments
Open

DBus issues when trying to scan #11

TarunGunampalli opened this issue Aug 17, 2020 · 0 comments

Comments

@TarunGunampalli
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant