× Benvenuti sul nostro forum su Sint Wind PI!

Postate qui domande o segnalate problemi / bug che riscontrate,

file Sint Wind si addormenta

  • Centauri
  • Centauri's Avatar Topic Author
  • Visitor
  • Visitor
10 years 4 months ago - 10 years 4 months ago #2444 by Centauri
Replied by Centauri on topic Sint Wind si addormenta
Questa volta ha funzionato senza intoppi per quasi 4 giorni, più o meno da dopo che ho inserito e aggiunto il log delle varie funzioni dentro a meteodata.py
Riporto il log, nella speranza che succeda altre voltre per avere la certezza di sapere in quale punto si pianta, o meglio in quale sia l'ultima iatruzione eseguite.
Come sempre il servizio riasltava attivo tramite il comando ps au
[16/11/2013-08:23:30] Calculating Meteo data and statistics - CalcStatistics
[16/11/2013-08:23:52] Logging data to Database - LogDataToDB
[16/11/2013-08:23:52] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 10.2 - Tin: 21.0 - Hout: 93.0 - Hin: 54.0 - P: 1017 - Rtot: 20.1 - RDay: 0.0 - R1h: 0.0 - R24h: 0.0 - CB: 131 - Trend: 0.00
[16/11/2013-08:24:30] Calculating Meteo data and statistics - CalcStatistics
[16/11/2013-08:24:53] Logging data to Database - LogDataToDB
[16/11/2013-08:24:53] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 10.2 - Tin: 21.0 - Hout: 93.0 - Hin: 54.0 - P: 1017 - Rtot: 20.1 - RDay: 0.0 - R1h: 0.0 - R24h: 0.0 - CB: 131 - Trend: 0.00
[16/11/2013-08:25:19] Last main Thread delay ratio: 0.5
[16/11/2013-08:25:30] Calculating Meteo data and statistics - CalcStatistics
[16/11/2013-08:25:53] Logging data to Database - LogDataToDB
[16/11/2013-08:25:53] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 10.2 - Tin: 21.0 - Hout: 93.0 - Hin: 54.0 - P: 1017 - Rtot: 20.1 - RDay: 0.0 - R1h: 0.0 - R24h: 0.0 - CB: 131 - Trend: 0.00
[16/11/2013-11:34:01] Starting SINT WIND PI  ... 
************************************************************************
*                      Sint Wind PI 01.20.97                           *

Blocco alle 08:25 al quale è seguito un sudo reboot manuale alle 11:34

Da meteodata.py mi pare questa l'ultima istruzione eseguita:
def LogDataToDB(self):
        
            TTLib.log("Logging data to Database - LogDataToDB")
            if ( self.last_measure_time == None ):
                return

Continuo gli studi e le analisi ;)
Last edit: 10 years 4 months ago by Centauri.

Please Log in to join the conversation.

Time to create page: 0.848 seconds