Hi Mathew
used wee_device --clear-memory
appears to have cleared memory according to console display
then restarted weewx
the following is a c&p from the log

May 19 14:24:03 weatherpi rsyslogd-2007: action 'action 17' suspended, next
retry is Sun May 19 14:25:33 2019 [try http://www.rsyslog.com/e/2007 ]
May 19 14:24:04 weatherpi wee_device[4443]: fousb: driver version is 1.9
May 19 14:24:04 weatherpi wee_device[4443]: fousb: power cycling enabled
for port 4 on hub 001:004
May 19 14:24:04 weatherpi wee_device[4443]: fousb: polling mode is PERIODIC
May 19 14:24:04 weatherpi wee_device[4443]: fousb: polling interval is 60
May 19 14:24:04 weatherpi wee_device[4443]: fousb: found station on USB
bus=001 device=011
May 19 14:24:47 weatherpi systemd[1]: Starting LSB: weewx weather system...
May 19 14:24:48 weatherpi weewx[4480]: engine: Initializing weewx version
3.9.1
May 19 14:24:48 weatherpi weewx[4480]: engine: Using Python 2.7.9 (default,
Sep 26 2018, 05:58:52) #012[GCC 4.9.2]
May 19 14:24:48 weatherpi weewx[4480]: engine: Platform
Linux-4.14.78-v7+-armv7l-with-debian-8.0
May 19 14:24:48 weatherpi weewx[4480]: engine: Locale is 'en_AU.UTF-8'
May 19 14:24:48 weatherpi weewx[4480]: engine: pid file is
/var/run/weewx.pid
May 19 14:24:48 weatherpi weewx[4470]: Starting weewx weather system: weewx.
May 19 14:24:48 weatherpi systemd[1]: Started LSB: weewx weather system.
May 19 14:24:48 weatherpi weewx[4484]: engine: Using configuration file
/etc/weewx/weewx.conf
May 19 14:24:48 weatherpi weewx[4484]: engine: Debug is 1
May 19 14:24:48 weatherpi weewx[4484]: engine: Initializing engine
May 19 14:24:48 weatherpi weewx[4484]: engine: Loading station type
FineOffsetUSB (weewx.drivers.fousb)
May 19 14:24:48 weatherpi weewx[4484]: fousb: driver version is 1.9
May 19 14:24:48 weatherpi weewx[4484]: fousb: power cycling enabled for
port 4 on hub 001:004
May 19 14:24:48 weatherpi weewx[4484]: fousb: polling mode is PERIODIC
May 19 14:24:48 weatherpi weewx[4484]: fousb: polling interval is 60
May 19 14:24:48 weatherpi weewx[4484]: fousb: found station on USB bus=001
device=011
May 19 14:24:48 weatherpi weewx[4484]: engine: Loading service
weewx.engine.StdTimeSynch
May 19 14:24:48 weatherpi weewx[4484]: engine: Finished loading service
weewx.engine.StdTimeSynch
May 19 14:24:48 weatherpi weewx[4484]: engine: Loading service
weewx.engine.StdConvert
May 19 14:24:48 weatherpi weewx[4484]: engine: StdConvert target unit is 0x1
May 19 14:24:48 weatherpi weewx[4484]: engine: Finished loading service
weewx.engine.StdConvert
May 19 14:24:48 weatherpi weewx[4484]: engine: Loading service
weewx.engine.StdCalibrate
May 19 14:24:48 weatherpi weewx[4484]: engine: Finished loading service
weewx.engine.StdCalibrate
May 19 14:24:48 weatherpi weewx[4484]: engine: Loading service
weewx.engine.StdQC
May 19 14:24:48 weatherpi weewx[4484]: engine: Finished loading service
weewx.engine.StdQC
May 19 14:24:48 weatherpi weewx[4484]: engine: Loading service
weewx.wxservices.StdWXCalculate
May 19 14:24:48 weatherpi weewx[4484]: wxcalculate: The following values
will be calculated: barometer=prefer_hardware, windchill=prefer_hardware,
dewpoint=prefer_hardware, appTemp=prefer_hardware,
rainRate=prefer_hardware, windrun=prefer_hardware,
heatindex=prefer_hardware, maxSolarRad=prefer_hardware,
humidex=prefer_hardware, pressure=prefer_hardware,
inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware,
cloudbase=prefer_hardware
May 19 14:24:48 weatherpi weewx[4484]: wxcalculate: The following
algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
May 19 14:24:48 weatherpi weewx[4484]: engine: Finished loading service
weewx.wxservices.StdWXCalculate
May 19 14:24:48 weatherpi weewx[4484]: engine: Loading service
weewx.engine.StdArchive
May 19 14:24:48 weatherpi weewx[4484]: engine: Archive will use data
binding wx_binding
May 19 14:24:48 weatherpi weewx[4484]: engine: Record generation will be
attempted in 'software'
May 19 14:24:48 weatherpi weewx[4484]: engine: Using archive interval of
300 seconds (software record generation)
May 19 14:24:48 weatherpi weewx[4484]: engine: Use LOOP data in hi/low
calculations: 1
May 19 14:24:48 weatherpi weewx[4484]: manager: Daily summary version is 2.0
May 19 14:24:48 weatherpi weewx[4484]: engine: Using binding 'wx_binding'
to database 'weewx.sdb'
May 19 14:24:48 weatherpi weewx[4484]: manager: Starting backfill of daily
summaries
May 19 14:24:48 weatherpi weewx[4484]: engine: Caught unrecoverable
exception in engine:
May 19 14:24:48 weatherpi weewx[4484]:     ****  Non-positive value for
record field 'interval': 0
May 19 14:24:48 weatherpi weewx[4484]:     ****  Traceback (most recent
call last):
May 19 14:24:48 weatherpi weewx[4484]:     ****    File
"/usr/share/weewx/weewx/engine.py", line 884, in main
May 19 14:24:48 weatherpi weewx[4484]:     ****      engine =
engine_class(config_dict)
May 19 14:24:48 weatherpi weewx[4484]:     ****    File
"/usr/share/weewx/weewx/engine.py", line 78, in __init__
May 19 14:24:48 weatherpi weewx[4484]:     ****
 self.loadServices(config_dict)
May 19 14:24:48 weatherpi weewx[4484]:     ****    File
"/usr/share/weewx/weewx/engine.py", line 142, in loadServices
May 19 14:24:48 weatherpi weewx[4484]:     ****
 self.service_obj.append(weeutil.weeutil._get_object(svc)(self,
config_dict))
May 19 14:24:48 weatherpi weewx[4484]:     ****    File
"/usr/share/weewx/weewx/engine.py", line 500, in __init__
May 19 14:24:48 weatherpi weewx[4484]:     ****
 self.setup_database(config_dict)
May 19 14:24:48 weatherpi weewx[4484]:     ****    File
"/usr/share/weewx/weewx/engine.py", line 617, in setup_database
May 19 14:24:48 weatherpi weewx[4484]:     ****      _nrecs, _ndays =
dbmanager.backfill_day_summary() # @UnusedVariable
May 19 14:24:48 weatherpi weewx[4484]:     ****    File
"/usr/share/weewx/weewx/manager.py", line 1469, in backfill_day_summary
May 19 14:24:48 weatherpi weewx[4484]:     ****      weight =
self._calc_weight(rec)
May 19 14:24:48 weatherpi weewx[4484]:     ****    File
"/usr/share/weewx/weewx/manager.py", line 1582, in _calc_weight
May 19 14:24:48 weatherpi weewx[4484]:     ****      raise
ValueError("Non-positive value for record field 'interval': %s" %
(record['interval'], ))
May 19 14:24:48 weatherpi weewx[4484]:     ****  ValueError: Non-positive
value for record field 'interval': 0
May 19 14:24:48 weatherpi weewx[4484]:     ****  Exiting.




On Sun, 19 May 2019 at 12:02, mwall <goo...@lancet.mit.edu> wrote:

> On Saturday, May 18, 2019 at 8:05:48 PM UTC-4, Ian Prescott wrote:
>>
>>
>> May 19 09:18:32 weatherpi weewx[2261]:     ****  ValueError: Non-positive
>> value for record field 'interval': 0
>> May 19 09:18:32 weatherpi weewx[2261]:     ****  Exiting.
>>
>
> you have some bogus historical data in your station's logger - probably
> corrupt memory.
>
> this first showed up with the oregon scientific stations with loggers, but
> it can happen on fine offset stations too.
>
> try clearing your station's logger.
>
> m
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/9a62f008-e8eb-4aea-932a-106650df579b%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/9a62f008-e8eb-4aea-932a-106650df579b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAN84nRtDL6NChdAoinwNAFgMkg%2BeuLPALpY-2Zs1X6Wdds2exA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to