Impossible à mettre à jour les dépendances du plugin malgré les préconisations de l’autre post similaire sur le sujets.
J’utilise Jeedom sur u nraspberry pi 3B.
Ma version de python est la 3.9.2
A chaque fois que je veux faire une mise à jour des dépdances le log me retourne : [2023-04-23 09:50:06]ERROR : Attention : l’installation des dépendances a dépassé le temps maximum autorisé : 0min
Les données de santé de mon pi sont toutes OK a part le plugin NOK.
Je suis preneur de toute aide pour corriger ce problème.
Merci par avance
Merci pour le retour.
Pour remettre les droits il s’agit bien de ces commandes ?
sudo chmod 775 -R /var/www/html
sudo chown -R www-data:www-data /var/www/html
Si oui cela ne corrige pas le problème. Je suis preneur d’une autre piste
Ce message n’empêche pas nécessairement que l’installation puisse se terminer. Cela veut juste dire que jeedom n’attend plus => donc il faut les logs comme déjà demandé
Au dev du plugin: Si l’installation est longue (sur certaines machines telle que les pi) il faudrait peut-être adapter la config du plugin (info.json) pour préciser le délai max (genre 30min ou 60min) car là on voit que rien n’est configuré (0min) du coup c’est le délai par défaut du core.
**********************************
* Installation des dépendances *
**********************************
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.9.2-3).
The following packages were automatically installed and are no longer required:
chromium-codecs-ffmpeg-extra docutils-common libfuse2 mypy pylint
python3-astroid python3-asttokens python3-docutils python3-isort
python3-jedi python3-lazy-object-proxy python3-logilab-common python3-mccabe
python3-mypy python3-mypy-extensions python3-parso python3-pygments
python3-roman python3-send2trash python3-typed-ast python3-typing-extensions
python3-wrapt sgml-base xml-core xsel
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (20.3.4-4+rpt1+deb11u1).
The following packages were automatically installed and are no longer required:
chromium-codecs-ffmpeg-extra docutils-common libfuse2 mypy pylint
python3-astroid python3-asttokens python3-docutils python3-isort
python3-jedi python3-lazy-object-proxy python3-logilab-common python3-mccabe
python3-mypy python3-mypy-extensions python3-parso python3-pygments
python3-roman python3-send2trash python3-typed-ast python3-typing-extensions
python3-wrapt sgml-base xml-core xsel
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pip in /usr/local/lib/python3.9/dist-packages (23.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
/usr/local/lib/python3.9/dist-packages/pip/_vendor/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 1.14.0-unknown is an invalid version and will not be supported in a future release
warnings.warn(
WARNING: Skipping serial as it is not installed.
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
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'python3-serial' is not installed, so not removed
The following packages were automatically installed and are no longer required:
chromium-codecs-ffmpeg-extra docutils-common libfuse2 mypy pylint
python3-astroid python3-asttokens python3-docutils python3-isort
python3-jedi python3-lazy-object-proxy python3-logilab-common python3-mccabe
python3-mypy python3-mypy-extensions python3-parso python3-pygments
python3-roman python3-send2trash python3-typed-ast python3-typing-extensions
python3-wrapt sgml-base xml-core xsel
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-setuptools is already the newest version (52.0.0-4).
The following packages were automatically installed and are no longer required:
chromium-codecs-ffmpeg-extra docutils-common libfuse2 mypy pylint
python3-astroid python3-asttokens python3-docutils python3-isort
python3-jedi python3-lazy-object-proxy python3-logilab-common python3-mccabe
python3-mypy python3-mypy-extensions python3-parso python3-pygments
python3-roman python3-send2trash python3-typed-ast python3-typing-extensions
python3-wrapt sgml-base xml-core xsel
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-pyudev is already the newest version (0.22.0-2).
python3-requests is already the newest version (2.25.1+dfsg-2).
The following packages were automatically installed and are no longer required:
chromium-codecs-ffmpeg-extra docutils-common libfuse2 mypy pylint
python3-astroid python3-asttokens python3-docutils python3-isort
python3-jedi python3-lazy-object-proxy python3-logilab-common python3-mccabe
python3-mypy python3-mypy-extensions python3-parso python3-pygments
python3-roman python3-send2trash python3-typed-ast python3-typing-extensions
python3-wrapt sgml-base xml-core xsel
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pyjwt in /usr/lib/python3/dist-packages (1.7.1)
Requirement already satisfied: html5lib in /usr/lib/python3/dist-packages (1.1)
Requirement already satisfied: asyncio in /usr/local/lib/python3.9/dist-packages (3.4.3)
Requirement already satisfied: httpx in /usr/local/lib/python3.9/dist-packages (0.24.0)
Requirement already satisfied: lxml in /usr/lib/python3/dist-packages (4.6.3)
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from httpx) (2020.6.20)
Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in /usr/local/lib/python3.9/dist-packages (from httpx) (0.17.0)
Requirement already satisfied: idna in /usr/lib/python3/dist-packages (from httpx) (2.10)
Requirement already satisfied: sniffio in /usr/local/lib/python3.9/dist-packages (from httpx) (1.3.0)
Requirement already satisfied: h11<0.15,>=0.13 in /usr/local/lib/python3.9/dist-packages (from httpcore<0.18.0,>=0.15.0->httpx) (0.14.0)
Requirement already satisfied: anyio<5.0,>=3.0 in /usr/local/lib/python3.9/dist-packages (from httpcore<0.18.0,>=0.15.0->httpx) (3.6.2)
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
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pyserial
Using cached https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB)
Installing collected packages: pyserial
Successfully installed pyserial-3.5
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
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: six in /usr/lib/python3/dist-packages (1.16.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
**********************************
* Installation des dépendances OK *
**********************************
Oui c’est ça qui me surprend. Les logs sont OK mais dépendances toujours nok. Quand je lance les mises à jour dépendances il met un temps long à coté de l’avancement. (indique de 50 minutes à 150min!! suivant les fois ou je lance la mise à jour des dépendances). Un rapport avec le délai du fichier Json dont parlais mips?
Ca peut vraiment dépendre de la machine, un pi3 c’est pas un foudre de guerre et faut voir l’état du stockage, ca peut jouer bcp
et encore une fois, ca ne gêne pas vraiment l’installation, si ca dur plus longtemps on peut toujours suivre la progression via le log mais au moins ca ne provoquera pas une alerte.
Ceci dit, il y a p-e un autre soucis qui expliquerait pq dans ce cas ci cela prend tant de temps.
bonjour,
Super la nouvelle version fonctionne ! Merci pour les modifications et les améliorations.
Plus qu’a apprendre comment utiliser tout ça dans jeedom pour piloter mes systèmes les plus consommants. Si vous avez des bons sites de tutos ou exemples je suis preneur.
Encore merci.