Les dépendances ne se lancent plus

Bonjour,

depuis 2 jours environ (la dernière mise a jour?), les dependences ne se lancent pas. Je suis sur une Smart. Je ne vois rien de suspect dans le log (ou en tout cas rien que je comprenne)…

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_teleinfo
+ 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=
++ sed 's, ,\ ,g'
++ echo ''
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 3
+ sudo pip3 cache purge
Files removed: 3
+ echo 4
+ sudo pip3 install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (23.0.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 5
+ sudo pip3 install --force-reinstall --upgrade paho-mqtt
Collecting paho-mqtt
Downloading paho-mqtt-1.6.1.tar.gz (99 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.4/99.4 kB 2.2 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Installing collected packages: paho-mqtt
DEPRECATION: paho-mqtt is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for paho-mqtt: started
Running setup.py install for paho-mqtt: finished with status 'done'
Successfully installed paho-mqtt
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
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end teleinfo
+ rm /tmp/jeedom_install_in_progress_teleinfo
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Merci d’avance pour votre aide!

Je ne comprends pas non plus…

Pourrais tu envoyer une copie d’écran des packages système ? Ceux où il y a teleinfo:

Voici. J’ai cliqué sur fix, mais ca ne change rien (voir log ci dessous)

  • sudo apt update
    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
    Hit:1 Index of /debian-security buster/updates InRelease
    Hit:2 http://www.deb-multimedia.org buster InRelease
    Hit:3 Index of /debian/ buster InRelease
    Hit:4 Index of /debian/ buster-updates InRelease
    Hit:5 Index of /node_16.x/ buster InRelease
    Hit:6 Index of /meveric all InRelease
    Hit:7 Index of /meveric buster InRelease
    Reading package lists…
    Building dependency tree…
    Reading state information…
    250 packages can be upgraded. Run ‹ apt list --upgradable › to see them.
  • sudo pip3 install --force-reinstall --upgrade paho-mqtt
    Collecting paho-mqtt
    Using cached paho-mqtt-1.6.1.tar.gz (99 kB)
    Preparing metadata (setup.py): started
    Preparing metadata (setup.py): finished with status ‹ done ›
    Installing collected packages: paho-mqtt
    DEPRECATION: paho-mqtt is being installed using the legacy ‹ setup.py install › method, because it does not have a ‹ pyproject.toml › and the ‹ wheel › package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‹ –use-pep517 › option. Discussion can be found at https://github.com/pypa/pip/issues/8559
    Running setup.py install for paho-mqtt: started
    Running setup.py install for paho-mqtt: finished with status ‹ done ›
    Successfully installed paho-mqtt
    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: 12. Virtual Environments and Packages — Python 3.11.2 documentation

C’est paho-mqtt qui pose souci on dirait, je l’ai mis sur cette version en anticipation pour la prochaine.

Est ce que tu pourrais envoyer cette commande:

sudo pip3 install paho-mqtt --use-pep517
1 « J'aime »

Success!!! Merci :slight_smile:

C’est quand même bizarre des trucs qui passent ou pas…

Content que ton pb soit résolu :wink:

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