l’installation s’est bien passée, les packages dépendances aussi.
par contre lorque je crée l’antenne local (raspberry pi3b) avec le dongle usb ou avec la puce intégré, le status de l’installation reste NOK. que se passe t’il ?
voici les logs debug :
[2023-12-04 21:27:41][DEBUG] : local exec:hcitool dev | grep hci => hci1 00:1A:7D:DA:71:13
[2023-12-04 21:28:00][DEBUG] : local exec:hcitool dev | grep hci => hci1 00:1A:7D:DA:71:13
[2023-12-04 21:28:02][DEBUG] : local exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0
[2023-12-04 21:28:02][DEBUG] : local exec:sudo /root/.local/bin/TheengsGateway -h | grep -Ecw "usage:" => 0
[2023-12-04 21:28:02][DEBUG] : local exec:sudo python3 -m TheengsGateway -h | grep -Ecw "usage:" => 0
[2023-12-04 21:28:02][INFO] : Lancement de l'installation de l'antenne 'local'
[2023-12-04 21:28:02][DEBUG] : local exec:sudo systemctl stop TheengsGateway.service =>
[2023-12-04 21:28:02][DEBUG] : local exec:sudo bash /var/www/html/plugins/tgw/core/class/../../resources/install_apt.sh http://192.168.1.192/plugins/tgw/core/php/jeetgw.php?id=249 > /var/www/html/log/tgw_249_update 2>&1 & =>
[2023-12-04 21:28:08][DEBUG] : step:0 for id:249
[2023-12-04 21:28:16][DEBUG] : step:1 for id:249
[2023-12-04 21:28:30][DEBUG] : step:2 for id:249
[2023-12-04 21:29:36][DEBUG] : step:3 for id:249
[2023-12-04 21:29:36][DEBUG] : local exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0
[2023-12-04 21:29:36][DEBUG] : local exec:sudo /root/.local/bin/TheengsGateway -h | grep -Ecw "usage:" => 0
[2023-12-04 21:30:16][DEBUG] : local exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0
[2023-12-04 21:30:16][DEBUG] : local exec:sudo /root/.local/bin/TheengsGateway -h | grep -Ecw "usage:" => 0
Il faudrait le log de l’installation de l’équipement (tgw_xxx_update), une capture d’écran de la page santé jeedom et une capture d’écran de la page config de l’équipement.
2023-12-04 21:28:02] *************************************
[2023-12-04 21:28:02] * Launch install of dependencies *
[2023-12-04 21:28:02] *************************************
[2023-12-04 21:28:04] Reading package lists...
[2023-12-04 21:28:05] Building dependency tree...
[2023-12-04 21:28:05] Reading state information...
[2023-12-04 21:28:08] curl is already the newest version (7.64.0-4+deb10u7).
[2023-12-04 21:28:08] 0 upgraded, 0 newly installed, 0 to remove and 25 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 52 0 --:--:-- --:--:-- --:--:-- 52
[2023-12-04 21:28:09] Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
[2023-12-04 21:28:09] Hit:2 http://archive.raspberrypi.org/debian buster InRelease
[2023-12-04 21:28:09] Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease
[2023-12-04 21:28:15] Reading package lists...
[2023-12-04 21:28:15] *****************************
[2023-12-04 21:28:15] Install modules using apt-get
[2023-12-04 21:28:15] *****************************
% 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 48 0 --:--:-- --:--:-- --:--:-- 50
[2023-12-04 21:28:16] Reading package lists...
[2023-12-04 21:28:17] Building dependency tree...
[2023-12-04 21:28:17] Reading state information...
[2023-12-04 21:28:19] python3 is already the newest version (3.7.3-1).
[2023-12-04 21:28:19] python3-venv is already the newest version (3.7.3-1).
[2023-12-04 21:28:19] bluez is already the newest version (5.50-1.2~deb10u3+rpt1).
[2023-12-04 21:28:19] python3-pip is already the newest version (18.1-5+rpt1).
[2023-12-04 21:28:19] 0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
[2023-12-04 21:28:19] Version debian:10
[2023-12-04 21:28:19] Install pipx via pip
[2023-12-04 21:28:24] Requirement already satisfied: pipx in /usr/local/lib/python3.7/dist-packages (1.2.1)
[2023-12-04 21:28:24] Requirement already satisfied: argcomplete>=1.9.4 in /usr/local/lib/python3.7/dist-packages (from pipx) (3.1.2)
[2023-12-04 21:28:24] Requirement already satisfied: importlib-metadata>=3.3.0 in /usr/local/lib/python3.7/dist-packages (from pipx) (6.7.0)
[2023-12-04 21:28:24] Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.7/dist-packages (from pipx) (23.2)
[2023-12-04 21:28:24] Requirement already satisfied: userpath>=1.6.0 in /usr/local/lib/python3.7/dist-packages (from pipx) (1.9.1)
[2023-12-04 21:28:25] Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata>=3.3.0->pipx) (3.15.0)
[2023-12-04 21:28:25] Requirement already satisfied: typing-extensions>=3.6.4 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata>=3.3.0->pipx) (4.7.1)
[2023-12-04 21:28:25] Requirement already satisfied: click in /usr/local/lib/python3.7/dist-packages (from userpath>=1.6.0->pipx) (8.1.7)
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
[2023-12-04 21:28:30] /root/.local/bin has been been added to PATH, but you need to open a new
[2023-12-04 21:28:30] terminal or re-login for this PATH change to take effect.
[2023-12-04 21:28:30]
[2023-12-04 21:28:30] You will need to open a new terminal or re-login for the PATH changes to take
[2023-12-04 21:28:30] effect.
[2023-12-04 21:28:30]
[2023-12-04 21:28:30] Otherwise pipx is ready to go! ✨ 🌟 ✨
[2023-12-04 21:28:30] *************************************
[2023-12-04 21:28:30] Install the required python libraries
[2023-12-04 21:28:30] *************************************
% 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 51 0 --:--:-- --:--:-- --:--:-- 51
creating virtual environment...
installing theengsgateway...
Fatal error from pip prevented installation. Full pip output in file:
/root/.local/pipx/logs/cmd_2023-12-04_21.28.31_pip_errors.log
pip seemed to fail to build package:
cmake
Some possibly relevant errors from pip install:
error: subprocess-exited-with-error
Error installing theengsgateway.
[2023-12-04 21:29:36]
[2023-12-04 21:29:36] ***************************
[2023-12-04 21:29:36] * Install ended *
[2023-12-04 21:29:36] ***************************
% 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 16 0 --:--:-- --:--:-- --:--:-- 16
Problem with the CMake installation, aborting build. CMake executable is cmake
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cmake
Building wheel for ninja (pyproject.toml): started
Building wheel for ninja (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for ninja (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
/tmp/pip-build-env-yov9n4yu/overlay/lib/python3.7/site-packages/setuptools_scm/git.py:295: UserWarning: git archive did not support describe output
warnings.warn("git archive did not support describe output")
/tmp/pip-build-env-yov9n4yu/overlay/lib/python3.7/site-packages/setuptools_scm/git.py:312: UserWarning: unexported git archival found
warnings.warn("unexported git archival found")
Traceback (most recent call last):
File "/tmp/pip-build-env-yov9n4yu/overlay/lib/python3.7/site-packages/skbuild/setuptools_wrap.py", line 645, in setup
cmkr = cmaker.CMaker(cmake_executable)
File "/tmp/pip-build-env-yov9n4yu/overlay/lib/python3.7/site-packages/skbuild/cmaker.py", line 148, in __init__
self.cmake_version = get_cmake_version(self.cmake_executable)
File "/tmp/pip-build-env-yov9n4yu/overlay/lib/python3.7/site-packages/skbuild/cmaker.py", line 105, in get_cmake_version
raise SKBuildError(msg) from err
Problem with the CMake installation, aborting build. CMake executable is cmake
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ninja
Failed to build cmake ninja
ERROR: Could not build wheels for cmake, ninja, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error