NOK : Installation dépendances

Bonjour,

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                    *
********************************************************

Et ceci :

Voilà les infos de ma Smart :

J’ai tenté de supprimer le plugin et de le remettre, le problème réapparaît.
Merci pour votre aide.

Bonjour @Dark_Kermit,

Putty ssh
sudo pip3 install setuptools

akenad :slight_smile:

1 « J'aime »

Merci !
Je viens de le faire, voici le message :

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                    *

Hello,

comme on le voit là :

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 :


sudo apt-add-repository -r "deb http://repo.jeedom.com/odroid/ stable main"

sudo wget --quiet -O - http://repo.jeedom.com/odroid/conf/jeedom.gpg.key | sudo apt-key add -
 
sudo apt-add-repository "deb http://repo.jeedom.com/odroid/ stable main"

Puis tu relances les dep

1 « J'aime »

et si tu vois encore ce message après :

sudo apt-get install -y pkg-config

Merci ! Je suis en train de relancer les dépendances :
image

Bizarre la durée !!! Je ne comprends pas d’où viennent tous ces ennuis avec Jeedom, surtout que j’ai fait une restauration. Merci pour tout !

probablement ton heure système qui n’est pas bonne. configure ton ntp dans la config jeedom ainsi que ta timezone.

Pourtant, l’heure indiquée est correcte.
Je viens de faire toutes les manips.

Ca ne fonctionne pas. Voici mes logs :

********************************************************
*             Installation des dépendances             *
********************************************************
***** Commande: sudo apt-get update **********
Hit:1 http://www.deb-multimedia.org stretch InRelease
Ign:2 http://ftp.debian.org/debian stretch InRelease
Hit:3 http://security.debian.org stretch/updates InRelease
Hit:5 http://ftp.debian.org/debian stretch-updates 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
Hit:10 https://oph.mdrjr.net/meveric all InRelease
Hit:11 https://oph.mdrjr.net/meveric stretch InRelease
Ign:4 https://repo.jeedom.com/odroid stable InRelease
Get:13 https://repo.jeedom.com/odroid stable Release [932 B]
Get:14 https://repo.jeedom.com/odroid stable Release.gpg [659 B]
Fetched 1591 B in 5s (277 B/s)
Reading package lists...
***** 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-lh_egv1q/bluepy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpkcm7h1mopip-wheel- --python-tag cp35:
running bdist_wheel
running build
running build_py
Working dir is /tmp/pip-build-lh_egv1q/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-lh_egv1q/bluepy
Return code was 2
Output was:
b"make: Entering directory '/tmp/pip-build-lh_egv1q/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
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' 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-lh_egv1q/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-lh_egv1q/bluepy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-py_0yaz4-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
Working dir is /tmp/pip-build-lh_egv1q/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-lh_egv1q/bluepy
Return code was 2
Output was:
b"make: Entering directory '/tmp/pip-build-lh_egv1q/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
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' 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-lh_egv1q/bluepy/bluepy'
"
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-lh_egv1q/bluepy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-py_0yaz4-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-lh_egv1q/bluepy/
********************************************************
*             Installation terminée                    *
********************************************************

et :

[2020-08-05 00:32:37][INFO] : Début d'activation du plugin
[2020-08-05 00:32:38][INFO] : Info sur le démon : {"launchable_message":"","launchable":"nok","state":"nok","log":"nok","auto":0}
[2020-08-05 00:32:38][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=switchbot function=install callInstallFunction=1
[2020-08-05 08:51:53][DEBUG] : Impossible de trouver bluepy : Erreur sur sudo /usr/bin/pip3 list | grep bluepy 2>&1 valeur retournée : 1. Détails :
[2020-08-05 08:52:04][DEBUG] : Impossible de trouver bluepy : Erreur sur sudo /usr/bin/pip3 list | grep bluepy 2>&1 valeur retournée : 1. Détails :
[2020-08-05 08:52:05][DEBUG] : Impossible de trouver bluepy : Erreur sur sudo /usr/bin/pip3 list | grep bluepy 2>&1 valeur retournée : 1. Détails :
[2020-08-05 08:52:12][DEBUG] : Impossible de trouver bluepy : Erreur sur sudo /usr/bin/pip3 list | grep bluepy 2>&1 valeur retournée : 1. Détails :
[2020-08-05 08:52:19][DEBUG] : Impossible de trouver bluepy : Erreur sur sudo /usr/bin/pip3 list | grep bluepy 2>&1 valeur retournée : 1. Détails :
[2020-08-05 08:52:20][DEBUG] : Impossible de trouver bluepy : Erreur sur sudo /usr/bin/pip3 list | grep bluepy 2>&1 valeur retournée : 1. Détails :
[2020-08-05 08:52:32][DEBUG] : Impossible de trouver bluepy : Erreur sur sudo /usr/bin/pip3 list | grep bluepy 2>&1 valeur retournée : 1. Détails :
[2020-08-05 08:52:33][DEBUG] : Impossible de trouver bluepy : Erreur sur sudo /usr/bin/pip3 list | grep bluepy 2>&1 valeur retournée : 1. Détails :

Je viens de contacter le support, j’espère que c’est de leur ressort.
Ils viennent de me répondre avoir envoyé la demande au développeur du plugin…

tu parles de laquelle ? celle en haut à droite de jeedom ? c’est l’heure de ton pc (via javascript), aucun rapport avec l’heure du système jeedom.

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 :wink:

Ok, merci. Il reste des erreurs relatives à Jeedom tu crois ?

Au plugin je dirais…

1 « J'aime »

Ok, merci. J’attends donc la réponse du développeur :slight_smile:

Bonjour, après passage au SAV, j’ai une Smart toute neuve mais j’ai toujours un problème avec ce plugin.

Les dépendances ne s’installent pas. J’espère que le développeur pourra m’aider :slight_smile:

********************************************************
*             Installation des dépendances             *
********************************************************
***** Commande: sudo apt-get update **********
Get:1 http://security.debian.org stretch/updates InRelease [53.0 kB]
Hit:2 http://www.deb-multimedia.org stretch InRelease
Ign:4 http://ftp.debian.org/debian stretch InRelease
Get:5 http://ftp.debian.org/debian stretch-updates InRelease [93.6 kB]
Hit:6 https://deb.nodesource.com/node_12.x stretch InRelease
Get:7 http://ftp.debian.org/debian stretch-backports InRelease [91.8 kB]
Get:8 http://ftp.debian.org/debian stretch-proposed-updates InRelease [96.3 kB]
Hit:9 http://ftp.debian.org/debian stretch Release
Get:3 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
Get:12 http://security.debian.org stretch/updates/main Sources [238 kB]
Get:13 http://security.debian.org stretch/updates/main arm64 Packages [538 kB]
Fetched 1113 kB in 4s (269 kB/s)
Reading package lists...
***** 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).
python3 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 204 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
Downloading https://files.pythonhosted.org/packages/27/91/6cfca10bee9862f93015413cf9e6a52c3081a71f1518963396a055128f8e/bluepy-1.3.0.tar.gz (217kB)
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-g5m7d0x8/bluepy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpeeii7lfkpip-wheel- --python-tag cp35:
running bdist_wheel
running build
running build_py
Working dir is /tmp/pip-build-g5m7d0x8/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-g5m7d0x8/bluepy
Return code was 2
Output was:
b"make: Entering directory '/tmp/pip-build-g5m7d0x8/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-g5m7d0x8/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-g5m7d0x8/bluepy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-snix_rt4-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
Working dir is /tmp/pip-build-g5m7d0x8/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-g5m7d0x8/bluepy
Return code was 2
Output was:
b"make: Entering directory '/tmp/pip-build-g5m7d0x8/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-g5m7d0x8/bluepy/bluepy'
"
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-g5m7d0x8/bluepy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-snix_rt4-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-g5m7d0x8/bluepy/
********************************************************
*             Installation terminée                    *
********************************************************