Deamon NOK BLEA aléatoirement

Bonsoir tout le monde,

Je rencontre un souci avec le plugin BLEA…(il marchait bien jusqu’à maintenant).
J’ai le Deamon qui passe en statut NOK toute les X heures (en moyenne 3 h.) puis il repasse en OK
J’ai bien essayé de trouvé ce qui cloche, mais je sèche.

Y aurait il une âme charitable qui arriverait à me dépatouiller de mon problème ?

Jeedom installé sur Freebox / clé sena UD100 G3

Par contre, dans les logs, je trouve des trucs bizarres :

LOG ; BLEA UPDATE

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

LOG ; BLEA LOCAL

Can't get device info: No such device
[2022-09-16 19:04:53.948][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)

Je ne sais pas si cela peut vous mettre la puce à l’oreille sur le problème.

Merci

Bonjour,

Il faudrait une capture de la page santé jeedom et tous les logs, pas juste le ligne que vous pensez intéressante
Veuillez copier les logs dans un Texte préformaté comme j’ai fait pour corriger votre post.

Bonjour Mips,

Merci de vous pencher sur la question.
Concernant la page santé, les 2 système à maj sont EIBD et Jeedom.
Le reste est OK. En Jeedom, 4.2.21, le problème est identique…j’ai fait une restauration pour voir si le problème disparaissait mais non, d’où le 4.2.20

Pour le log BLEA Update :

