Page 1 sur 3
[Résolu] Probléme passage vers stable7
Publié : 12 août 2023, 15:57
par Tc2112
Bonjour,
Suite au passage du plugin sur la branche stable7 j'ai les messages d'erreur suivant dans les logs de domoticz :
Error: zigate: Call to function 'onStart' failed, exception details:
Error: zigate: Traceback (most recent call last):
Error: zigate: File "/home/freebox/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1558, in onStart
Error: zigate: _plugin.onStart()
Error: zigate: File "/home/freebox/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 338, in onStart
Error: zigate: self.z4d_certified_devices_version = z4d_certified_devices.__version__
Error: zigate: AttributeError: module 'z4d_certified_devices' has no attribute '__version__'
Si quelqu'un peu m'aider merci
Ma config :
Version de DomoticZ: 2023.2
Debian GNU / linux 11
ZiGate WiFi Config v1.30
Branche du plugin : stable 7
Re: Probléme passage vers stable7
Publié : 12 août 2023, 23:22
par Keros
Bonjour Tc2112 et bienvenu sur le forum
Peux-tu essayer de faire la commande
sudo python3 -m pip install -r requirement.txt --upgrade depuis le dossier d'installation du plugin et de relancer le plugin.
Re: Probléme passage vers stable7
Publié : 13 août 2023, 09:01
par Tc2112
Bonjour Keros, merci pour ta réponse rapide
J'ai essayé la commande "sudo python3 -m pip install -r requirement.txt --upgrade" depuis le dossier /domoticz/plugins/Domoticz-Zigbee et j'ai le message d'erreur suivant :
ERROR: Could not open requirements files: [Errno 2] No such file or directory: 'requirement.txt'
une idée ?
Re: Probléme passage vers stable7
Publié : 13 août 2023, 09:19
par Keros
Pardon, la commande doit être sudo python3 -m pip install -r requirements.txt --upgrade.
Re: Probléme passage vers stable7
Publié : 13 août 2023, 09:56
par Tc2112
Je viens d'essayer la commande "sudo python3 -m pip install -r requirements.txt --upgrade" mais toujours en erreur dans les log domoticz :
2023-08-13 09:52:32.157 Error: zigate: Call to function 'onStart' failed, exception details:
2023-08-13 09:52:32.158 Error: zigate: Traceback (most recent call last):
2023-08-13 09:52:32.158 Error: zigate: File "/home/freebox/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1558, in onStart
2023-08-13 09:52:32.158 Error: zigate: _plugin.onStart()
2023-08-13 09:52:32.158 Error: zigate: File "/home/freebox/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 338, in onStart
2023-08-13 09:52:32.158 Error: zigate: self.z4d_certified_devices_version = z4d_certified_devices.__version__
2023-08-13 09:52:32.158 Error: zigate: AttributeError: module 'z4d_certified_devices' has no attribute '__version__'
Re: Probléme passage vers stable7
Publié : 13 août 2023, 19:15
par Keros
On tente une autre commande si tu veux bien : sudo python3 -m install z4d_certified_devices --upgrade --force-reinstall et tu redémarres DomoticZ.
Edit : commande non correcte > voir plus bas la réponse de Pipiche
Tu peux nous mettre tous les logs au démarrage du plugin ?
Re: Probléme passage vers stable7
Publié : 13 août 2023, 19:52
par Tc2112
Avec la commande : "sudo python3 -m install z4d_certified_devices --upgrade --force-reinstall" j'ai l'erreur suivante :
/usr/bin/python3: No module named install
voici les log au demarrage de domoticz
2023-08-13 19:46:58.058 Status: Python EventSystem: Initializing event module.
2023-08-13 19:46:58.070 Status: EventSystem: Queue thread started...
2023-08-13 19:46:58.070 Status: EventSystem: Started
2023-08-13 19:46:58.171 Status: PluginSystem: 1 plugins started.
2023-08-13 19:46:58.643 Status: zigate: Initialized version 7.1, author 'pipiche38'
2023-08-13 19:46:58.651 Status: zigate: Zigbee for Domoticz plugin starting
2023-08-13 19:46:58.651 Status: zigate: Z4D plugin requires python3 3.8 or above and you are running 3.9
2023-08-13 19:46:58.651 Status: zigate: Checking Python modules /home/freebox/domoticz/plugins/Domoticz-Zigbee/requirements.txt
2023-08-13 19:46:58.841 Status: MQTT: Connecting to localhost:1722
2023-08-13 19:46:58.921 Status: User: tofe (IP: 192.168.1.69) initiated a scene/group command
2023-08-13 19:46:58.692 Error: zigate: Call to function 'onStart' failed, exception details:
2023-08-13 19:46:58.693 Error: zigate: Traceback (most recent call last):
2023-08-13 19:46:58.693 Error: zigate: File "/home/freebox/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1558, in onStart
2023-08-13 19:46:58.693 Error: zigate: _plugin.onStart()
2023-08-13 19:46:58.693 Error: zigate: File "/home/freebox/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 338, in onStart
2023-08-13 19:46:58.693 Error: zigate: self.z4d_certified_devices_version = z4d_certified_devices.__version__
2023-08-13 19:46:58.693 Error: zigate: AttributeError: module 'z4d_certified_devices' has no attribute '__version__'
Re: Probléme passage vers stable7
Publié : 13 août 2023, 20:34
par pipiche
Code : Tout sélectionner
sudo python3 -m pip install z4d-certified-devices --upgrade --force-reinstall
Re: Probléme passage vers stable7
Publié : 14 août 2023, 09:01
par Tc2112
Bonjour,
Merci beaucoup pour votre investissement et réactivité tout fonctionne à nouveau.
Re: Probléme passage vers stable7
Publié : 14 août 2023, 15:55
par Keros
@Tc2112, top.
Désolé je n'ai pas retrouvé tout de suite la bonne commande.
Tu peux passer le sujet en résolu stp ?
@Pipiche,
C'est le même problème que j'ai eu
