Bug 1523930
| Summary: | pybluez : ModuleNotFoundError: No module named 'gattlib' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ken <kjh> |
| Component: | pybluez | Assignee: | Gwyn Ciesla <gwync> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 27 | CC: | gwync, vaibhavg1985apr |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | pybluez-0.22-8.fc27 pybluez-0.22-8.fc26 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-21 19:02:42 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1524504 | ||
| Bug Blocks: | |||
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'
|
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: