Skip to content

Doesn't work on latest Debian, gattlib exception #13

@Code7R

Description

@Code7R

Traceback (most recent call last):
File "/usr/local/bin/cometblue", line 6, in
from cometblue.cli import main
File "/usr/local/lib/python3.9/dist-packages/cometblue/cli.py", line 17, in
import cometblue.device
File "/usr/local/lib/python3.9/dist-packages/cometblue/device.py", line 10, in
import gattlib
SystemError: initialization of gattlib raised unreported exception

Compiled on Debian Unstable. Also had to investigate which deps gattlib has, which isn't documented here unfortunately.
(which are: libboost-thread-dev libboost-python-dev libbluetooth-dev)

strace -f cometblue 2>&1 | grep -i gatt

newfstatat(AT_FDCWD, "/usr/local/lib/python3.9/dist-packages/gattlib.cpython-39-x86_64-linux-gnu.so", {st_mode=S_IFREG|0755, st_size=4930568, ...}, 0) = 0
openat(AT_FDCWD, "/usr/local/lib/python3.9/dist-packages/gattlib.cpython-39-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3

python3 -V

Python 3.9.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions