I also got the issue two days ago. Strange because I've been running for quite some time now and just the other day was my first crash.
Here's my part of the log when it happened: Apr 25 07:31:07 raspberrypi weewx[25759]: engine: Main loop exiting. Shutting engine down. Apr 25 07:31:07 raspberrypi weewx[25759]: engine: Shutting down StdReport thread Apr 25 07:31:07 raspberrypi weewx[25759]: engine: Caught unrecoverable exception in engine: Apr 25 07:31:07 raspberrypi weewx[25759]: **** accum: ScalarStats.addHiLo expected float or int, got 2190515 Apr 25 07:31:07 raspberrypi weewx[25759]: **** Traceback (most recent call last): Apr 25 07:31:07 raspberrypi weewx[25759]: **** File "/usr/share/weewx/weewx/engine.py", line 890, in main Apr 25 07:31:07 raspberrypi weewx[25759]: **** engine.run() Apr 25 07:31:07 raspberrypi weewx[25759]: **** File "/usr/share/weewx/weewx/engine.py", line 202, in run Apr 25 07:31:07 raspberrypi weewx[25759]: **** self.dispatchEvent(weewx.Event(weewx.POST_LOOP)) Apr 25 07:31:07 raspberrypi weewx[25759]: **** File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent Apr 25 07:31:07 raspberrypi weewx[25759]: **** callback(event) Apr 25 07:31:07 raspberrypi weewx[25759]: **** File "/usr/share/weewx/weewx/engine.py", line 574, in post_loop Apr 25 07:31:07 raspberrypi weewx[25759]: **** self._software_catchup() Apr 25 07:31:07 raspberrypi weewx[25759]: **** File "/usr/share/weewx/weewx/engine.py", line 646, in _software_catchup Apr 25 07:31:07 raspberrypi weewx[25759]: **** self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD, record=record, origin='software')) Apr 25 07:31:07 raspberrypi weewx[25759]: **** File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent Apr 25 07:31:07 raspberrypi weewx[25759]: **** callback(event) Apr 25 07:31:07 raspberrypi weewx[25759]: **** File "/usr/share/weewx/user/cmon.py", line 706, in new_archive_record Apr 25 07:31:07 raspberrypi weewx[25759]: **** self.save_data(self.get_data(now, self.last_ts)) Apr 25 07:31:07 raspberrypi weewx[25759]: **** File "/usr/share/weewx/user/cmon.py", line 713, in save_data Apr 25 07:31:07 raspberrypi weewx[25759]: **** self.dbm.addRecord(record) Apr 25 07:31:07 raspberrypi weewx[25759]: **** File "/usr/share/weewx/weewx/manager.py", line 246, in addRecord Apr 25 07:31:07 raspberrypi weewx[25759]: **** self._addSingleRecord(record, cursor, log_level) Apr 25 07:31:07 raspberrypi weewx[25759]: **** File "/usr/share/weewx/weewx/manager.py", line 1216, in _addSingleRecord Apr 25 07:31:07 raspberrypi weewx[25759]: **** _day_summary.addRecord(record, weight=_weight) Apr 25 07:31:07 raspberrypi weewx[25759]: **** File "/usr/share/weewx/weewx/accum.py", line 256, in addRecord Apr 25 07:31:07 raspberrypi weewx[25759]: **** func(self, record, obs_type, add_hilo, weight) Apr 25 07:31:07 raspberrypi weewx[25759]: **** File "/usr/share/weewx/weewx/accum.py", line 314, in add_value Apr 25 07:31:07 raspberrypi weewx[25759]: **** self[obs_type].addHiLo(val, record['dateTime']) Apr 25 07:31:07 raspberrypi weewx[25759]: **** File "/usr/share/weewx/weewx/accum.py", line 77, in addHiLo Apr 25 07:31:07 raspberrypi weewx[25759]: **** raise ValueError("accum: ScalarStats.addHiLo expected float or int, got %s" % val) Apr 25 07:31:07 raspberrypi weewx[25759]: **** ValueError: accum: ScalarStats.addHiLo expected float or int, got 2190515 Apr 25 07:31:07 raspberrypi weewx[25759]: **** Exiting. /Micael Den fredag 26 april 2019 kl. 12:57:48 UTC+2 skrev Redanman: > > Thank you for any possible insights into what might be causing Weewx to > occasionally crash. The relevant part of the syslog is : > > Apr 26 08:20:32 raspberrypi weewx[7715]: **** File > "/usr/share/weewx/weewx/manager.py", line 1216, in _addSingleRecord > Apr 26 08:20:32 raspberrypi weewx[7715]: **** > _day_summary.addRecord(record, weight=_weight) > Apr 26 08:20:32 raspberrypi weewx[7715]: **** File > "/usr/share/weewx/weewx/accum.py", line 256, in addRecord > Apr 26 08:20:32 raspberrypi weewx[7715]: **** func(self, record, > obs_type, add_hilo, weight) > Apr 26 08:20:32 raspberrypi weewx[7715]: **** File > "/usr/share/weewx/weewx/accum.py", line 314, in add_value > Apr 26 08:20:32 raspberrypi weewx[7715]: **** > self[obs_type].addHiLo(val, record['dateTime']) > Apr 26 08:20:32 raspberrypi weewx[7715]: **** File > "/usr/share/weewx/weewx/accum.py", line 77, in addHiLo > Apr 26 08:20:32 raspberrypi weewx[7715]: **** raise > ValueError("accum: ScalarStats.addHiLo expected float or int, got %s" % val) > Apr 26 08:20:32 raspberrypi weewx[7715]: **** ValueError: accum: > ScalarStats.addHiLo expected float or int, got 645138 > Apr 26 08:20:32 raspberrypi weewx[7715]: **** Exiting. > > I have Weewx running on a Raspberry Pi Zero and my weather station is an > Aercus WeatherSleuth, so I am using the interceptor driver. The > installation was very stable until I upgraded to rev 3.9.1 a few weeks > ago. Now, every few days Weewx crashes on me. > -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.