Bêta du 2024-02-15 01:17:21 : impossible de lancer le deamon

Bonjour,

Impossible de lancer le deamon sur la dernière bêta.

API Husqvarna uniquement.
Debian 11.

J’ai tenté de réinstaller les dépendances : pas mieux.

Logs dépendances :

[2024-02-15 09:52:48] *************************************
[2024-02-15 09:52:48] *   Launch install of dependencies  *
[2024-02-15 09:52:48] *************************************
[2024-02-15 09:52:48] Hit:1 http://deb.debian.org/debian bullseye InRelease
[2024-02-15 09:52:48] Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
[2024-02-15 09:52:48] Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
[2024-02-15 09:52:48] Hit:4 https://deb.nodesource.com/node_18.x bullseye InRelease
[2024-02-15 09:52:51] Reading package lists...
[2024-02-15 09:52:51] *****************************
[2024-02-15 09:52:51] Install modules using apt-get
[2024-02-15 09:52:51] *****************************
[2024-02-15 09:52:51] Reading package lists...
[2024-02-15 09:52:51] Building dependency tree...
[2024-02-15 09:52:51] Reading state information...
[2024-02-15 09:52:52] python3-pip is already the newest version (20.3.4-4+deb11u1).
[2024-02-15 09:52:52] python3 is already the newest version (3.9.2-3).
[2024-02-15 09:52:52] python3-venv is already the newest version (3.9.2-3).
[2024-02-15 09:52:52] python3-requests is already the newest version (2.25.1+dfsg-2).
[2024-02-15 09:52:52] python3-setuptools is already the newest version (52.0.0-4).
[2024-02-15 09:52:52] The following package was automatically installed and is no longer required:
[2024-02-15 09:52:52] linux-image-5.10.0-26-amd64
[2024-02-15 09:52:52] Use 'sudo apt autoremove' to remove it.
[2024-02-15 09:52:52] 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[2024-02-15 09:52:52] *************************************
[2024-02-15 09:52:52] Creating python 3 virtual environment
[2024-02-15 09:52:52] *************************************
[2024-02-15 09:52:56] Done
[2024-02-15 09:52:56] *************************************
[2024-02-15 09:52:56] Install the required python libraries
[2024-02-15 09:52:56] *************************************
[2024-02-15 09:52:57] Requirement already satisfied: pip in ./venv/lib/python3.9/site-packages (23.3.1)
[2024-02-15 09:52:58] Collecting pip
[2024-02-15 09:52:58] Downloading pip-24.0-py3-none-any.whl.metadata (3.6 kB)
[2024-02-15 09:52:58] Requirement already satisfied: wheel in ./venv/lib/python3.9/site-packages (0.41.3)
[2024-02-15 09:52:58] Collecting wheel
[2024-02-15 09:52:58] Downloading wheel-0.42.0-py3-none-any.whl.metadata (2.2 kB)
[2024-02-15 09:52:58] Downloading pip-24.0-py3-none-any.whl (2.1 MB)
[2024-02-15 09:52:58] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 9.5 MB/s eta 0:00:00
[2024-02-15 09:52:58] Downloading wheel-0.42.0-py3-none-any.whl (65 kB)
[2024-02-15 09:52:59] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.4/65.4 kB 783.3 kB/s eta 0:00:00
[2024-02-15 09:52:59] Installing collected packages: wheel, pip
[2024-02-15 09:52:59] Attempting uninstall: wheel
[2024-02-15 09:52:59] Found existing installation: wheel 0.41.3
[2024-02-15 09:52:59] Uninstalling wheel-0.41.3:
[2024-02-15 09:52:59] Successfully uninstalled wheel-0.41.3
[2024-02-15 09:53:00] Attempting uninstall: pip
[2024-02-15 09:53:00] Found existing installation: pip 23.3.1
[2024-02-15 09:53:00] Uninstalling pip-23.3.1:
[2024-02-15 09:53:00] Successfully uninstalled pip-23.3.1
[2024-02-15 09:53:06] Successfully installed pip-24.0 wheel-0.42.0
[2024-02-15 09:53:14] Requirement already satisfied: urllib3<2 in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 1)) (1.26.18)
[2024-02-15 09:53:14] Requirement already satisfied: requests>=2.20.0 in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 2)) (2.31.0)
[2024-02-15 09:53:14] Requirement already satisfied: oauthlib>=3.2.2 in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 3)) (3.2.2)
[2024-02-15 09:53:14] Requirement already satisfied: requests_oauthlib>=1.3.1 in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 4)) (1.3.1)
[2024-02-15 09:53:14] Collecting websocket-client~=1.7 (from -r requirements.txt (line 5))
[2024-02-15 09:53:14] Downloading websocket_client-1.7.0-py3-none-any.whl.metadata (7.9 kB)
[2024-02-15 09:53:15] Requirement already satisfied: charset-normalizer<4,>=2 in ./venv/lib/python3.9/site-packages (from requests>=2.20.0->-r requirements.txt (line 2)) (3.3.2)
[2024-02-15 09:53:15] Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.9/site-packages (from requests>=2.20.0->-r requirements.txt (line 2)) (3.4)
[2024-02-15 09:53:15] Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.9/site-packages (from requests>=2.20.0->-r requirements.txt (line 2)) (2023.7.22)
[2024-02-15 09:53:15] Downloading websocket_client-1.7.0-py3-none-any.whl (58 kB)
[2024-02-15 09:53:15] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.5/58.5 kB 2.1 MB/s eta 0:00:00
[2024-02-15 09:53:15] Installing collected packages: websocket-client
[2024-02-15 09:53:15] Attempting uninstall: websocket-client
[2024-02-15 09:53:15] Found existing installation: websocket-client 1.6.4
[2024-02-15 09:53:15] Uninstalling websocket-client-1.6.4:
[2024-02-15 09:53:15] Successfully uninstalled websocket-client-1.6.4
[2024-02-15 09:53:15] Successfully installed websocket-client-1.7.0
[2024-02-15 09:53:16] ***************************
[2024-02-15 09:53:16] *      Install ended      *
[2024-02-15 09:53:16] ***************************

Logs deamon en debug :

Traceback (most recent call last):
File "/var/www/html/plugins/gardena/resources/gardenad/gardenad.py", line 9, in <module>
from gardena.location import Location
File "/var/www/html/plugins/gardena/resources/gardenad/gardena/location.py", line 2, in <module>
from devices.base_device import BaseDevice
ModuleNotFoundError: No module named 'devices'

Salut,

Désolé, erreur de ma part; j’étais en cours de mise à jour des dépendances mais ce n’était pas complet.

Une nouvelle beta est disponible; essayes p-e sans relancer les dépendances pour voir si ca fonctionne comme ça et ensuite en réinstallant les dépendances

Salut,

Avec la version bêta 2024-02-15 10:24:37 le deamon a démarré sans problème, et sans avoir eu besoin de relancer de nouveau les dépendances.

Merci !

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