Erreurs depuis passage en Debian 12

Bonjour,
Depuis mon passage en Debian 12 la semaine dernière, j’ai des erreurs que je n’ai pas en 11.
La version du plugin est la même, les équipements n’ont pas changé.
Quelles pourrait être l’origine de ces erreurs ?
Belle journée


Informations Jeedom

Core : 4.4.19 (master)
DNS Jeedom : non

Plugin : Modbus2MQTT
Version : 2025-03-19 01:01:54 (beta)
Statut Démon : Démarré - (2025-04-17 14:45:04)

Informations complémentaires

Log des dépendances:

0000|======================================================================
0001|== 17/04/2025 13:51:45 == Dependencies installation for modbus2mqtt
0002|======================================================================
0003|[  5% ] : Clean apt...
0004|[  9% ] : Clean apt : [  OK  ]
0005|[ 10% ] : Update apt...
0006|[ 19% ] : Update apt : [  OK  ]
0007|[ 20% ] : Init python3 & prerequisites...
0008|[ 29% ] : Init python3 & prerequisites : [  OK  ]
0009|[ 30% ] : Init PyEnv...
0010|** PyEnv not required: 3.11.2 >= 3.9 **
0011|** python3 path: python3 **
0012|[ 39% ] : Init PyEnv : [  OK  ]
0013|[ 40% ] : Setting up virtual environment...
0014|** Version of python in VENV: Python 3.11.2
0015|[ 69% ] : Setting up virtual environment : [  OK  ]
0016|[ 70% ] : Install the required python packages...
0017|[ 79% ] : Install the required python packages : [  OK  ]
0018|[ 80% ] : Restoring folders and files rights...
0019|[ 89% ] : Restoring folders and files rights : [  OK  ]
0020|[ 90% ] : Summary of installed packages...
0021|aiohappyeyeballs==2.6.1
0022|aiohttp==3.11.16
0023|aiosignal==1.3.2
0024|attrs==25.3.0
0025|frozenlist==1.5.0
0026|idna==3.10
0027|jeedomdaemon==1.2.9
0028|multidict==6.4.3
0029|paho-mqtt==2.1.0
0030|propcache==0.3.1
0031|pymodbus==3.8.6
0032|ruamel.yaml==0.18.10
0033|ruamel.yaml.clib==0.2.12
0034|yarl==1.19.0
0035|[ 99% ] : Summary of installed packages : [  OK  ]
0036|[100% ] : Finished !
0037|======================================================================
0038|==OK== Installation Successful
0039|======================================================================

Log du démon:


0000|[2025-04-20 01:10:05] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
0001|[2025-04-20 01:15:06] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
0002|[2025-04-20 01:25:04] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
0003|[2025-04-20 01:29:29] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str

Log du plugin:


Le log est vide

Bonjour,

C’est bien une nouvelle installation de debian et pas une mise à jour?

Le log est bien en mode INFO (pour l’instant)? Il devrait y avoir un peu plus de lignes dans les 2 logs

et 4.4 sur debian 12 c’est pas une bonne idée…

sinon je viens de re-tester et je ne reproduis pas donc il faudra plus d’info sur la config

Oui c’est bien une installation nouvelle.
J’ai passé le log en mode INFO et voilà ce que j’obtiens.
Pour le log du démon:

