Good morning All
I have had a Vantage Vue station running since 2014 with Weewx without many 
problems.  Over the last couple of days I Weewx has been unable to get 
going and the log reports a KeyError issue with outTemp (log below).  I 
have scanned weewx.sdb for out of range values in outTemp using the 
instructions 
here:  https://github.com/weewx/weewx/wiki/Cleaning-up-old-'bad'-data  and 
replaced three outTemp= -90 values with NULL using that procedure (those 
records were all recent).  A subsequent scan reports no out of range 
outTemp records, yet Weewx cannot start.  I would appreciate any insight on 
what else the log below is telling me?

Dec 13 10:34:17 RPi-Weatherstation weewx[13471]: vantage: Retrieving 9 
page(s); starting index= 0
Dec 13 10:34:17 RPi-Weatherstation weewx[13471]: manager: Daily summary 
version is 2.0
Dec 13 10:34:17 RPi-Weatherstation weewx[13471]: engine: Main loop exiting. 
Shutting engine down.
Dec 13 10:34:17 RPi-Weatherstation weewx[13471]: restx: Shut down OWM 
thread.
Dec 13 10:34:17 RPi-Weatherstation weewx[13471]: restx: Shut down WOW 
thread.
Dec 13 10:34:17 RPi-Weatherstation weewx[13471]: restx: Shut down 
Wunderground-PWS thread.
Dec 13 10:34:17 RPi-Weatherstation weewx[13471]: restx: Shut down 
StationRegistry thread.
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]: engine: Caught 
unrecoverable exception in engine:
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****  'outTemp'
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****  Traceback (most 
recent call last):
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 877, in main
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****      engine.run()
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 160, in run
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****      
self.dispatchEvent(weewx.Event(weewx.STARTUP))
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****      
callback(event)
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 509, in startup
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****      
self._catchup(self.engine.console.genStartupRecords)
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 623, in _catchup
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****      
origin='hardware'))
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****      
callback(event)
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****    File 
"/home/weewx/bin/user/weewxwd3.py", line 170, in new_archive_record
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****      
wd_data['humidex'] = weewx.wxformulas.humidexC(data_metricwx['outTemp'],
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****  KeyError: 
'outTemp'
Dec 13 10:34:18 RPi-Weatherstation weewx[13471]:     ****  Exiting.

And the three records fixed:
1544516100|1|5|30.298|||66.6|-90.0|47.0|100.0|||0.0||0.0|0.0||||0.0||||||-88.0|-82.0|-88.0|-82.0|-88.0|-82.0|||2.0|8.0|2.0|36.0|2.0|8.0|0.0||||||||||||
1544592300|1|5|30.198|||65.2|-90.0|50.0|93.0|1.0|90.0|4.0|90.0|0.0|0.0|-90.9160305931307|-90.0|-90.0|0.0||||||-86.0|-82.0|-86.0|-82.0|-82.0|-82.0|||2.0|8.0|2.0|36.0|8.0|8.0|31.6041666666667||||||||||||
1544592600|1|5|30.197|||65.9|-90.0|50.0|93.0|||0.0||0.0|0.0||||0.0||||||-86.0|-82.0|-86.0|-82.0|-82.0|-82.0|||2.0|8.0|4.0|36.0|8.0|8.0|0.0||||||||||||

Many thanks

Roberto
http://weather.boterosanchez.co.uk/

-- 
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.

Reply via email to