Domoticz 2020.1 avec Python 3 sur NAS DS215ne démarre pas

Forum dédié aux questions concernant l'utilisation de DomoticZ dans Docker ou sur un NAS.
boggiz
Messages : 33
Inscription : 04 mars 2019, 14:56
Localisation : IdF

Domoticz 2020.1 avec Python 3 sur NAS DS215ne démarre pas

Message par boggiz »

Bonjour,
Je suis passé de la 9.4700 de Domoticz à la 2020.1 stable sans Python qui fonctionne parfaitement.
Par contre j'ai tenté a plusieurs reprises de passer à la version Python 2020.1 ou 2020.2 beta pour utiliser le plugin Linky mais elles ne se lancent pas!
J'ai installé une Python 3
Domoticz 2023.1 sous Docker sur NAS Synology DS718+
RFXcom RFXtrx433XL avec antenne 3dBi
OpenWeatherMap
Arrosage automatique 4 voies avec EVP
Consommation eau via Arduino Nano
boggiz
Messages : 33
Inscription : 04 mars 2019, 14:56
Localisation : IdF

Re: Domoticz 2020.1 avec Python 3 sur NAS DS215ne démarre pas

Message par boggiz »

... oups
J'ai installé Python3 ce qui fait que j'ai 2 Pythons installés la 2.7 et la 3.x
Pouvez vous m'aider SVP ?
Domoticz 2023.1 sous Docker sur NAS Synology DS718+
RFXcom RFXtrx433XL avec antenne 3dBi
OpenWeatherMap
Arrosage automatique 4 voies avec EVP
Consommation eau via Arduino Nano
boggiz
Messages : 33
Inscription : 04 mars 2019, 14:56
Localisation : IdF

Re: Domoticz 2020.1 avec Python 3 sur NAS DS215ne démarre pas

Message par boggiz »

Personne ?

Voici ce que me dit la log de Domoticz 2020.2
2021-01-27 12:25:54.617 Status: Domoticz V2020.2 (build 12731) (c)2012-2020 GizMoCuz
2021-01-27 12:25:54.617 Status: Build Hash: 7933f659d-modified, Date: 2020-12-06 10:22:02
2021-01-27 12:25:54.617 Status: Startup Path: /usr/local/domoticz/
2021-01-27 12:25:54.825 Error: Domoticz(pid:5053, tid:5053('domoticz')) received fatal signal 6 (Aborted)
2021-01-27 12:25:54.825 Error: siginfo address=0x13bd, address=0x768c9fe8
2021-01-27 12:25:54.840 Error: Failed to start gdb, will use backtrace() for printing stack frame
2021-01-27 12:25:54.841 Error: #0 /usr/local/domoticz/bin/domoticz() [0x29112a]
2021-01-27 12:25:54.841 Error: #1 /usr/local/domoticz/bin/domoticz : signal_handler(int, siginfo_t*, void*) + 0x22d [0x2919b6]
2021-01-27 12:25:54.841 Error: #2 /lib/libc.so.6 : __default_rt_sa_restorer + 0 [0x768c9e80]
2021-01-27 12:25:54.841 Error: #3 /lib/libc.so.6 : gsignal + 0x34 [0x768c8c54]

Le démarrage de l'appli ne va pas loin: juste le temps de créer le PID !
Domoticz 2023.1 sous Docker sur NAS Synology DS718+
RFXcom RFXtrx433XL avec antenne 3dBi
OpenWeatherMap
Arrosage automatique 4 voies avec EVP
Consommation eau via Arduino Nano
Antori91

Re: Domoticz 2020.1 avec Python 3 sur NAS DS215ne démarre pas

Message par Antori91 »

Bonjour,
Réponse à priori ici: https://www.domoticz.com/forum/viewtopi ... 85#p259185
Jadhal déconseille d'utiliser la version avec Python intégré: >>>

Re: domoticz in synology as package! Available now.
Post by jumbotroll » Friday 23 October 2020 19:30
schulpr wrote: ↑Friday 23 October 2020 18:47
Hi,
I'm trying to install the latest Synology package on my DS215J, the v2020.2.12494-8. It won't start on my NAS. The package seems a lot smaller then the previous version I have, v2020.2.12393-8. 58 MB vs. 19 MB. Should the new version work or is something wrong?
Thanks for your help!
Regards, Rob
This is because it not include Python 3 and you have to install synology python 3 package for domoticz to start.
It was reported many bugs with python include, so I rolled this back..
Répondre