Description of problem: If you run the GATT example : python /usr/share/doc/pybluez/examples/ble/read_name.py ... then you get an error : Traceback (most recent call last): File "/usr/share/doc/pybluez/examples/ble/read_name.py", line 10, in <module> from bluetooth.ble import GATTRequester File "/usr/lib64/python2.7/site-packages/bluetooth/ble.py", line 1, in <module> from gattlib import * ImportError: No module named gattlib It seems to be missing pygattlib / python3-gattlib Version-Release number of selected component (if applicable): pybluez-0.22-7.fc27.x86_64 How reproducible: Very Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
It looks like gattlib isn't in Fedora, I'll look into packaging it.
python-gattlib submitted for review.
python-gattlib-0.20150805-2.fc26 pybluez-0.22-8.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-332ecc94f1
python-gattlib-0.20150805-2.fc27 pybluez-0.22-8.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d2779719df
pybluez-0.22-8.fc26, python-gattlib-0.20150805-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-332ecc94f1
pybluez-0.22-8.fc27, python-gattlib-0.20150805-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d2779719df
pybluez-0.22-8.fc27, python-gattlib-0.20150805-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
pybluez-0.22-8.fc26, python-gattlib-0.20150805-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
Still i see this error Traceback (most recent call last): File "BluetoothSept012020.py", line 1, in <module> from bluetooth.ble import BeaconService File "/usr/local/lib/python3.7/dist-packages/bluetooth/ble.py", line 1, in <module> from gattlib import * ModuleNotFoundError: No module named 'gattlib'