********************************************************
*			 Installation des dépendances			 *
********************************************************
Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:3 http://security.debian.org buster/updates InRelease
Get:4 http://deb.debian.org/debian buster-backports InRelease [51.4 kB]
Hit:5 https://deb.nodesource.com/node_16.x buster InRelease
Fetched 108 kB in 1s (101 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...

Reading state information...
build-essential is already the newest version (12.6).
build-essential set to manually installed.
libffi-dev is already the newest version (3.2.1-9).
libffi-dev set to manually installed.
libopenjp2-7 is already the newest version (2.3.0-2+deb10u2).
libopenjp2-7 set to manually installed.
python3-setuptools is already the newest version (40.8.0-1).
python3-setuptools set to manually installed.
python3-dev is already the newest version (3.7.3-1).
python3-dev set to manually installed.
python3-requests is already the newest version (2.21.0-1).
The following additional packages will be installed:
  bluez libatlas3-base libbluetooth3 libdw1 libssl1.1
Suggested packages:
  bluez-cups bluez-obexd pulseaudio-module-bluetooth libatlas-doc
  liblapack-doc libssl-doc python3-wxgtk3.0 | python3-wxgtk
The following NEW packages will be installed:
  bluetooth bluez libatlas-base-dev libatlas3-base libbluetooth-dev
  libbluetooth3 libdw1 python3-pyudev python3-serial rfkill
The following packages will be upgraded:
  libssl-dev libssl1.1 libtiff5
3 upgraded, 10 newly installed, 0 to remove and 274 not upgraded.
Need to get 10.4 MB of archives.
After this operation, 44.8 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main arm64 libdw1 arm64 0.176-1.1 [223 kB]
Get:2 http://deb.debian.org/debian buster/main arm64 bluez arm64 5.50-1.2~deb10u2 [956 kB]
Get:3 http://deb.debian.org/debian buster/main arm64 bluetooth all 5.50-1.2~deb10u2 [43.3 kB]
Get:4 http://deb.debian.org/debian buster/main arm64 libatlas3-base arm64 3.10.3-8 [2409 kB]
Get:5 http://deb.debian.org/debian buster/main arm64 libatlas-base-dev arm64 3.10.3-8 [2954 kB]
Get:6 http://deb.debian.org/debian buster/main arm64 libbluetooth3 arm64 5.50-1.2~deb10u2 [97.5 kB]
Get:7 http://deb.debian.org/debian buster/main arm64 libbluetooth-dev arm64 5.50-1.2~deb10u2 [197 kB]
Get:8 http://deb.debian.org/debian buster/main arm64 libssl-dev arm64 1.1.1n-0+deb10u3 [1701 kB]
Get:9 http://deb.debian.org/debian buster/main arm64 libssl1.1 arm64 1.1.1n-0+deb10u3 [1392 kB]
Get:10 http://deb.debian.org/debian buster/main arm64 libtiff5 arm64 4.1.0+git191117-2~deb10u4 [260 kB]
Get:11 http://deb.debian.org/debian buster/main arm64 python3-pyudev all 0.21.0-1 [40.2 kB]
Get:12 http://deb.debian.org/debian buster/main arm64 python3-serial all 3.4-4 [67.6 kB]
Get:13 http://deb.debian.org/debian buster/main arm64 rfkill arm64 2.33.1-0.1 [82.1 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 10.4 MB in 0s (21.8 MB/s)
Selecting previously unselected package libdw1:arm64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 66059 files and directories currently installed.)
Preparing to unpack .../00-libdw1_0.176-1.1_arm64.deb ...
Unpacking libdw1:arm64 (0.176-1.1) ...
Selecting previously unselected package bluez.
Preparing to unpack .../01-bluez_5.50-1.2~deb10u2_arm64.deb ...
Unpacking bluez (5.50-1.2~deb10u2) ...
Selecting previously unselected package bluetooth.
Preparing to unpack .../02-bluetooth_5.50-1.2~deb10u2_all.deb ...
Unpacking bluetooth (5.50-1.2~deb10u2) ...
Selecting previously unselected package libatlas3-base:arm64.
Preparing to unpack .../03-libatlas3-base_3.10.3-8_arm64.deb ...
Unpacking libatlas3-base:arm64 (3.10.3-8) ...
Selecting previously unselected package libatlas-base-dev:arm64.
Preparing to unpack .../04-libatlas-base-dev_3.10.3-8_arm64.deb ...
Unpacking libatlas-base-dev:arm64 (3.10.3-8) ...
Selecting previously unselected package libbluetooth3:arm64.
Preparing to unpack .../05-libbluetooth3_5.50-1.2~deb10u2_arm64.deb ...
Unpacking libbluetooth3:arm64 (5.50-1.2~deb10u2) ...
Selecting previously unselected package libbluetooth-dev:arm64.
Preparing to unpack .../06-libbluetooth-dev_5.50-1.2~deb10u2_arm64.deb ...
Unpacking libbluetooth-dev:arm64 (5.50-1.2~deb10u2) ...
Preparing to unpack .../07-libssl-dev_1.1.1n-0+deb10u3_arm64.deb ...
Unpacking libssl-dev:arm64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u1) ...
Preparing to unpack .../08-libssl1.1_1.1.1n-0+deb10u3_arm64.deb ...
Unpacking libssl1.1:arm64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u1) ...
Preparing to unpack .../09-libtiff5_4.1.0+git191117-2~deb10u4_arm64.deb ...
Unpacking libtiff5:arm64 (4.1.0+git191117-2~deb10u4) over (4.0.10-4) ...
Selecting previously unselected package python3-pyudev.
Preparing to unpack .../10-python3-pyudev_0.21.0-1_all.deb ...
Unpacking python3-pyudev (0.21.0-1) ...
Selecting previously unselected package python3-serial.
Preparing to unpack .../11-python3-serial_3.4-4_all.deb ...
Unpacking python3-serial (3.4-4) ...
Selecting previously unselected package rfkill.
Preparing to unpack .../12-rfkill_2.33.1-0.1_arm64.deb ...
Unpacking rfkill (2.33.1-0.1) ...
Setting up libdw1:arm64 (0.176-1.1) ...
Setting up libatlas3-base:arm64 (3.10.3-8) ...
update-alternatives: using /usr/lib/aarch64-linux-gnu/atlas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode
update-alternatives: using /usr/lib/aarch64-linux-gnu/atlas/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode
Setting up libssl1.1:arm64 (1.1.1n-0+deb10u3) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Setting up libatlas-base-dev:arm64 (3.10.3-8) ...
update-alternatives: using /usr/lib/aarch64-linux-gnu/atlas/libblas.so to provide /usr/lib/aarch64-linux-gnu/libblas.so (libblas.so-aarch64-linux-gnu) in auto mode
update-alternatives: using /usr/lib/aarch64-linux-gnu/atlas/liblapack.so to provide /usr/lib/aarch64-linux-gnu/liblapack.so (liblapack.so-aarch64-linux-gnu) in auto mode
Setting up python3-serial (3.4-4) ...
Setting up bluez (5.50-1.2~deb10u2) ...
Created symlink /etc/systemd/system/dbus-org.bluez.service -> /lib/systemd/system/bluetooth.service.
Created symlink /etc/systemd/system/bluetooth.target.wants/bluetooth.service -> /lib/systemd/system/bluetooth.service.
Setting up rfkill (2.33.1-0.1) ...
Setting up libssl-dev:arm64 (1.1.1n-0+deb10u3) ...
Setting up libbluetooth3:arm64 (5.50-1.2~deb10u2) ...
Setting up libtiff5:arm64 (4.1.0+git191117-2~deb10u4) ...
Setting up python3-pyudev (0.21.0-1) ...
Setting up bluetooth (5.50-1.2~deb10u2) ...
Setting up libbluetooth-dev:arm64 (5.50-1.2~deb10u2) ...
Processing triggers for systemd (241-7~deb10u1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dbus (1.12.16-1) ...
Processing triggers for libc-bin (2.28-10) ...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 274 not upgraded.
Need to get 61.5 kB/1188 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main arm64 python3 arm64 3.7.3-1 [61.5 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 61.5 kB in 0s (887 kB/s)
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 66508 files and directories currently installed.)
Preparing to unpack .../python3_3.7.3-1_arm64.deb ...
running python pre-rtupdate hooks for python3.7...
Unpacking python3 (3.7.3-1) over (3.7.3-1) ...
Preparing to unpack .../bluez_5.50-1.2~deb10u2_arm64.deb ...
Unpacking bluez (5.50-1.2~deb10u2) over (5.50-1.2~deb10u2) ...
Preparing to unpack .../python3-pip_18.1-5_all.deb ...
Unpacking python3-pip (18.1-5) over (18.1-5) ...
Setting up python3 (3.7.3-1) ...
running python rtupdate hooks for python3.7...
running python post-rtupdate hooks for python3.7...
Setting up bluez (5.50-1.2~deb10u2) ...
Setting up python3-pip (18.1-5) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dbus (1.12.16-1) ...
Processing triggers for systemd (241-7~deb10u1) ...
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/dist-packages (65.3.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.20.1-2+deb10u3).
libglib2.0-dev is already the newest version (2.58.3-2+deb10u4).
0 upgraded, 0 newly installed, 0 to remove and 274 not upgraded.
Requirement already satisfied: pyudev in /usr/local/lib/python3.7/dist-packages (0.24.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: pyserial in /usr/local/lib/python3.7/dist-packages (3.5)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.21.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Collecting pybluez
  Using cached PyBluez-0.23.tar.gz (97 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in PyBluez setup command: use_2to3 is invalid.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Requirement already satisfied: pillow in /usr/local/lib/python3.7/dist-packages (9.2.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (1.21.6)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: bluepy in /usr/local/lib/python3.7/dist-packages (1.3.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Cloning into 'bluepy'...
running build
running build_py
creating build
creating build/lib
creating build/lib/bluepy
copying bluepy/sensortag.py -> build/lib/bluepy
copying bluepy/thingy52.py -> build/lib/bluepy
copying bluepy/scanner.py -> build/lib/bluepy
copying bluepy/btle.py -> build/lib/bluepy
copying bluepy/__init__.py -> build/lib/bluepy
copying bluepy/blescan.py -> build/lib/bluepy
copying bluepy/scan_fuzz.py -> build/lib/bluepy
copying bluepy/get_services.py -> build/lib/bluepy
copying bluepy/uuids.json -> build/lib/bluepy
copying bluepy/bluez-src.tgz -> build/lib/bluepy
copying bluepy/bluepy-helper.c -> build/lib/bluepy
copying bluepy/Makefile -> build/lib/bluepy
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:774: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
  % (opt, underscore_opt)
running install
Working dir is /tmp/bluepy
execute make -C ./bluepy clean
execute make -C bluepy -j1
running build
running build_py
copying bluepy/bluepy-helper -> build/lib/bluepy
running install_lib
copying build/lib/bluepy/sensortag.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/uuids.json -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/thingy52.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/Makefile -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/bluepy-helper -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/scanner.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/btle.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/__init__.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/bluez-src.tgz -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/blescan.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/scan_fuzz.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/get_services.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/bluepy-helper.c -> /usr/lib/python3.7/site-packages/bluepy
byte-compiling /usr/lib/python3.7/site-packages/bluepy/sensortag.py to sensortag.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/thingy52.py to thingy52.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/scanner.py to scanner.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/btle.py to btle.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/__init__.py to __init__.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/blescan.py to blescan.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/scan_fuzz.py to scan_fuzz.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/get_services.py to get_services.cpython-37.pyc
running install_egg_info
running egg_info
creating bluepy.egg-info
writing bluepy.egg-info/PKG-INFO
writing dependency_links to bluepy.egg-info/dependency_links.txt
writing entry points to bluepy.egg-info/entry_points.txt
writing top-level names to bluepy.egg-info/top_level.txt
writing manifest file 'bluepy.egg-info/SOURCES.txt'
reading manifest file 'bluepy.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'bluepy.egg-info/SOURCES.txt'
removing '/usr/lib/python3.7/site-packages/bluepy-1.1.4-py3.7.egg-info' (and everything under it)
Copying bluepy.egg-info to /usr/lib/python3.7/site-packages/bluepy-1.1.4-py3.7.egg-info
running install_scripts
Installing blescan script to /usr/bin
Installing sensortag script to /usr/bin
Installing thingy52 script to /usr/bin
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:774: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
  % (opt, underscore_opt)
/usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  setuptools.SetuptoolsDeprecationWarning,
Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (2.6.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: pycrypto in /usr/lib/python3/dist-packages (2.6.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
********************************************************
*			 Installation terminée					*
********************************************************

Pour le log BLEA Local :

Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
[2022-09-16 23:10:29.698][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
[2022-09-16 23:33:00.629][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
[2022-09-16 23:35:08.312][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
[2022-09-16 23:40:09.204][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
[2022-09-16 23:45:08.537][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
[2022-09-16 23:50:09.349][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
[2022-09-16 23:55:08.773][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
[2022-09-17 00:29:22.632][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
[2022-09-17 00:30:09.934][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
[2022-09-17 00:35:09.018][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
[2022-09-17 00:40:08.867][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
[2022-09-17 00:45:09.134][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
[2022-09-17 00:50:08.823][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
[2022-09-17 02:36:36.464][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
[2022-09-17 03:21:54.924][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
[2022-09-17 03:25:08.371][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't init device hci0: No such device (19)
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
[2022-09-17 04:31:51.363][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't init device hci0: Connection timed out (110)
[2022-09-17 04:53:54.271][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
[2022-09-17 04:55:08.818][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
[2022-09-17 05:05:02.100][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't init device hci0: Connection timed out (110)
[2022-09-17 05:27:49.471][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
[2022-09-17 05:30:09.936][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
[2022-09-17 05:35:09.476][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
[2022-09-17 05:45:49.080][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
[2022-09-17 05:50:09.012][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)
[2022-09-17 05:55:09.615][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 17, error: Invalid Index)

Merci.

Le warning dans l’install des dépendances n’est pas le problème à priori par contre on y voit cette erreur (d’où l’intérêt du log complet :wink:):

error in PyBluez setup command: use_2to3 is invalid.

et cela a déjà été « résolu » ici:

Fixez déjà ca et ensuite on voit s’il y a un autre problème

Ok, c’est noté pour les logs. :slightly_smiling_face:
J’ai l’impression que cela ne resout pas mon problème

Ce que j’ai fait :

sudo pip3 install setuptools==58
Collecting setuptools==58
  Downloading setuptools-58.0.0-py3-none-any.whl (816 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 816.3/816.3 kB 14.1 MB/s eta 0:00:00
Installing collected packages: setuptools
  Attempting uninstall: setuptools
    Found existing installation: setuptools 65.3.0
    Uninstalling setuptools-65.3.0:
      Successfully uninstalled setuptools-65.3.0
Successfully installed setuptools-58.0.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

Puis relancé les dépendances

********************************************************
*			 Installation des dépendances			 *
********************************************************
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Hit:4 http://deb.debian.org/debian buster-backports InRelease
Hit:5 https://deb.nodesource.com/node_16.x buster InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libatlas-base-dev is already the newest version (3.10.3-8).
bluetooth is already the newest version (5.50-1.2~deb10u2).
libbluetooth-dev is already the newest version (5.50-1.2~deb10u2).
build-essential is already the newest version (12.6).
libffi-dev is already the newest version (3.2.1-9).
libopenjp2-7 is already the newest version (2.3.0-2+deb10u2).
libssl-dev is already the newest version (1.1.1n-0+deb10u3).
python3-serial is already the newest version (3.4-4).
python3-setuptools is already the newest version (40.8.0-1).
python3-dev is already the newest version (3.7.3-1).
python3-pyudev is already the newest version (0.21.0-1).
python3-requests is already the newest version (2.21.0-1).
libtiff5 is already the newest version (4.1.0+git191117-2~deb10u4).
rfkill is already the newest version (2.33.1-0.1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 1 not upgraded.
Need to get 0 B/1188 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 73531 files and directories currently installed.)
Preparing to unpack .../python3_3.7.3-1_arm64.deb ...
running python pre-rtupdate hooks for python3.7...
Unpacking python3 (3.7.3-1) over (3.7.3-1) ...
Preparing to unpack .../bluez_5.50-1.2~deb10u2_arm64.deb ...
Unpacking bluez (5.50-1.2~deb10u2) over (5.50-1.2~deb10u2) ...
Preparing to unpack .../python3-pip_18.1-5_all.deb ...
Unpacking python3-pip (18.1-5) over (18.1-5) ...
Setting up python3 (3.7.3-1) ...
running python rtupdate hooks for python3.7...
running python post-rtupdate hooks for python3.7...
Setting up bluez (5.50-1.2~deb10u2) ...
Setting up python3-pip (18.1-5) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dbus (1.12.20-0+deb10u1) ...
Processing triggers for systemd (241-7~deb10u8) ...
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/dist-packages (65.3.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.20.1-2+deb10u3).
libglib2.0-dev is already the newest version (2.58.3-2+deb10u4).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Requirement already satisfied: pyudev in /usr/local/lib/python3.7/dist-packages (0.24.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: pyserial in /usr/local/lib/python3.7/dist-packages (3.5)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.21.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Collecting pybluez
  Using cached PyBluez-0.23.tar.gz (97 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in PyBluez setup command: use_2to3 is invalid.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Requirement already satisfied: pillow in /usr/local/lib/python3.7/dist-packages (9.2.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (1.21.6)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: bluepy in /usr/local/lib/python3.7/dist-packages (1.3.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Cloning into 'bluepy'...
running build
running build_py
creating build
creating build/lib
creating build/lib/bluepy
copying bluepy/sensortag.py -> build/lib/bluepy
copying bluepy/thingy52.py -> build/lib/bluepy
copying bluepy/scanner.py -> build/lib/bluepy
copying bluepy/btle.py -> build/lib/bluepy
copying bluepy/__init__.py -> build/lib/bluepy
copying bluepy/blescan.py -> build/lib/bluepy
copying bluepy/scan_fuzz.py -> build/lib/bluepy
copying bluepy/get_services.py -> build/lib/bluepy
copying bluepy/uuids.json -> build/lib/bluepy
copying bluepy/bluez-src.tgz -> build/lib/bluepy
copying bluepy/bluepy-helper.c -> build/lib/bluepy
copying bluepy/Makefile -> build/lib/bluepy
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:774: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
  % (opt, underscore_opt)
running install
Working dir is /tmp/bluepy
execute make -C ./bluepy clean
execute make -C bluepy -j1
running build
running build_py
copying bluepy/bluepy-helper -> build/lib/bluepy
running install_lib
copying build/lib/bluepy/sensortag.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/uuids.json -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/thingy52.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/Makefile -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/bluepy-helper -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/scanner.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/btle.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/__init__.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/bluez-src.tgz -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/blescan.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/scan_fuzz.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/get_services.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/bluepy-helper.c -> /usr/lib/python3.7/site-packages/bluepy
byte-compiling /usr/lib/python3.7/site-packages/bluepy/sensortag.py to sensortag.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/thingy52.py to thingy52.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/scanner.py to scanner.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/btle.py to btle.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/__init__.py to __init__.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/blescan.py to blescan.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/scan_fuzz.py to scan_fuzz.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/get_services.py to get_services.cpython-37.pyc
running install_egg_info
running egg_info
creating bluepy.egg-info
writing bluepy.egg-info/PKG-INFO
writing dependency_links to bluepy.egg-info/dependency_links.txt
writing entry points to bluepy.egg-info/entry_points.txt
writing top-level names to bluepy.egg-info/top_level.txt
writing manifest file 'bluepy.egg-info/SOURCES.txt'
reading manifest file 'bluepy.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'bluepy.egg-info/SOURCES.txt'
removing '/usr/lib/python3.7/site-packages/bluepy-1.1.4-py3.7.egg-info' (and everything under it)
Copying bluepy.egg-info to /usr/lib/python3.7/site-packages/bluepy-1.1.4-py3.7.egg-info
running install_scripts
Installing blescan script to /usr/bin
Installing sensortag script to /usr/bin
Installing thingy52 script to /usr/bin
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:774: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
  % (opt, underscore_opt)
/usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  setuptools.SetuptoolsDeprecationWarning,
Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (2.6.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: pycrypto in /usr/lib/python3/dist-packages (2.6.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
********************************************************
*			 Installation terminée					*
********************************************************

Mips

Par la suite, j’ai essayé cette commande, trouvé sur une autre discussion du forum :

sudo pip3 install git+https://github.com/pybluez/pybluez.git#egg=pybluez

Sais tu me dire si c’est mieux? Merci

********************************************************
*			 Installation des dépendances			 *
********************************************************
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Hit:4 http://deb.debian.org/debian buster-backports InRelease
Hit:5 https://deb.nodesource.com/node_16.x buster InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libatlas-base-dev is already the newest version (3.10.3-8).
bluetooth is already the newest version (5.50-1.2~deb10u2).
libbluetooth-dev is already the newest version (5.50-1.2~deb10u2).
build-essential is already the newest version (12.6).
libffi-dev is already the newest version (3.2.1-9).
libopenjp2-7 is already the newest version (2.3.0-2+deb10u2).
libssl-dev is already the newest version (1.1.1n-0+deb10u3).
python3-serial is already the newest version (3.4-4).
python3-setuptools is already the newest version (40.8.0-1).
python3-dev is already the newest version (3.7.3-1).
python3-pyudev is already the newest version (0.21.0-1).
python3-requests is already the newest version (2.21.0-1).
libtiff5 is already the newest version (4.1.0+git191117-2~deb10u4).
rfkill is already the newest version (2.33.1-0.1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 1 not upgraded.
Need to get 0 B/1188 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 73531 files and directories currently installed.)
Preparing to unpack .../python3_3.7.3-1_arm64.deb ...
running python pre-rtupdate hooks for python3.7...
Unpacking python3 (3.7.3-1) over (3.7.3-1) ...
Preparing to unpack .../bluez_5.50-1.2~deb10u2_arm64.deb ...
Unpacking bluez (5.50-1.2~deb10u2) over (5.50-1.2~deb10u2) ...
Preparing to unpack .../python3-pip_18.1-5_all.deb ...
Unpacking python3-pip (18.1-5) over (18.1-5) ...
Setting up python3 (3.7.3-1) ...
running python rtupdate hooks for python3.7...
running python post-rtupdate hooks for python3.7...
Setting up bluez (5.50-1.2~deb10u2) ...
Setting up python3-pip (18.1-5) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dbus (1.12.20-0+deb10u1) ...
Processing triggers for systemd (241-7~deb10u8) ...
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/dist-packages (65.3.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Reading package lists...
Building dependency tree...

Reading state information...
git is already the newest version (1:2.20.1-2+deb10u3).
libglib2.0-dev is already the newest version (2.58.3-2+deb10u4).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Requirement already satisfied: pyudev in /usr/local/lib/python3.7/dist-packages (0.24.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: pyserial in /usr/local/lib/python3.7/dist-packages (3.5)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.21.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: pybluez in /usr/local/lib/python3.7/dist-packages (0.30)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: pillow in /usr/local/lib/python3.7/dist-packages (9.2.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (1.21.6)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: bluepy in /usr/local/lib/python3.7/dist-packages (1.3.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Cloning into 'bluepy'...
running build
running build_py
creating build
creating build/lib
creating build/lib/bluepy
copying bluepy/sensortag.py -> build/lib/bluepy
copying bluepy/thingy52.py -> build/lib/bluepy
copying bluepy/scanner.py -> build/lib/bluepy
copying bluepy/btle.py -> build/lib/bluepy
copying bluepy/__init__.py -> build/lib/bluepy
copying bluepy/blescan.py -> build/lib/bluepy
copying bluepy/scan_fuzz.py -> build/lib/bluepy
copying bluepy/get_services.py -> build/lib/bluepy
copying bluepy/uuids.json -> build/lib/bluepy
copying bluepy/bluez-src.tgz -> build/lib/bluepy
copying bluepy/bluepy-helper.c -> build/lib/bluepy
copying bluepy/Makefile -> build/lib/bluepy
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:774: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
  % (opt, underscore_opt)
running install
Working dir is /tmp/bluepy
execute make -C ./bluepy clean
execute make -C bluepy -j1
running build
running build_py
copying bluepy/bluepy-helper -> build/lib/bluepy
running install_lib
copying build/lib/bluepy/sensortag.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/uuids.json -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/thingy52.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/Makefile -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/bluepy-helper -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/scanner.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/btle.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/__init__.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/bluez-src.tgz -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/blescan.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/scan_fuzz.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/get_services.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/bluepy-helper.c -> /usr/lib/python3.7/site-packages/bluepy
byte-compiling /usr/lib/python3.7/site-packages/bluepy/sensortag.py to sensortag.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/thingy52.py to thingy52.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/scanner.py to scanner.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/btle.py to btle.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/__init__.py to __init__.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/blescan.py to blescan.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/scan_fuzz.py to scan_fuzz.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/get_services.py to get_services.cpython-37.pyc
running install_egg_info
running egg_info
creating bluepy.egg-info
writing bluepy.egg-info/PKG-INFO
writing dependency_links to bluepy.egg-info/dependency_links.txt
writing entry points to bluepy.egg-info/entry_points.txt
writing top-level names to bluepy.egg-info/top_level.txt
writing manifest file 'bluepy.egg-info/SOURCES.txt'
reading manifest file 'bluepy.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'bluepy.egg-info/SOURCES.txt'
removing '/usr/lib/python3.7/site-packages/bluepy-1.1.4-py3.7.egg-info' (and everything under it)
Copying bluepy.egg-info to /usr/lib/python3.7/site-packages/bluepy-1.1.4-py3.7.egg-info
running install_scripts
Installing blescan script to /usr/bin
Installing sensortag script to /usr/bin
Installing thingy52 script to /usr/bin
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:774: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
  % (opt, underscore_opt)
/usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  setuptools.SetuptoolsDeprecationWarning,
Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (2.6.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: pycrypto in /usr/lib/python3/dist-packages (2.6.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
********************************************************
*			 Installation terminée					*
********************************************************

En tout cas il n’y a plus d’erreur
Le démon « tient bon » maintenant ?

Malheureusement non,
Sur la console de la VM de la freebox, j’ai ça quand le demon plante.

C’est ma clé ou ma freebox, non?

En finalité, j’ai débranché / rebranché la freebox…

Ca à l’air de fonctionner (en tout cas depuis hier 15h, plus de coupure du Demon) …je croise les doigts…

Du coup, je ne sais pas trop ce qu’était le problème car j’avais déjà fait des reboot mais pas en débranchant mais en redémarrant la Freebox et cela ne résolvait pas le problème…