Erreur installation antenne : Fatal error from pip prevented installation

Un mot d’explication du pourquoi de ce nouveau problème: il y a eu hier ou ajd une nouvelle version de paho-mqtt.
Ce n’est ni le plugin ni theengsgateway qui ont le contrôle la dessus
Et pour info l’installation d’autres plugin sous jeedom sont cassés a cause de ça aussi.

Voila pourquoi les manips ci dessus t’ont été demandée dans le but de te débloquer rapidement.


La mise à jour manuelle de paho ne fonctionnera pas car c’est installé dans un venv.

Demain normalement le plugin va détecter tout seul qu’une nouvelle version de theengsgateway est dispo et proposera la mise à jour.

Si j’ai le temps je regarde ce soir pour forcer le refresh.

Sinon desinstaller et réinstaller complètement devrait d’office mettre la dernière version.

2 « J'aime »

Rien de personnel
Je trouve simplement cette conf. TRES compliquée à mettre en œuvre (pour mon niveau) : ce n’est pas un simple « remplacement » de BLEA. En terme de robustesse cela semble très sensible à l’environnement de fonctionnement : bref ce n’est pas accessible à un utilisateur lambda de Jeedom (comme moi)
Le prix à payer pour maintenir ma conf. (qui marche à ce jour) à jour, sans autre bénéfice que la pérennité.
Désolé un peu d’agacement après 2 semaines sans résultat

