Bonjour
Suite installation sur Atlas / Debian 11 (*) des 2 plugins : Theengs gateway [tgw] et MQTT Discovery [mqttdiscovery] et la création d’un équipement (antenne locale Bluetooth avec clé USB)
Statut installation de mon équipement [tgw] = NOK et une erreur dans le log ci-dessous
0077|Fatal error from pip prevented installation. Full pip output in file:
Comme je testais avec une vielle clé USB Bluetooth de version inconnue, j’ai pensé que cela pouvait venir de la clé, donc je l’ai changé pour une clé version 4.0. Puis relance de l’installation de l’antenne.
Toujours Statut d’installation de l’antenne = NOK
J’ai maintenant 2 adaptateurs (hci0 et hci1) accessibles dans la conf de cet équipement
(évidemment je n’avais pas noté le premier et je ne sais plus associer hci0 ou hci1 avec mes clés physiques…)
1°) d’où peut venir mon pb d’installation de l’antenne
tgw_5_update.txt (6,9 Ko)
2°) Comment reconnaitre le bon adaptateur hci0 ou 1 selon la clé installée
la commande : sudo lsusb n’aide pas
(*) L’Atlas est « vierge », fraichement installée en debian 11.8, juste avec :
~ JeeZigbee (z2m), Z-Wave JS (zwavejs) et MQTT Manager (mqtt2) - stable
~ aucun développement applicatif
Je teste pour l’instant en vu de migrer ma Smart
[2024-02-04 08:00:25] *************************************
[2024-02-04 08:00:25] * Launch install of dependencies *
[2024-02-04 08:00:25] *************************************
[2024-02-04 08:00:26] Reading package lists...
[2024-02-04 08:00:27] Building dependency tree...
[2024-02-04 08:00:27] Reading state information...
[2024-02-04 08:00:28] curl is already the newest version (7.74.0-1.3+deb11u11).
[2024-02-04 08:00:28] 0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2 100 2 0 0 66 0 --:--:-- --:--:-- --:--:-- 66
[2024-02-04 08:00:29] Hit:1 http://deb.debian.org/debian bullseye InRelease
[2024-02-04 08:00:29] Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
[2024-02-04 08:00:29] Hit:3 http://deb.debian.org/debian bullseye-backports InRelease
[2024-02-04 08:00:29] Hit:4 http://security.debian.org bullseye-security InRelease
[2024-02-04 08:00:29] Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
[2024-02-04 08:00:29] Hit:6 http://mirrors.xtom.de/armbian buster InRelease
[2024-02-04 08:00:34] Reading package lists...
[2024-02-04 08:00:34] ***************************************
[2024-02-04 08:00:34] * Install dependencies, venv & pipx *
[2024-02-04 08:00:34] ***************************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2 100 2 0 0 86 0 --:--:-- --:--:-- --:--:-- 86
[2024-02-04 08:00:34] Reading package lists...
[2024-02-04 08:00:35] Building dependency tree...
[2024-02-04 08:00:35] Reading state information...
[2024-02-04 08:00:37] logrotate is already the newest version (3.18.0-2+deb11u2).
[2024-02-04 08:00:37] python3-pip is already the newest version (20.3.4-4+deb11u1).
[2024-02-04 08:00:37] python3 is already the newest version (3.9.2-3).
[2024-02-04 08:00:37] python3-venv is already the newest version (3.9.2-3).
[2024-02-04 08:00:37] 0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 24 not upgraded.
Need to get 1037 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://security.debian.org bullseye-security/main arm64 bluez arm64 5.55-3.1+deb11u1 [1037 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 1037 kB in 0s (5489 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 ... 63148 files and directories currently installed.)
Preparing to unpack .../bluez_5.55-3.1+deb11u1_arm64.deb ...
Unpacking bluez (5.55-3.1+deb11u1) over (5.55-3.1+deb11u1) ...
Setting up bluez (5.55-3.1+deb11u1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for dbus (1.12.28-0+deb11u1) ...
[2024-02-04 08:01:06] Version debian:11
[2024-02-04 08:01:06] Install pipx via pip
[2024-02-04 08:01:09] Requirement already satisfied: pipx in /usr/local/lib/python3.9/dist-packages (1.4.3)
[2024-02-04 08:01:09] Requirement already satisfied: tomli in /usr/local/lib/python3.9/dist-packages (from pipx) (2.0.1)
[2024-02-04 08:01:09] Requirement already satisfied: packaging>=20 in /usr/local/lib/python3.9/dist-packages (from pipx) (23.2)
[2024-02-04 08:01:09] Requirement already satisfied: argcomplete>=1.9.4 in /usr/local/lib/python3.9/dist-packages (from pipx) (3.2.2)
[2024-02-04 08:01:09] Requirement already satisfied: platformdirs>=2.1 in /usr/local/lib/python3.9/dist-packages (from pipx) (4.2.0)
[2024-02-04 08:01:09] Requirement already satisfied: userpath!=1.9.0,>=1.6 in /usr/local/lib/python3.9/dist-packages (from pipx) (1.9.1)
[2024-02-04 08:01:09] Requirement already satisfied: click in /usr/local/lib/python3.9/dist-packages (from userpath!=1.9.0,>=1.6->pipx) (8.1.7)
[2024-02-04 08:01:10] /root/.local/bin has been been added to PATH, but you need to open a new
[2024-02-04 08:01:10] terminal or re-login for this PATH change to take effect.
[2024-02-04 08:01:10]
[2024-02-04 08:01:10] You will need to open a new terminal or re-login for the PATH changes to take
[2024-02-04 08:01:10] effect.
[2024-02-04 08:01:10]
[2024-02-04 08:01:10] Otherwise pipx is ready to go! ✨ 🌟 ✨
[2024-02-04 08:01:10] ****************************
[2024-02-04 08:01:10] * Install TheengsGateway *
[2024-02-04 08:01:10] ****************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2 100 2 0 0 83 0 --:--:-- --:--:-- --:--:-- 83
creating virtual environment...
installing theengsgateway...
Fatal error from pip prevented installation. Full pip output in file:
/root/.local/state/pipx/log/cmd_2024-02-04_08.01.11_pip_errors.log
pip failed to build package:
TheengsDecoder
Some possibly relevant errors from pip install:
error: subprocess-exited-with-error
/tmp/pip-install-e06kbb8v/theengsdecoder_528c1c4698624bed8a799baf1f1390b9/TheengsDecoder/_decoder.cpp:2:10: fatal error: Python.h: No such file or directory
Error installing theengsgateway.
[2024-02-04 08:01:52]
[2024-02-04 08:01:52] ***************************
[2024-02-04 08:01:52] * Install ended *
[2024-02-04 08:01:52] ***************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2 100 2 0 0 34 0 --:--:-- --:--:-- --:--:-- 33
100 2 100 2 0 0 33 0 --:--:-- --:--:-- --:--:-- 33