Bonjour, je n’arrive pas à installer les dépendances du plugin Zwave. Je suis sur une machine physique debian 9. Voici le log:
Lancement de l'installation/mise à jour des dépendances openzwave
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Atteint:2 http://ftp.fr.debian.org/debian stretch-updates InRelease
Atteint:3 http://ftp.fr.debian.org/debian stretch Release
Atteint:4 http://security.debian.org/debian-security stretch/updates InRelease
Atteint:5 https://deb.nodesource.com/node_12.x stretch InRelease
Lecture des listes de paquets…
Installation des dependances
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
build-essential is already the newest version (12.3).
g++ is already the newest version (4:6.3.0-4).
gcc is already the newest version (4:6.3.0-4).
libjpeg-dev is already the newest version (1:1.5.1-2).
python-louie is already the newest version (1.1-2.1).
python-lxml is already the newest version (3.7.1-1).
make is already the newest version (4.1-9.1).
python-serial is already the newest version (3.2.1-1).
python-dev is already the newest version (2.7.13-2).
python-pip is already the newest version (9.0.1-2+deb9u1).
python-setuptools is already the newest version (33.1.1-1).
python-pyudev is already the newest version (0.21.0-1).
python-requests is already the newest version (2.12.4-1).
libudev-dev is already the newest version (232-25+deb9u12).
unzip is already the newest version (6.0-21+deb9u2).
git is already the newest version (1:2.11.0-3+deb9u5).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 1 non mis à jour.
Installation des dependances Python
Requirement already satisfied: urwid in /usr/local/lib/python3.5/dist-packages (2.1.0)
Collecting louie
Using cached Louie-2.0.tar.gz (13 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8yn6fox1/louie/setup.py'"'"'; __file__='"'"'/tmp/pip-install-8yn6fox1/louie/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-8yn6fox1/louie/pip-egg-info
cwd: /tmp/pip-install-8yn6fox1/louie/
Complete output (10 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-8yn6fox1/louie/setup.py", line 3, in <module>
from louie import version
File "/tmp/pip-install-8yn6fox1/louie/louie/__init__.py", line 1, in <module>
from . import dispatcher, error, plugin, robustapply, saferef, sender, signal, version
File "/tmp/pip-install-8yn6fox1/louie/louie/dispatcher.py", line 44
f"Louie connects: {connects}
"
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
could not install - abort
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
J'ai lancer l'installation manuellement , voici le log:
root@Jeedom2:/home/gls50# sh -x /var/www/html/plugins/openzwave/resources/install_appt.sh
sh: 0: Can't open /var/www/html/plugins/openzwave/resources/install_appt.sh
root@Jeedom2:/home/gls50# sh -x /var/www/html/plugins/openzwave/resources/instal l_apt.sh
+ PROGRESS_FILE=/tmp/jeedom/openzwave/dependance
+ touch /tmp/jeedom/openzwave/dependance
+ echo 0
+ echo Lancement de l'installation/mise à jour des dépendances openzwave
Lancement de l'installation/mise à jour des dépendances openzwave
/var/www/html/plugins/openzwave/resources/install_apt.sh: 24: /var/www/html/plug ins/openzwave/resources/install_apt.sh: Bad substitution
+ cd
+ pwd
+ BASEDIR=/home/gls50
+ function apt_install {
/var/www/html/plugins/openzwave/resources/install_apt.sh: 26: /var/www/html/plug ins/openzwave/resources/install_apt.sh: function: not found
+ sudo apt-get -y install
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 1 non mis à jour.
+ [ 0 -ne 0 ]
/var/www/html/plugins/openzwave/resources/install_apt.sh: 33: /var/www/html/plug
Que faire ?
Merci