are you running 3.9.2??
search the forum for non-positive value for record field 'interval' and you
will find many other threads
On Tuesday, 19 November 2019 07:36:37 UTC+2, Teva MERVIN wrote:
>
> 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: Non-positive
> value for record field 'interval': 0
> nov. 19 13:34:26 Nas weewx[2110]: **** Exiting.
>
> Thank you.
>
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/937cbea7-28c8-4bb6-95c7-9a6cc43779cd%40googlegroups.com.