Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

DBus issues when trying to scan  #11

@TarunGunampalli

Description

@TarunGunampalli

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions