Device impossible a intégrer alors que détecté dans les logs

En effet !
Cependant, le statut des dépendances est OK et Démon OK.
Je fais comment pour en savoir plus sur cette erreur ?

J’ai fais des recheche sur des erreur du genre. j’en suis venu a tenter (les doigts tremblant, apres une sauvegarde :sweat_smile: :sweat_smile:) une commande dans l’administrateur systeme.

La commande : pip3 install Pillow

La reponse :

The directory '/var/www/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/var/www/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting Pillow
  Downloading https://files.pythonhosted.org/packages/00/d5/4903f310765e0ff2b8e91ffe55031ac6af77d982f0156061e20a4d1a8b2d/Pillow-9.5.0.tar.gz (50.5MB)
Installing collected packages: Pillow
  Running setup.py install for Pillow: started
    Running setup.py install for Pillow: finished with status 'error'
    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-3tnr4x5s/Pillow/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-mwe8j7e9/install-record.txt --single-version-externally-managed --compile --user --prefix=:
    running install
    /usr/local/lib/python3.7/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
    !!

            ********************************************************************************
            Please avoid running ``setup.py`` directly.
            Instead, use pypa/build, pypa/installer or other
            standards-based tools.

            See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
            ********************************************************************************

    !!
      self.initialize_options()
    error: [Errno 13] Permission denied: '/var/www/.local'

    ----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-3tnr4x5s/Pillow/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-mwe8j7e9/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-3tnr4x5s/Pillow/

Si je comprend bien
1- il me manque des droit pour executer l’ensemble de la commande correctement ,(ou du moins acceder aux dossiers necessaires)
2- L’erreur reste la même Running setup.py install for Pillow: finished with status 'error'

Je devrais tenter ça ? :
python3 -m pip install --upgrade pip
puis
python3 -m pip install --upgrade Pillow

J’ai peur de tout planter :melting_face:

si t’es pas root mettre sudo devant les commandes

mais perso des erreurs dans un log même si les dépendances disent OK, j’y crois pas que ca puisse marcher !!

Bonjour !

Apres lecture de plusieurs sujet, j’ai tente diverses commandes.

Je suis passé par un downgrade de « setuptools », « numpy » et « pillow », puis voyant que ça fonctionnait pas, j’ai installé les libs :
sudo apt-get install -y libjpeg-dev zlib1g-dev libfreetype6-dev libopenjp2-7 libtiff5

Puis re-upgrade setuptools, numpy et pillow.

Finalament : l’installation des dépendances ne retourne, il me semble, plus aucune erreur !

0000|********************************************************
0001|*			 Installation des dépendances			 *
0002|********************************************************
0003|Hit:1 http://security.debian.org buster/updates InRelease
0004|Hit:2 http://deb.debian.org/debian buster InRelease
0005|Hit:3 http://deb.debian.org/debian buster-updates InRelease
0006|Hit:4 http://deb.debian.org/debian buster-backports InRelease
0007|Get:5 https://deb.nodesource.com/node_16.x buster InRelease [4584 B]
0008|Fetched 4584 B in 1s (3795 B/s)
0009|Reading package lists...
0010|Reading package lists...
0011|Building dependency tree...
0012|Reading state information...
0013|libatlas-base-dev is already the newest version (3.10.3-8).
0014|build-essential is already the newest version (12.6).
0015|libffi-dev is already the newest version (3.2.1-9).
0016|libopenjp2-7 is already the newest version (2.3.0-2+deb10u2).
0017|python3-serial is already the newest version (3.4-4).
0018|python3-setuptools is already the newest version (40.8.0-1).
0019|python3-dev is already the newest version (3.7.3-1).
0020|python3-pyudev is already the newest version (0.21.0-1).
0021|rfkill is already the newest version (2.33.1-0.1).
0022|bluetooth is already the newest version (5.50-1.2~deb10u3).
0023|libbluetooth-dev is already the newest version (5.50-1.2~deb10u3).
0024|libssl-dev is already the newest version (1.1.1n-0+deb10u6).
0025|python3-requests is already the newest version (2.21.0-1+deb10u1).
0026|libtiff5 is already the newest version (4.1.0+git191117-2~deb10u8).
0027|0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
0028|Reading package lists...
0029|Building dependency tree...
0030|Reading state information...
0031|debconf: unable to initialize frontend: Dialog
0032|debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
0033|debconf: falling back to frontend: Readline
0034|debconf: unable to initialize frontend: Readline
0035|debconf: (This frontend requires a controlling tty.)
0036|debconf: falling back to frontend: Teletype
0037|dpkg-preconfigure: unable to re-open stdin:
0038|0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 2 not upgraded.
0039|Need to get 0 B/1191 kB of archives.
0040|After this operation, 0 B of additional disk space will be used.
0041|(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 ... 74007 files and directories currently installed.)
0042|Preparing to unpack .../python3_3.7.3-1_arm64.deb ...
0043|running python pre-rtupdate hooks for python3.7...
0044|Unpacking python3 (3.7.3-1) over (3.7.3-1) ...
0045|Preparing to unpack .../bluez_5.50-1.2~deb10u3_arm64.deb ...
0046|Unpacking bluez (5.50-1.2~deb10u3) over (5.50-1.2~deb10u3) ...
0047|Preparing to unpack .../python3-pip_18.1-5_all.deb ...
0048|Unpacking python3-pip (18.1-5) over (18.1-5) ...
0049|Setting up python3 (3.7.3-1) ...
0050|running python rtupdate hooks for python3.7...
0051|running python post-rtupdate hooks for python3.7...
0052|Setting up bluez (5.50-1.2~deb10u3) ...
0053|Setting up python3-pip (18.1-5) ...
0054|Processing triggers for man-db (2.8.5-2) ...
0055|Processing triggers for dbus (1.12.24-0+deb10u1) ...
0056|Processing triggers for systemd (241-7~deb10u10) ...
0057|Requirement already up-to-date: setuptools in /usr/local/lib/python3.7/dist-packages (68.0.0)
0058|Reading package lists...
0059|Building dependency tree...
0060|Reading state information...
0061|git is already the newest version (1:2.20.1-2+deb10u8).
0062|libglib2.0-dev is already the newest version (2.58.3-2+deb10u4).
0063|0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
0064|Requirement already satisfied: pyudev in /usr/lib/python3/dist-packages (0.21.0)
0065|Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages (3.4)
0066|Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.21.0)
0067|Requirement already satisfied: pybluez in /usr/local/lib/python3.7/dist-packages (0.23)
0068|Requirement already satisfied: pillow in /usr/local/lib/python3.7/dist-packages (9.5.0)
0069|Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (1.21.6)
0070|Requirement already satisfied: bluepy in /usr/local/lib/python3.7/dist-packages (1.3.0)
0071|Cloning into 'bluepy'...
0072|running build
0073|running build_py
0074|creating build
0075|creating build/lib
0076|creating build/lib/bluepy
0077|copying bluepy/sensortag.py -> build/lib/bluepy
0078|copying bluepy/thingy52.py -> build/lib/bluepy
0079|copying bluepy/scanner.py -> build/lib/bluepy
0080|copying bluepy/btle.py -> build/lib/bluepy
0081|copying bluepy/__init__.py -> build/lib/bluepy
0082|copying bluepy/blescan.py -> build/lib/bluepy
0083|copying bluepy/scan_fuzz.py -> build/lib/bluepy
0084|copying bluepy/get_services.py -> build/lib/bluepy
0085|copying bluepy/uuids.json -> build/lib/bluepy
0086|copying bluepy/bluez-src.tgz -> build/lib/bluepy
0087|copying bluepy/bluepy-helper.c -> build/lib/bluepy
0088|copying bluepy/Makefile -> build/lib/bluepy
0089|/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options
0090|!!
0091|********************************************************************************
0092|Usage of dash-separated 'description-file' will not be supported in future
0093|versions. Please use the underscore name 'description_file' instead.
0094|By 2023-Sep-26, you need to update your project and remove deprecated calls
0095|or your builds will no longer be supported.
0096|See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
0097|********************************************************************************
0098|!!
0099|opt = self.warn_dash_deprecation(opt, section)
0100|running install
0101|Working dir is /tmp/bluepy
0102|execute make -C ./bluepy clean
0103|execute make -C bluepy -j1
0104|running build
0105|running build_py
0106|copying bluepy/bluepy-helper -> build/lib/bluepy
0107|running install_lib
0108|copying build/lib/bluepy/sensortag.py -> /usr/lib/python3.7/site-packages/bluepy
0109|copying build/lib/bluepy/uuids.json -> /usr/lib/python3.7/site-packages/bluepy
0110|copying build/lib/bluepy/thingy52.py -> /usr/lib/python3.7/site-packages/bluepy
0111|copying build/lib/bluepy/Makefile -> /usr/lib/python3.7/site-packages/bluepy
0112|copying build/lib/bluepy/bluepy-helper -> /usr/lib/python3.7/site-packages/bluepy
0113|copying build/lib/bluepy/scanner.py -> /usr/lib/python3.7/site-packages/bluepy
0114|copying build/lib/bluepy/btle.py -> /usr/lib/python3.7/site-packages/bluepy
0115|copying build/lib/bluepy/__init__.py -> /usr/lib/python3.7/site-packages/bluepy
0116|copying build/lib/bluepy/bluez-src.tgz -> /usr/lib/python3.7/site-packages/bluepy
0117|copying build/lib/bluepy/blescan.py -> /usr/lib/python3.7/site-packages/bluepy
0118|copying build/lib/bluepy/scan_fuzz.py -> /usr/lib/python3.7/site-packages/bluepy
0119|copying build/lib/bluepy/get_services.py -> /usr/lib/python3.7/site-packages/bluepy
0120|copying build/lib/bluepy/bluepy-helper.c -> /usr/lib/python3.7/site-packages/bluepy
0121|byte-compiling /usr/lib/python3.7/site-packages/bluepy/sensortag.py to sensortag.cpython-37.pyc
0122|byte-compiling /usr/lib/python3.7/site-packages/bluepy/thingy52.py to thingy52.cpython-37.pyc
0123|byte-compiling /usr/lib/python3.7/site-packages/bluepy/scanner.py to scanner.cpython-37.pyc
0124|byte-compiling /usr/lib/python3.7/site-packages/bluepy/btle.py to btle.cpython-37.pyc
0125|byte-compiling /usr/lib/python3.7/site-packages/bluepy/__init__.py to __init__.cpython-37.pyc
0126|byte-compiling /usr/lib/python3.7/site-packages/bluepy/blescan.py to blescan.cpython-37.pyc
0127|byte-compiling /usr/lib/python3.7/site-packages/bluepy/scan_fuzz.py to scan_fuzz.cpython-37.pyc
0128|byte-compiling /usr/lib/python3.7/site-packages/bluepy/get_services.py to get_services.cpython-37.pyc
0129|running install_egg_info
0130|running egg_info
0131|creating bluepy.egg-info
0132|writing bluepy.egg-info/PKG-INFO
0133|writing dependency_links to bluepy.egg-info/dependency_links.txt
0134|writing entry points to bluepy.egg-info/entry_points.txt
0135|writing top-level names to bluepy.egg-info/top_level.txt
0136|writing manifest file 'bluepy.egg-info/SOURCES.txt'
0137|reading manifest file 'bluepy.egg-info/SOURCES.txt'
0138|adding license file 'LICENSE.txt'
0139|writing manifest file 'bluepy.egg-info/SOURCES.txt'
0140|removing '/usr/lib/python3.7/site-packages/bluepy-1.1.4-py3.7.egg-info' (and everything under it)
0141|Copying bluepy.egg-info to /usr/lib/python3.7/site-packages/bluepy-1.1.4-py3.7.egg-info
0142|running install_scripts
0143|Installing blescan script to /usr/bin
0144|Installing sensortag script to /usr/bin
0145|Installing thingy52 script to /usr/bin
0146|/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options
0147|!!
0148|********************************************************************************
0149|Usage of dash-separated 'description-file' will not be supported in future
0150|versions. Please use the underscore name 'description_file' instead.
0151|By 2023-Sep-26, you need to update your project and remove deprecated calls
0152|or your builds will no longer be supported.
0153|See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
0154|********************************************************************************
0155|!!
0156|opt = self.warn_dash_deprecation(opt, section)
0157|/usr/local/lib/python3.7/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
0158|!!
0159|********************************************************************************
0160|Please avoid running ``setup.py`` directly.
0161|Instead, use pypa/build, pypa/installer or other
0162|standards-based tools.
0163|See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
0164|********************************************************************************
0165|!!
0166|self.initialize_options()
0167|Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (2.6.1)
0168|Requirement already satisfied: pycrypto in /usr/lib/python3/dist-packages (2.6.1)
0169|********************************************************
0170|*			 Installation terminée					*
0171|********************************************************

Malgré ca (réinstallation dépendances sans erreur, mise a jour des fichiers sur antennes, redémarrage des antennes…
ça ne marche toujours par.

Le Nutale ainsi que d’autre périphériques sont toujours bien vus (vu dans les logs) mais dès que je passe en mode apprentissage (scan), plus rien. Peut importe que je selectionne « tous » ou « inconnu », j’ai fait aussi aussi « beewi smart lite » vu que ca apparait dans les logs : Aucun résultat.

Une autre idées ?
J’ouvre un ticket support ?

Bonsoir.

De quelle antenne parlez vous ?

En Local, vous ne devez pas installer d’antenne.

Bonsoir !

Je sais, je n’en ai pas d’installe, mais je cherche partout et donc dans le doute je clique dessus, quelque fois que par miracle ca change quelque choses :sweat_smile:

Bonjour,

Vous pouvez montrer la page de configuration du plugin, entièrement.
La page santé de Jeedom
Et faire le test de scan via un autre navigateur (le votre semble avoir des extensions)

Merci.

Bonjour,

voici les 2 captures :


Je viens d’essayer avec Edge (vierge, je ne l’utilise pas) : même resultat.

J’utilise ce dongle ble : https://www.amazon.fr/dp/B0BVY2PB3Y?psc=1&ref=ppx_yo2ov_dt_b_product_details

Peut être une info qui pourrais aider : dans les log, en dehors du mode apprentissage je repère donc bien le nutale, ainsi que d’autre périphériques. Par contre je viens de remarquer que mon téléphone n’apparait pas (je ne retrouve pas le son MAC).

Info x2 : J’ai essayer le plugin PhoneDetection ce matin (en prenant soins de désactiver alternativement blea/phonedetection (j’ai pu lire qu’ils entraient parfois en conflict).
La aussi bizarrement, une fois un équipement crée avec la MAC de mon téléphone, le plugin a retrouné device state : 1, a su récupérer son nom…
Mais n’a pas remonter d’infos ailleurs que dans les log. Que se soit dans la page config de l’équipement ou sur le dashboard, l’équipement apparaissait comme non présent (ou état : « inconnu », même pas 0 ou 1).
Alors que clairement, une communication a eu lieu puisque le nom « realme GT 5G » a été récupérer sans que je le renseigne.

Je sais bien qu’il s’agit d’un autre plugin, et que ici 1 sujet = 1 plugin (en gros),je donne juste cette info au cas ou elle pourrait mettre un connaisseur sur une piste :slight_smile:

Merci de votre réponse.

Je crois que le problème est votre clé qui est une clé Bluetooth au format 5.x

En effet, tous les utilisateurs ayant eu ce type de problème avaient ce point commun avec vous. Le Bluetooth 5.x ne fonctionne pas (possible problème du plugin et/ou du système d’exploitation).

Testez avec une clé Bluetooth 4 ble

D’accord, je me procure une clef 4.x et je test :slight_smile:

Ça y est, le colis est arrivé !

Je confirme donc qu’avec cette clef, ça fonctionne !

Je ne peux pas confirmer ou infirmer par contre si c’est a cause de la norme 4.x ou parceque celle ci est estampillé « linux » compatible alors que l’autre ne l’était pas.

Merci a tous pour votre aide !

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.