Erreur suite update de ce matin

Bonjour, le plugin ne démarre plus…

Une idée ?

merci

File "/var/www/html/plugins/SomfyUnified/core/python/overkizapi.py", line 76, in <module>
class OverkizApi:
File "/var/www/html/plugins/SomfyUnified/core/python/overkizapi.py", line 656, in OverkizApi
aiohttp.client_exceptions.ClientConnectorDNSError,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'aiohttp.client_exceptions' has no attribute 'ClientConnectorDNSError'
Plugin cannot start due to unexpected import error.
2025-09-30 15:55:13 |ERROR| |Dm| Unexpected import error: module 'aiohttp.client_exceptions' has no attribute 'ClientConnectorDNSError'
Traceback (most recent call last):
File "/var/www/html/plugins/SomfyUnified/core/python/daemonmanagement/somfyunifiedd.py", line 84, in <module>
OverkizApi = safe_import("overkizapi", ["OverkizApi"])["OverkizApi"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/SomfyUnified/core/python/daemonmanagement/somfyunifiedd.py", line 62, in safe_import
module = __import__(module_name, fromlist=fromlist or [])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/SomfyUnified/core/python/overkizapi.py", line 76, in <module>
class OverkizApi:
File "/var/www/html/plugins/SomfyUnified/core/python/overkizapi.py", line 656, in OverkizApi
aiohttp.client_exceptions.ClientConnectorDNSError,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'aiohttp.client_exceptions' has no attribute 'ClientConnectorDNSError'
Plugin cannot start due to unexpected import error.
2025-09-30 15:56:45 |ERROR| |Dm| Unexpected import error: module 'aiohttp.client_exceptions' has no attribute 'ClientConnectorDNSError'
Traceback (most recent call last):
File "/var/www/html/plugins/SomfyUnified/core/python/daemonmanagement/somfyunifiedd.py", line 84, in <module>
OverkizApi = safe_import("overkizapi", ["OverkizApi"])["OverkizApi"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/SomfyUnified/core/python/daemonmanagement/somfyunifiedd.py", line 62, in safe_import
module = __import__(module_name, fromlist=fromlist or [])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/SomfyUnified/core/python/overkizapi.py", line 76, in <module>
class OverkizApi:
File "/var/www/html/plugins/SomfyUnified/core/python/overkizapi.py", line 656, in OverkizApi
aiohttp.client_exceptions.ClientConnectorDNSError,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'aiohttp.client_exceptions' has no attribute 'ClientConnectorDNSError'
Plugin cannot start due to unexpected import error.


Informations Jeedom

Core : 4.4.19 (master)
DNS Jeedom : oui

Plugin : Monitoring
Version : 2024-11-24 01:13:49 (stable)

Informations complémentaires

Debian :: 11.11
Plugin Monitoring (Version / Branche) : 3.1.5 / stable (market)
Plugin SSH Manager (Version / Branche) : 1.0.8 / stable (market)

Salut,

Au vu des logs et du tag, tu parles de SomfyUnified.

On est d’accord qu’il ne s’agit pas de monitoring et de SSH Manager ?
Si oui édite ton post parce que ça prête à confusion.

Tu ne dis pas ce que tu as updaté ce matin : le plugin ? l’OS ? le core de jeedom ? un paquet ?

Désolé, c’est bien ce plugin : somfyunified

Et j’ai mis à jour uniquement ce plugin…

Merci

Bonjour,

Il y a probablement une coquille dans la nouvelle version que vous avez updaté ce matin.
Je regarde cela rapidement.
Désolé pour le désagrément occasionné.

Ok merci beacoup car je me retrouve dans le noir pour la gestion des volets et du chauffage :S

Pas sur que ce soit une coquille dans le plugin.
Je m’oriente vers un probleme de version de la librairie aiohttp ?
Pour commencer, pouvez vous m’envoyer une copie de votre page Santé (on doit toujours commencer par la pour une demande d’aide)
Merci

Puis:

  1. aller dans la page de configuration du plugin SomfyUnified
  2. relancer les dépendances
  3. Envoyer le contenu du log SomfyUnified_update

======================================================================
== 30/09/2025 17:56:34 == Dependencies installation for SomfyUnified
======================================================================
[  5% ] : Clean apt...
[  9% ] : Clean apt : [  OK  ]
[ 10% ] : Update apt...
[ 14% ] : Update apt : [  OK  ]
[ 15% ] : Install apt packages...
[ 19% ] : Install apt packages : [  OK  ]
[ 20% ] : Init python3 & prerequisites...
[ 29% ] : Init python3 & prerequisites : [  OK  ]
[ 30% ] : Init PyEnv...
** PyEnv required: 3.9.2 < 3.11 **
[ 39% ] : Init PyEnv : [  OK  ]
[ 40% ] : install or update PyEnv...
[ 49% ] : install or update PyEnv : [  OK  ]
[ 50% ] : Install Python 3.11 with PyEnv...
** python3 path: /opt/pyenv/versions/3.11.10/bin/python3 **
[ 59% ] : Install Python 3.11 with PyEnv : [  OK  ]
[ 60% ] : Setting up virtual environment...
** Version of python in VENV: Python 3.11.10
[ 69% ] : Setting up virtual environment : [  OK  ]
[ 70% ] : Install the required python packages...
[ 79% ] : Install the required python packages : [  OK  ]
[ 80% ] : Restoring folders and files rights...
[ 89% ] : Restoring folders and files rights : [  OK  ]
[ 90% ] : Summary of installed packages...
aiohappyeyeballs==2.4.0
aiohttp==3.10.5
aiosignal==1.3.1
attrs==24.2.0
backoff==2.2.1
boto3==1.35.21
botocore==1.35.21
certifi==2024.8.30
charset-normalizer==3.3.2
ecdsa==0.19.0
envs==1.4
frozenlist==1.4.1
idna==3.10
jeedomdaemon==1.2.9
jmespath==1.0.1
multidict==6.1.0
pyasn1==0.6.1
pyhumps==3.8.0
pyoverkiz==1.18.2
python-dateutil==2.9.0.post0
python-jose==3.3.0
pyudev==0.24.3
requests==2.32.3
rsa==4.9
s3transfer==0.10.2
six==1.16.0
urllib3==2.2.3
warrant-lite==1.0.4
yarl==1.11.1
[ 99% ] : Summary of installed packages : [  OK  ]
[100% ] : Finished !
======================================================================
== OK == Installation Successful

Merci pour vos retours.

Effectivement, la version de la lIb aiohttp est très probablement à l’origine des erreurs remontées.
J’ai fait évoluer le plugin pour que la version mise à jour soit la bonne.

D’ou la nouvelle version 2.4.5.

Je vous invite à l’installer, bien relancer les dépendances et voir si les choses sont rentrées dans l’ordre.

Je veux bien de nouveau une copie du log SomfyUnified_update après tout cela si vous voulez bien.

D’avance merci.

Effectivement c’est tout bon.
Merci !!



======================================================================
== 30/09/2025 18:12:42 == Dependencies installation for SomfyUnified
======================================================================
[  5% ] : Clean apt...
[  9% ] : Clean apt : [  OK  ]
[ 10% ] : Update apt...
[ 14% ] : Update apt : [  OK  ]
[ 15% ] : Install apt packages...
[ 19% ] : Install apt packages : [  OK  ]
[ 20% ] : Init python3 & prerequisites...
[ 29% ] : Init python3 & prerequisites : [  OK  ]
[ 30% ] : Init PyEnv...
** PyEnv required: 3.9.2 < 3.11 **
[ 39% ] : Init PyEnv : [  OK  ]
[ 40% ] : install or update PyEnv...
[ 49% ] : install or update PyEnv : [  OK  ]
[ 50% ] : Install Python 3.11 with PyEnv...
** python3 path: /opt/pyenv/versions/3.11.10/bin/python3 **
[ 59% ] : Install Python 3.11 with PyEnv : [  OK  ]
[ 60% ] : Setting up virtual environment...
** Version of python in VENV: Python 3.11.10
[ 69% ] : Setting up virtual environment : [  OK  ]
[ 70% ] : Install the required python packages...
[ 79% ] : Install the required python packages : [  OK  ]
[ 80% ] : Restoring folders and files rights...
[ 89% ] : Restoring folders and files rights : [  OK  ]
[ 90% ] : Summary of installed packages...
aiohappyeyeballs==2.6.1
aiohttp==3.12.15
aiosignal==1.4.0
attrs==24.2.0
backoff==2.2.1
boto3==1.35.21
botocore==1.35.21
certifi==2024.8.30
charset-normalizer==3.3.2
ecdsa==0.19.0
envs==1.4
frozenlist==1.4.1
idna==3.10
jeedomdaemon==1.2.9
jmespath==1.0.1
multidict==6.1.0
propcache==0.3.2
pyasn1==0.6.1
pyhumps==3.8.0
pyoverkiz==1.18.2
python-dateutil==2.9.0.post0
python-jose==3.3.0
pyudev==0.24.3
requests==2.32.3
rsa==4.9
s3transfer==0.10.2
six==1.16.0
typing_extensions==4.15.0
urllib3==2.2.3
warrant-lite==1.0.4
yarl==1.20.1
[ 99% ] : Summary of installed packages : [  OK  ]
[100% ] : Finished !
======================================================================
== OK == Installation Successful
======================================================================

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.