jeedom@JeedomAtlas:~$ pip install --upgrade TheengsGateway
Defaulting to user installation because normal site-packages is not writeable
Collecting TheengsGateway
  Downloading TheengsGateway-1.4.0.tar.gz (529 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 529.7/529.7 kB 5.6 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting bleak>=0.19.0 (from TheengsGateway)
  Downloading bleak-0.21.1-py3-none-any.whl.metadata (5.3 kB)
Collecting bluetooth-clocks<1.0 (from TheengsGateway)
  Downloading bluetooth_clocks-0.2.0-py3-none-any.whl.metadata (10 kB)
Collecting bluetooth-numbers<2.0,>=1.0 (from TheengsGateway)
  Downloading bluetooth_numbers-1.1.1-py3-none-any.whl.metadata (6.6 kB)
Collecting importlib-metadata (from TheengsGateway)
  Downloading importlib_metadata-7.0.1-py3-none-any.whl.metadata (4.9 kB)
Collecting paho-mqtt<3.0.0,>=2.0.0 (from TheengsGateway)
  Downloading paho_mqtt-2.0.0-py3-none-any.whl.metadata (23 kB)
Collecting pycryptodomex>=3.18.0 (from TheengsGateway)
  Downloading pycryptodomex-3.20.0-cp35-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (3.4 kB)
Collecting TheengsDecoder>=1.7.0 (from TheengsGateway)
  Downloading TheengsDecoder-1.7.0.tar.gz (296 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 296.8/296.8 kB 15.9 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting bluetooth-adapters>=0.15.3 (from TheengsGateway)
  Downloading bluetooth_adapters-0.17.0-py3-none-any.whl.metadata (5.3 kB)
Requirement already satisfied: async-timeout<5,>=3.0.0 in /usr/local/lib/python3.9/dist-packages (from bleak>=0.                             19.0->TheengsGateway) (4.0.3)
Collecting dbus-fast<3,>=1.83.0 (from bleak>=0.19.0->TheengsGateway)
  Downloading dbus_fast-2.21.1.tar.gz (69 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 69.4/69.4 kB 4.9 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: typing-extensions>=4.7.0 in /usr/local/lib/python3.9/dist-packages (from bleak>=0                             .19.0->TheengsGateway) (4.9.0)
Requirement already satisfied: aiohttp>=3.8.1 in /usr/local/lib/python3.9/dist-packages (from bluetooth-adapters                             >=0.15.3->TheengsGateway) (3.9.3)
Collecting mac-vendor-lookup>=0.1.12 (from bluetooth-adapters>=0.15.3->TheengsGateway)
  Downloading mac_vendor_lookup-0.1.12-py3-none-any.whl (350 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 350.3/350.3 kB 15.1 MB/s eta 0:00:00
Collecting usb-devices>=0.4.5 (from bluetooth-adapters>=0.15.3->TheengsGateway)
  Downloading usb_devices-0.4.5-py3-none-any.whl.metadata (5.3 kB)
Collecting zipp>=0.5 (from importlib-metadata->TheengsGateway)
  Downloading zipp-3.17.0-py3-none-any.whl.metadata (3.7 kB)
Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.9/dist-packages (from aiohttp>=3.8.1->                             bluetooth-adapters>=0.15.3->TheengsGateway) (1.3.1)
Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.9/dist-packages (from aiohttp>=3.8.1->blu                             etooth-adapters>=0.15.3->TheengsGateway) (23.2.0)
Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.9/dist-packages (from aiohttp>=3.8.1-                             >bluetooth-adapters>=0.15.3->TheengsGateway) (1.4.1)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.9/dist-packages (from aiohttp>=3.8.                             1->bluetooth-adapters>=0.15.3->TheengsGateway) (6.0.5)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.9/dist-packages (from aiohttp>=3.8.1->bl                             uetooth-adapters>=0.15.3->TheengsGateway) (1.4.2)
Collecting aiofiles (from mac-vendor-lookup>=0.1.12->bluetooth-adapters>=0.15.3->TheengsGateway)
  Downloading aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB)
Requirement already satisfied: idna>=2.0 in /usr/local/lib/python3.9/dist-packages (from yarl<2.0,>=1.0->aiohttp                             >=3.8.1->bluetooth-adapters>=0.15.3->TheengsGateway) (3.6)
Downloading bleak-0.21.1-py3-none-any.whl (137 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.8/137.8 kB 8.5 MB/s eta 0:00:00
Downloading bluetooth_adapters-0.17.0-py3-none-any.whl (19 kB)
Downloading bluetooth_clocks-0.2.0-py3-none-any.whl (20 kB)
Downloading bluetooth_numbers-1.1.1-py3-none-any.whl (474 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 474.1/474.1 kB 17.5 MB/s eta 0:00:00
Downloading paho_mqtt-2.0.0-py3-none-any.whl (66 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.9/66.9 kB 4.3 MB/s eta 0:00:00
Downloading pycryptodomex-3.20.0-cp35-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 19.0 MB/s eta 0:00:00
Downloading importlib_metadata-7.0.1-py3-none-any.whl (23 kB)
Downloading usb_devices-0.4.5-py3-none-any.whl (5.3 kB)
Downloading zipp-3.17.0-py3-none-any.whl (7.4 kB)
Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)
Building wheels for collected packages: TheengsGateway, TheengsDecoder, dbus-fast
  Building wheel for TheengsGateway (pyproject.toml) ... done
  Created wheel for TheengsGateway: filename=TheengsGateway-1.4.0-py3-none-any.whl size=33011 sha256=20ff2f9e338                             58c0d94da31482e32353cb52ed2a3d80dca36d4e028805421a571
  Stored in directory: /home/jeedom/.cache/pip/wheels/93/2e/ff/aba517177465dba45a5b2c383c22d8ed547339939c4b9b90d                             a
  Building wheel for TheengsDecoder (pyproject.toml) ... done
  Created wheel for TheengsDecoder: filename=TheengsDecoder-1.7.0-cp39-cp39-linux_aarch64.whl size=61915 sha256=                             25ef36028d2472edc6ee81297a7098fd0ed86edaa8153e2e8c6c476165697b20
  Stored in directory: /home/jeedom/.cache/pip/wheels/17/e6/e5/e55c3512ebdf8a793a2bb3cc9dee21338c1e492f6a5cad3da                             6
  Building wheel for dbus-fast (pyproject.toml) ... done
  Created wheel for dbus-fast: filename=dbus_fast-2.21.1-cp39-cp39-manylinux_2_31_aarch64.whl size=3435662 sha256=e06a0eee213ad0a22cf8885959c868e0257b2ec11484f0a143551d3b1bd61dde
  Stored in directory: /home/jeedom/.cache/pip/wheels/27/1a/40/98fb0c933757c579b48aa55cac19857328065c2d4c945e86a5
Successfully built TheengsGateway TheengsDecoder dbus-fast
Installing collected packages: TheengsDecoder, zipp, usb-devices, pycryptodomex, paho-mqtt, dbus-fast, bluetooth-numbers, aiofiles, importlib-metadata, bleak, mac-vendor-lookup, bluetooth-clocks, bluetooth-adapters, TheengsGateway
  Attempting uninstall: paho-mqtt
    Found existing installation: paho-mqtt 1.6.1
    Uninstalling paho-mqtt-1.6.1:
      Successfully uninstalled paho-mqtt-1.6.1
  WARNING: The script mac_vendor_lookup is installed in '/home/jeedom/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script bluetooth-clocks is installed in '/home/jeedom/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed TheengsDecoder-1.7.0 TheengsGateway-1.4.0 aiofiles-23.2.1 bleak-0.21.1 bluetooth-adapters-0.17.0 bluetooth-clocks-0.2.0 bluetooth-numbers-1.1.1 dbus-fast-2.21.1 importlib-metadata-7.0.1 mac-vendor-lookup-0.1.12 paho-mqtt-2.0.0 pycryptodomex-3.20.0 usb-devices-0.4.5 zipp-3.17.0
jeedom@JeedomAtlas:~$

jeedom@JeedomAtlas:~$ pip install --upgrade TheengsDecoder
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: TheengsDecoder in ./.local/lib/python3.9/site-packages (1.7.0)
jeedom@JeedomAtlas:~$

Suppression de l’antenne
Suppression du plugin Theengs gateway (tgw)
Redémarrage de l’Atlas
Installation Theengs gateway (tgw)
Installation d’une nouvelle antenne
image
Configurer le service et redémarrer
image

ExcitedHappyGIF
Merci à TOUS

Il ne me reste plus qu’à réussir à intégrer mes boutons NodOn NIU
@DigiH à bientôt sur Theengs community :wink:

1 « J'aime »

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