--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/79c90acf-06a3-4bf2-80d3-06023c177025%40googlegroups.com.
En attendant, voici une version de manager.py qui ignorera simplement les enregistrements contenant de mauvaises valeurs 'intervalle' au lieu de s'arrêter. Ce n'est pas un remède, mais au moins les résultats seront plus robustes. Essaie.-tkJ'ai ré-ouvert le numéro 375. J'espère que Chris aura du temps pour enquêter.-tkLe mercredi 20 novembre 2019 à 01h08 Teva MERVIN < mte ... @ gmail.com > a écrit:oui je l'ai utilisé.
https://github.com/weewx/weewx/issues/375
Le mercredi 20 novembre 2019 14:19:37 UTC+11, Andrew Milner a écrit :
d'après l'une des discussions, il y avait une version du pilote censée résoudre ce problème - avez-vous utilisé cette version du pilote wmr?
Le mercredi 20 novembre 2019, Teva MERVIN a écrit:Quelques détails de mon installation:
- Debian server 5.2.17-1- Weewx 3.9.2-0
- Base de données: sqlite- Peau: Météo34
- Station: Oregon WMR200
Le mardi 19 novembre 2019 16:36:37 UTC+11, Teva MERVIN a écrit :
Hello.I have a problem that I can not identify.It happens at least once a day, and I have to restart weewx.Do you have ideas?
root@Nas:~# service weewx status
● weewx.service - LSB: weewx weather system
Loaded: loaded (/etc/init.d/weewx; generated)
Active: active (exited) since Sun 2019-11-17 19:09:21 +11; 1 day 21h ago
Docs: man:systemd-sysv-generator(8)
Process: 2094 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS)
nov. 19 13:34:26 Nas weewx[2110]: **** File "/usr/share/weewx/weewx/engine.py", line 601, in new_archive_record
nov. 19 13:34:26 Nas weewx[2110]: **** dbmanager.addRecord(event.record, accumulator=self.old_accumulator)
nov. 19 13:34:26 Nas weewx[2110]: **** File "/usr/share/weewx/weewx/manager.py", line 246, in addRecord
nov. 19 13:34:26 Nas weewx[2110]: **** self._addSingleRecord(record, cursor, log_level)
nov. 19 13:34:26 Nas weewx[2110]: **** File "/usr/share/weewx/weewx/manager.py", line 1212, in _addSingleRecord
nov. 19 13:34:26 Nas weewx[2110]: **** _weight = self._calc_weight(record)
nov. 19 13:34:26 Nas weewx[2110]: **** File "/usr/share/weewx/weewx/manager.py", line 1582, in _calc_weight
nov. 19 13:34:26 Nas weewx[2110]: **** raise ValueError("Non-positive value for record field 'interval': %s" % (record['interval'], ))
-nov. 19 13:34:26 Nas weewx [2110]: **** ValueError: valeur non positive pour le champ d'enregistrement 'intervalle': 0 nov. 19 13:34:26 Nas weewx [2110]: **** Sortie.
Merci.
Vous avez reçu ce message car vous êtes abonné au groupe "weewx-user" de Google Groupes.
Pour vous désabonner de ce groupe et ne plus recevoir de courrier électronique, envoyez un courrier électronique à weewx ... @ googlegroups.com .
Pour afficher cette discussion sur Internet, consultez la page https://groups.google.com/d/ msgid / weewx-user / 79c90acf- 06a3-4bf2-80d3-06023c177025% 40googlegroups.com .
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/83b29f0a-10b1-40c9-b779-69a6a1e040af%40googlegroups.com.
Feb 12 21:33:40 vegan weewx[429]: engine: Main loop exiting. Shutting engine down.
Feb 12 21:33:40 vegan weewx[429]: restx: Shut down Twitter thread.
Feb 12 21:33:40 vegan weewx[429]: wmr200: Thread-2: I USB polling device thread exiting
Feb 12 21:33:40 vegan weewx[429]: wmr200: MainThread: I USB polling thread expired
Feb 12 21:33:40 vegan weewx[429]: wmr200: Thread-1: I Watchdog received shutdown
Feb 12 21:33:40 vegan weewx[429]: wmr200: Thread-1: I Watchdog thread exiting
Feb 12 21:33:40 vegan weewx[429]: wmr200: MainThread: I Watchdog thread expired
Feb 12 21:33:40 vegan weewx[429]: wmr200: MainThread: I Received packet count live:15 archive:1 control:1
Feb 12 21:33:40 vegan weewx[429]: wmr200: MainThread: I Received bytes:2640 sent bytes:56
Feb 12 21:33:40 vegan weewx[429]: wmr200: MainThread: I Packet archive queue len:0 live queue len:15
Feb 12 21:33:40 vegan weewx[429]: wmr200: MainThread: W Exiting with packets still in live queue cnt:15
Feb 12 21:33:40 vegan weewx[429]: wmr200: MainThread: I Driver gracefully exiting
Feb 12 21:33:40 vegan weewx[429]: engine: Caught unrecoverable exception in engine:
Feb 12 21:33:40 vegan weewx[429]: **** Non-positive value for record field 'interval': 0
Feb 12 21:33:40 vegan weewx[429]: **** Traceback (most recent call last):
Feb 12 21:33:40 vegan weewx[429]: **** File "/usr/share/weewx/weewx/engine.py", line 894, in main
Feb 12 21:33:40 vegan weewx[429]: **** engine.run()
Feb 12 21:33:40 vegan weewx[429]: **** File "/usr/share/weewx/weewx/engine.py", line 160, in run
Feb 12 21:33:40 vegan weewx[429]: **** self.dispatchEvent(weewx.Event(weewx.STARTUP))
Feb 12 21:33:40 vegan weewx[429]: **** File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent
Feb 12 21:33:40 vegan weewx[429]: **** callback(event)
Feb 12 21:33:40 vegan weewx[429]: **** File "/usr/share/weewx/weewx/engine.py", line 520, in startup
Feb 12 21:33:40 vegan weewx[429]: **** self._catchup(self.engine.console.genStartupRecords)
Feb 12 21:33:40 vegan weewx[429]: **** File "/usr/share/weewx/weewx/engine.py", line 635, in _catchup
Feb 12 21:33:40 vegan weewx[429]: **** origin='hardware'))
Feb 12 21:33:40 vegan weewx[429]: **** File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent
Feb 12 21:33:40 vegan weewx[429]: **** callback(event)
Feb 12 21:33:40 vegan weewx[429]: **** File "/usr/share/weewx/weewx/engine.py", line 601, in new_archive_record
Feb 12 21:33:40 vegan weewx[429]: **** dbmanager.addRecord(event.record, accumulator=self.old_accumulator)
Feb 12 21:33:40 vegan weewx[429]: **** File "/usr/share/weewx/weewx/manager.py", line 246, in addRecord
Feb 12 21:33:40 vegan weewx[429]: **** self._addSingleRecord(record, cursor, log_level)
Feb 12 21:33:40 vegan weewx[429]: **** File "/usr/share/weewx/weewx/manager.py", line 1212, in _addSingleRecord
Feb 12 21:33:40 vegan weewx[429]: **** _weight = self._calc_weight(record)
Feb 12 21:33:40 vegan weewx[429]: **** File "/usr/share/weewx/weewx/manager.py", line 1582, in _calc_weight
Feb 12 21:33:40 vegan weewx[429]: **** raise ValueError("Non-positive value for record field 'interval': %s" % (rec
Feb 12 21:33:40 vegan weewx[429]: **** ValueError: Non-positive value for record field 'interval': 0
Feb 12 21:33:40 vegan weewx[429]: **** Exiting.