Je n’avais pas de souci avec ce plugin. Après un souci avec un autre plugin, j’ai restauré une sauvegarde Jeedom sur ma Smart et depuis, il est impossible d’installer les dépendances. J’obtiens ce message :
********************************************************
* Installation des dépendances *
********************************************************
***** Commande: sudo apt-get update **********
Hit:1 http://www.deb-multimedia.org stretch InRelease
Hit:2 http://security.debian.org stretch/updates InRelease
Get:3 https://repo.jeedom.com/odroid stable InRelease [1640 B]
Hit:4 https://oph.mdrjr.net/meveric all InRelease
Hit:5 https://oph.mdrjr.net/meveric stretch InRelease
Err:3 https://repo.jeedom.com/odroid stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F9EB92D05446446C
Ign:6 http://ftp.debian.org/debian stretch InRelease
Hit:7 http://ftp.debian.org/debian stretch-updates InRelease
Hit:8 http://ftp.debian.org/debian stretch-backports InRelease
Hit:9 http://ftp.debian.org/debian stretch-proposed-updates InRelease
Hit:10 http://ftp.debian.org/debian stretch Release
Fetched 1640 B in 5s (304 B/s)
Reading package lists...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.jeedom.com/odroid stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F9EB92D05446446C
W: Failed to fetch http://repo.jeedom.com/odroid/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F9EB92D05446446C
W: Some index files failed to download. They have been ignored, or old ones used instead.
***** Commande: sudo apt-get install -y python3 python3-pip **********
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (9.0.1-2+deb9u1).
python3 is already the newest version (3.5.3-1).
The following packages were automatically installed and are no longer required:
libmemcached11 libmemcachedutil2 libmysqlclient18 libonig2 libpng12-0
libqdbm14 libvpx1 linux-image-3.14.29+ linux-image-arm64-odroid-c2
python-lockfile u-boot-tools
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 208 not upgraded.
***** Commande: sudo pip3 install requests **********
Requirement already satisfied: requests in /usr/lib/python2.7/dist-packages
***** Commande: sudo pip3 install bluepy **********
Collecting bluepy
Using cached https://files.pythonhosted.org/packages/27/91/6cfca10bee9862f93015413cf9e6a52c3081a71f1518963396a055128f8e/bluepy-1.3.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named 'setuptools'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-q8_anzu6/bluepy/
********************************************************
* Installation terminée *
********************************************************
Je viens de restaurer Jeedom, j’ai encore plein d’ennuis.
J’ai tenté plusieurs fois de lancer les dépendances de ce plugin, ça me bloque carrément la Smart, je suis obligé de la débrancher/rebrancher.
J’ai recommencé plusieurs fois. Ca ne plante plus la box mais apparemment, souci avec BluPy qu’il n’installe pas.
Voilà le log :
********************************************************
* Installation des dépendances *
********************************************************
***** Commande: sudo apt-get update **********
Ign:1 http://ftp.debian.org/debian stretch InRelease
Hit:3 http://ftp.debian.org/debian stretch-updates InRelease
Hit:4 http://security.debian.org stretch/updates InRelease
Hit:5 http://www.deb-multimedia.org stretch InRelease
Hit:6 http://ftp.debian.org/debian stretch-backports InRelease
Hit:7 http://ftp.debian.org/debian stretch-proposed-updates InRelease
Hit:8 http://ftp.debian.org/debian stretch Release
Hit:9 https://deb.nodesource.com/node_12.x stretch InRelease
Get:2 https://repo.jeedom.com/odroid stable InRelease [1640 B]
Hit:10 https://oph.mdrjr.net/meveric all InRelease
Hit:11 https://oph.mdrjr.net/meveric stretch InRelease
Ign:2 https://repo.jeedom.com/odroid stable InRelease
Fetched 1640 B in 3s (425 B/s)
Reading package lists...
W: GPG error: https://repo.jeedom.com/odroid stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F9EB92D05446446C
W: The repository 'http://repo.jeedom.com/odroid stable InRelease' is not signed.
***** Commande: sudo apt-get install -y python3 python3-pip **********
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (9.0.1-2+deb9u1).
python3 is already the newest version (3.5.3-1).
0 upgraded, 0 newly installed, 0 to remove and 206 not upgraded.
***** Commande: sudo pip3 install requests **********
Requirement already satisfied: requests in /usr/lib/python2.7/dist-packages
***** Commande: sudo pip3 install bluepy **********
Collecting bluepy
Using cached https://files.pythonhosted.org/packages/27/91/6cfca10bee9862f93015413cf9e6a52c3081a71f1518963396a055128f8e/bluepy-1.3.0.tar.gz
Building wheels for collected packages: bluepy
Running setup.py bdist_wheel for bluepy: started
Running setup.py bdist_wheel for bluepy: finished with status 'error'
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-g5t6xqx4/bluepy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpqksr_2qepip-wheel- --python-tag cp35:
running bdist_wheel
running build
running build_py
Working dir is /tmp/pip-build-g5t6xqx4/bluepy
execute make -C ./bluepy clean
execute make -C bluepy -j1
Failed to compile bluepy-helper. Exiting install.
Command was 'make -C bluepy -j1' in /tmp/pip-build-g5t6xqx4/bluepy
Return code was 2
Output was:
b"make: Entering directory '/tmp/pip-build-g5t6xqx4/bluepy/bluepy'
tar xzf bluez-src.tgz
touch ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c
make: pkg-config: Command not found
make: pkg-config: Command not found
cc -L. -g -Wall -Os -DHAVE_CONFIG_H -I./bluez-5.47/attrib -I./bluez-5.47 -I./bluez-5.47/lib -I./bluez-5.47/src -I./bluez-5.47/gdbus -I./bluez-5.47/btio -I./bluez-5.47/sys -o bluepy-helper bluepy-helper.c ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c
bluepy-helper.c:33:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.47/attrib/att.c:33:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.47/attrib/gatt.c:32:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.47/attrib/gattrib.c:34:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.47/attrib/utils.c:30:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.47/btio/btio.c:37:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.47/src/log.c:38:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.47/src/shared/io-glib.c:30:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.47/src/shared/timeout-glib.c:22:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
Makefile:30: recipe for target 'bluepy-helper' failed
make: *** [bluepy-helper] Error 1
make: Leaving directory '/tmp/pip-build-g5t6xqx4/bluepy/bluepy'
"
----------------------------------------
Failed building wheel for bluepy
Running setup.py clean for bluepy
Failed to build bluepy
Installing collected packages: bluepy
Running setup.py install for bluepy: started
Running setup.py install for bluepy: finished with status 'error'
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-g5t6xqx4/bluepy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-22s81ubk-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
Working dir is /tmp/pip-build-g5t6xqx4/bluepy
execute make -C ./bluepy clean
execute make -C bluepy -j1
Failed to compile bluepy-helper. Exiting install.
Command was 'make -C bluepy -j1' in /tmp/pip-build-g5t6xqx4/bluepy
Return code was 2
Output was:
b"make: Entering directory '/tmp/pip-build-g5t6xqx4/bluepy/bluepy'
tar xzf bluez-src.tgz
touch ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c
make: pkg-config: Command not found
make: pkg-config: Command not found
cc -L. -g -Wall -Os -DHAVE_CONFIG_H -I./bluez-5.47/attrib -I./bluez-5.47 -I./bluez-5.47/lib -I./bluez-5.47/src -I./bluez-5.47/gdbus -I./bluez-5.47/btio -I./bluez-5.47/sys -o bluepy-helper bluepy-helper.c ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c
bluepy-helper.c:33:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.47/attrib/att.c:33:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.47/attrib/gatt.c:32:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.47/attrib/gattrib.c:34:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.47/attrib/utils.c:30:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.47/btio/btio.c:37:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.47/src/log.c:38:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.47/src/shared/io-glib.c:30:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.47/src/shared/timeout-glib.c:22:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
Makefile:30: recipe for target 'bluepy-helper' failed
make: *** [bluepy-helper] Error 1
make: Leaving directory '/tmp/pip-build-g5t6xqx4/bluepy/bluepy'
"
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-g5t6xqx4/bluepy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-22s81ubk-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-g5t6xqx4/bluepy/
********************************************************
* Installation terminée *
W: GPG error: https://repo.jeedom.com/odroid stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F9EB92D05446446C
W: The repository 'http://repo.jeedom.com/odroid stable InRelease' is not signed.
C’est un problème avec la smart et le repo de jeedom (les autres, ne pas taper ces commandes !!!), en ssh tu tapes ces commandes :
je vois que tu n’as plus l’erreur de repo.jeedom.com ni celle de pkg-config, donc en effet, moi je t’aidais pour du générique, mais pour ce qui est spécifique au plugin, je peux pas t’aider, je le connais pas