Hello, Freerk This is a known issue with cmon. Eventually, it will get fixed, but this email will tell you how to fix your copy: https://groups.google.com/d/msg/weewx-user/p8xhPGK38s4/GIvSH-VOAQAJ
-tk On Fri, Feb 15, 2019 at 5:29 AM Freerk Bosscha <[email protected]> wrote: > Since my upgrade to weewx the weewx daemon crashes. > I have preserved the weewx.conf file. Perhaps that's on of the reason! > > In het syslog file the following appears: > > Feb 15 14:21:15 raspberrypi weewx[10845]: engine: Caught unrecoverable > exception in engine: > Feb 15 14:21:15 raspberrypi weewx[10845]: **** accum: > ScalarStats.addHiLo expected float or int, got 141929 > Feb 15 14:21:15 raspberrypi weewx[10845]: **** Traceback (most recent > call last): > Feb 15 14:21:15 raspberrypi weewx[10845]: **** File > "/usr/share/weewx/weewx/engine.py", line 890, in main > Feb 15 14:21:15 raspberrypi weewx[10845]: **** engine.run() > Feb 15 14:21:15 raspberrypi weewx[10845]: **** File > "/usr/share/weewx/weewx/engine.py", line 202, in run > Feb 15 14:21:15 raspberrypi weewx[10845]: **** > self.dispatchEvent(weewx.Event(weewx.POST_LOOP)) > Feb 15 14:21:15 raspberrypi weewx[10845]: **** File > "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent > Feb 15 14:21:15 raspberrypi weewx[10845]: **** callback(event) > Feb 15 14:21:15 raspberrypi weewx[10845]: **** File > "/usr/share/weewx/weewx/engine.py", line 580, in post_loop > Feb 15 14:21:15 raspberrypi weewx[10845]: **** > self._catchup(self.engine.console.genArchiveRecords) > Feb 15 14:21:15 raspberrypi weewx[10845]: **** File > "/usr/share/weewx/weewx/engine.py", line 635, in _catchup > Feb 15 14:21:15 raspberrypi weewx[10845]: **** origin='hardware')) > Feb 15 14:21:15 raspberrypi weewx[10845]: **** File > "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent > Feb 15 14:21:15 raspberrypi weewx[10845]: **** callback(event) > Feb 15 14:21:15 raspberrypi weewx[10845]: **** File > "/usr/share/weewx/user/cmon.py", line 704, in new_archive_record > Feb 15 14:21:15 raspberrypi weewx[10845]: **** > self.save_data(self.get_data(now, self.last_ts)) > Feb 15 14:21:15 raspberrypi weewx[10845]: **** File > "/usr/share/weewx/user/cmon.py", line 711, in save_data > Feb 15 14:21:15 raspberrypi weewx[10845]: **** > self.dbm.addRecord(record) > Feb 15 14:21:15 raspberrypi weewx[10845]: **** File > "/usr/share/weewx/weewx/manager.py", line 246, in addRecord > Feb 15 14:21:15 raspberrypi weewx[10845]: **** > self._addSingleRecord(record, cursor, log_level) > Feb 15 14:21:15 raspberrypi weewx[10845]: **** File > "/usr/share/weewx/weewx/manager.py", line 1216, in _addSingleRecord > Feb 15 14:21:15 raspberrypi weewx[10845]: **** > _day_summary.addRecord(record, weight=_weight) > Feb 15 14:21:15 raspberrypi weewx[10845]: **** File > "/usr/share/weewx/weewx/accum.py", line 256, in addRecord > Feb 15 14:21:15 raspberrypi weewx[10845]: **** func(self, record, > obs_type, add_hilo, weight) > Feb 15 14:21:15 raspberrypi weewx[10845]: **** File > "/usr/share/weewx/weewx/accum.py", line 314, in add_value > Feb 15 14:21:15 raspberrypi weewx[10845]: **** > self[obs_type].addHiLo(val, record['dateTime']) > Feb 15 14:21:15 raspberrypi weewx[10845]: **** File > "/usr/share/weewx/weewx/accum.py", line 77, in addHiLo > Feb 15 14:21:15 raspberrypi weewx[10845]: **** raise > ValueError("accum: ScalarStats.addHiLo expected float or int, got %s" % val) > Feb 15 14:21:15 raspberrypi weewx[10845]: **** ValueError: accum: > ScalarStats.addHiLo expected float or int, got 141929 > Feb 15 14:21:15 raspberrypi weewx[10845]: **** Exiting. > > Anyone has an idea how to solve this issue? > > thanks for your reply > > Freerk > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
