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

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

Open
SethFalco opened this issue Dec 28, 2021 · 0 comments
Open

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

SethFalco opened this issue Dec 28, 2021 · 0 comments

Comments

@SethFalco
Copy link

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."

@SethFalco SethFalco changed the title If dbus module not font, logs wrong installation command If dbus module not found, logs wrong installation command Dec 28, 2021
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