Pb sur Debian 10

Bonjour,

Je rencontre un pb avec le plugin sur une debian 10. Ci-dessous les logs MyTado_packages de l’installation.

Dans l’écran de configuration du plugin, les onglets Dépendances et Démon sont vides et lors de l’ajout d’une maison, il y a une erreur « Type incorrect, (classe commande inexistante)MyTadoCmd »

Cela provient surement de mon environnement resté en Debian 10 (je sais qu’il est recommandé de passer sur Debian 11 pour la v4.4, mais je n’ai pas encore migré l’OS).

Merci d’avance,

Loïc

MyTado_packages

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_MyTado
+ echo 1
+ echo 2
++ awk '$1 <= 4'
++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
++ cut -f 2-
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 3
+ sudo pip3 cache purge
Files removed: 204
+ echo 4
+ sudo pip3 install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (24.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 5
+ sudo python3 -m pip install --force-reinstall --upgrade typing
Collecting typing
Downloading typing-3.7.4.3.tar.gz (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.6/78.6 kB 4.0 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: typing
Building wheel for typing (pyproject.toml): started
Building wheel for typing (pyproject.toml): finished with status 'done'
Created wheel for typing: filename=typing-3.7.4.3-py3-none-any.whl size=26304 sha256=74ec9841909a78ba0bd77f3f808713eb008bb91c91fafb3dbd4ee674e58c274f
Stored in directory: /root/.cache/pip/wheels/35/f3/15/01aa6571f0a72ee6ae7b827c1491c37a1f72d686fd22b43b0e
Successfully built typing
Installing collected packages: typing
Successfully installed typing-3.7.4.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 6
+ sudo python3 -m pip install --force-reinstall --upgrade psutil
Collecting psutil
Downloading psutil-6.1.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (22 kB)
Downloading psutil-6.1.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (289 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 289.0/289.0 kB 8.1 MB/s eta 0:00:00
Installing collected packages: psutil
Successfully installed psutil-6.1.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 7
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end MyTado
+ echo 8
+ rm /tmp/jeedom_install_in_progress_MyTado
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Informations Jeedom

Core : 4.4.19 (master)
DNS Jeedom : non

Plugin : MyTado
Version : 2025-01-19 19:08:00 (stable)
Statut Démon : Stoppé - (Inconnue)

Bonjour

Voilà tout est dit. Passez à debian 11.
Ou alors tentez d’appliquer votre dernière sauvegarde avant ce souci et ne faites plus aucune mise à jour ensuite.

Antoine

Il faut au moins passer à python 3.9, qui vient avec debian 11. Mais j’ai peur que la version de PHP soit aussi un souci.

Non, il faut passe à debian 11 !
Si vous bidouillez des install de python et autres package sur votre deb10, vous allez passer 10x plus de temps que prend le temps d’une migration vers deb11.

Norbert

Sans aucun doute plus simple, oui. C’est un peu ce que je veux dire en disant que python est une source de problème, mais que PHP en est certainement une autre. Et il y aura peut-être encore d’autres soucis. Donc encore une fois, oui, plus simple de faire la bascule complète, on est d’accord.

1 « J'aime »

Merci pour l’info, en attendant je passe par un autre Jeedom sous Debian 11 avec un Jeelink en attendant la migration de l’OS.
En HS, je crois qu’il me reste des plugins non compatible Debian 11 (OpenZWave par ex à migrer vers Z-Wave JS).

Cordialement,

Loïc