Skip to content

If dbus module not found, logs wrong installation command #65

Description

@SethFalco
print("Please run: sudo apt-get install python3-dbus")

https://github.com/getsenic/gatt-python/blob/master/gatt/gatt_linux.py#L7

This command is specific to Debian based distributions, but for someone using an Alpine-based distribution, this log message isn't helpful.

On Alpine, we have to run sudo apk add py3-dbus

Instead of specifying a package manager specific command, it should have a more agnostic message like: "Please install Python 3 bindings for dbus."

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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