[2025-04-20 01:10:05] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 01:15:06] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 01:25:04] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 01:29:29] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 12:04:17] INFO  : Starting daemon (lib version 1.2.9) with log level: info
[2025-04-20 12:04:17] INFO  : Listening on 127.0.0.1:55071
[2025-04-20 12:04:17] INFO  : Send async started with a cycle of 0.5s
[2025-04-20 12:04:17] INFO  : Starting modbus4mqtt for 268 and topic carte_entrees
[2025-04-20 12:04:17] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 12:04:17] INFO  : Starting modbus4mqtt for 270 and topic carte_sorties
[2025-04-20 12:04:17] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 12:04:17] INFO  : Starting modbus4mqtt for 266 and topic chauffe_eau
[2025-04-20 12:04:17] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 12:04:17] INFO  : Starting modbus4mqtt for 269 and topic compteurs_eau
[2025-04-20 12:04:17] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 12:04:17] INFO  : Starting modbus4mqtt for 267 and topic plaque
[2025-04-20 12:04:17] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 12:04:17] INFO  : Starting modbus4mqtt for 288 and topic four
[2025-04-20 12:04:17] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 12:04:17] INFO  : Starting modbus4mqtt for 289 and topic puit
[2025-04-20 12:04:17] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 12:04:17] INFO  : Starting modbus4mqtt for 265 and topic vmc
[2025-04-20 12:04:17] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 12:04:17] INFO  : Signal 15 caught, exiting...
[2025-04-20 12:04:17] INFO  : Cancelling 3 tasks
[2025-04-20 12:04:17] INFO  : Send async cancelled
[2025-04-20 12:04:17] INFO  : Listening cancelled
[2025-04-20 12:04:17] INFO  : Shutdown
[2025-04-20 12:04:22] INFO  : Starting daemon (lib version 1.2.9) with log level: info
[2025-04-20 12:04:22] INFO  : Listening on 127.0.0.1:55071
[2025-04-20 12:04:22] INFO  : Send async started with a cycle of 0.5s
[2025-04-20 12:04:22] INFO  : Starting modbus4mqtt for 268 and topic carte_entrees
[2025-04-20 12:04:22] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 12:04:22] INFO  : Starting modbus4mqtt for 270 and topic carte_sorties
[2025-04-20 12:04:22] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 12:04:22] INFO  : Starting modbus4mqtt for 266 and topic chauffe_eau
[2025-04-20 12:04:22] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 12:04:22] INFO  : Starting modbus4mqtt for 269 and topic compteurs_eau
[2025-04-20 12:04:22] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 12:04:22] INFO  : Starting modbus4mqtt for 267 and topic plaque
[2025-04-20 12:04:22] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 12:04:22] INFO  : Starting modbus4mqtt for 288 and topic four
[2025-04-20 12:04:22] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 12:04:22] INFO  : Starting modbus4mqtt for 289 and topic puit
[2025-04-20 12:04:22] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str
[2025-04-20 12:04:22] INFO  : Starting modbus4mqtt for 265 and topic vmc
[2025-04-20 12:04:22] ERROR  : Send command to daemon error: can only concatenate str (not "int") to str

Pour le log du plugin:

[2025-04-20 12:04:16] INFO  : Lancement démon
[2025-04-20 12:04:21] INFO  : Lancement démon

Pourquoi dis-tu que 4.4 sur Debian 12 n’est pas une bonne idée ?

Certaines erreurs ont été corrigées en 4.5 mais cela reste fonctionnel.

Ok je crois savoir où cela se passe mais je ne comprends pas comment c’est possible.
Le paramètre est bien une str et… ca fonctionne chez moi, je ne reproduis pas

Je regarde plus en détail dès que possible

Bonsoir Mips,
Je viens de refaire une installation complète sur Debian 12, puis l’installation de jeedom en 4.4.19 et enfin la redescente de la sauvegarde jeedom tournant parfaitement sur Debian 11. Même problème: aucun des équipements Modbus n’est actif, ce qui est très embêtant car je suis obligé de laisser la Debian 11 en fonctionnement.
J’ai bien compris que tu n’arrivais pas à reproduire le problème, cela dit, pourrais-tu m’indiquer les modifications à réaliser et la procédure pour les appliquer ?
Merci d’avance

De quoi tu parles? Si je connaissais les modifs à faire elles seraient déjà en beta.

Chez moi j’ai, entre autres,

  • une 4.4.19 sur debian 11: :white_check_mark:
  • une 4.5 sur debian 12: :white_check_mark:

Je n’ai pas encore eu le temps d’installer une 4.4.19 sur debian 12 pour tester et cela ne sera probablement pas avant la semaine prochaine car je suis à l’étranger en congé.

Bonjour,
Tu écrivais dans ton précédent message

Citation
« Mips, post:6, topic:139968 Ok je crois savoir où cela se passe »

Voilà pourquoi je te demandais de m’indiquer des pistes pour effectuer la correction.
Cela dit depuis j’ai fait un test avec la beta 4.5 et le problème est toujours le même. Cela ne semble donc pas une piste pertinente.
Par contre, en sauvegardant individuellement chaque équipement cela fonctionne mais à chaque redémarrage du démon, il faut recommencer l’opération de sauvegarde.
Voilà, en espérant que ces informations pourront t’éclairer dans la recherche d’une correction.
Belle journée

Ca devrait être réglé avec la beta demain

Bonsoir,
Pas d’erreur depuis 2 jours
Merci pour le correctif