Hi,
Do you have a longer stack trace of the log prior to failure and could you
provide your configuration file for this set up ?
thx,
On Wednesday, November 20, 2019 at 7:01:44 PM UTC-8, Teva MERVIN wrote:
>
> OK tk.
>
> 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: 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/a43888d1-975a-48d3-9543-8d42053df1e0%40googlegroups.com.