-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Description
Etapes à reproduire (pour les bugs)
- Installer Python 3.10 ou plus
- Installer le daemon sur une machine en déporté
Contexte
Lorsque je démarre le deamon j'ai une erreur inconnu.
[2024-07-31 22:21:20][INFO] : MODEM------ Start listening...
[2024-07-31 22:21:20][INFO] : MODEM------ Preparing Teleinfo...
[2024-07-31 22:21:20][INFO] : MODEM------ RUN
[2024-07-31 22:21:20][INFO] : MODEM------ OPEN CONNECTION
[2024-07-31 22:21:20][INFO] : MODEM------ CONNECTION OPENED
[2024-07-31 22:21:22][ERROR] : Connection error
[2024-07-31 22:21:23][ERROR] : Connection error
[2024-07-31 22:21:24][ERROR] : Connection error
[2024-07-31 22:21:26][ERROR] : Connection errorAvec le débogger Python j'ai pu en retrouver la cause
> /opt/jeedom-teleinfo/ressources/jeedom/jeedom.py(95)add_changes()
-> self.merge_dict(self.changes,changes)
(Pdb) p self.changes
{}
(Pdb) n
AttributeError: module 'collections' has no attribute 'Mapping'Il se trouve que l'utilisation de collections.Mapping est déprécié depuis python 3.3 et est supprimé complètement depuis python 3.10
https://docs.python.org/3.8/library/collections.html
Environnement
- Version Jeedom: 4.4.8.1
- Platform: Smartbox
- Version du Plugin (ex: 4.2.0): 4.8.3a
- Type de modem: USB et DIN (je ne m'en rappel plus désolé
- Compteur linky: Oui
- Compteur standard ou historique: Standard
Logs
Merci de joindre les fichiers de logs où bien directement le package du diagnostique.
Voir plus haut
Metadata
Metadata
Assignees
Labels
No labels