Re: [weewx-user] Re: outTemp - Caught unrecoverable exception in engine

2018-12-14 Thread Roberto Botero
Well after restarting the raspberry a couple of times it seems I'm up and 
running.  My webpage still has those wrong outTemp values in the weekly 
summary which I thought I had cleaned in the database but current and NOAA 
tables are correct.
Thank you everyone for your help!

Roberto

On Friday, December 14, 2018 at 8:54:40 AM UTC, Roberto Botero wrote:
>
> Tom, Gary
>
> Thank you!  Gary, following your instructions weewx is downloading data 
> from the station and publishing to WOW, OWM and WU but something else is 
> still not correct:
>
> Dec 14 08:52:53 RPi-Weatherstation weewx[1428]: vantage: LOOP try #3; 
> error: Expected to read 99 chars; got 0 instead
> Dec 14 08:52:53 RPi-Weatherstation weewx[1428]: vantage: Requesting 200 
> LOOP packets.
> Dec 14 08:52:54 RPi-Weatherstation weewx[1428]: vantage: Retry  #0 failed
> Dec 14 08:52:54 RPi-Weatherstation weewx[1428]: vantage: Rude wake up of 
> console successful
> Dec 14 08:52:59 RPi-Weatherstation weewx[1428]: vantage: LOOP try #4; 
> error: Expected to read 99 chars; got 0 instead
> Dec 14 08:52:59 RPi-Weatherstation weewx[1428]: vantage: LOOP max tries 
> (4) exceeded.
> Dec 14 08:52:59 RPi-Weatherstation weewx[1428]: engine: Main loop exiting. 
> Shutting engine down.
> Dec 14 08:52:59 RPi-Weatherstation weewx[1428]: restx: Shut down OWM 
> thread.
> Dec 14 08:52:59 RPi-Weatherstation weewx[1428]: restx: Shut down WOW 
> thread.
> Dec 14 08:52:59 RPi-Weatherstation weewx[1428]: restx: Shut down 
> Wunderground-PWS thread.
> Dec 14 08:52:59 RPi-Weatherstation weewx[1428]: restx: Shut down 
> StationRegistry thread.
> Dec 14 08:52:59 RPi-Weatherstation weewx[1428]: engine: Caught 
> WeeWxIOError: Max tries exceeded while getting LOOP data.
> Dec 14 08:52:59 RPi-Weatherstation weewx[1428]:   Waiting 60 
> seconds then retrying...
>
> I tried running all historic reports using wee_reports and it did but 
> produced this error in the log:
>
> root@RPi-Weatherstation:/home/weewx# ./bin/wee_reports weewx.conf
> Using configuration file weewx.conf
> Generating for all time
> Traceback (most recent call last):
>   File "/home/weewx/bin/weewx/reportengine.py", line 239, in run
> obj.start()
>   File "/home/weewx/bin/weewx/reportengine.py", line 273, in start
> self.run()
>   File "/home/weewx/bin/weewx/cheetahgenerator.py", line 158, in run
> ngen = self.generate(gen_dict[section_name], self.gen_ts)
>   File "/home/weewx/bin/weewx/cheetahgenerator.py", line 232, in generate
> ngen += self.generate(section[subsection], gen_ts)
>   File "/home/weewx/bin/weewx/cheetahgenerator.py", line 232, in generate
> ngen += self.generate(section[subsection], gen_ts)
>   File "/home/weewx/bin/weewx/cheetahgenerator.py", line 320, in generate
> default_binding)
>   File "/home/weewx/bin/weewx/cheetahgenerator.py", line 372, in 
> _getSearchList
> searchList += obj.get_extension_list(timespan, db_lookup)
>   File "/home/weewx/bin/user/wdSearchX3.py", line 1030, in 
> get_extension_list
> avwind120_vh = ValueHelper((avwind120_vt[0][0], avwind120_vt[1], 
> avwind120_vt[2]),
> IndexError: list index out of range
>
>
>
>
> On Friday, December 14, 2018 at 1:54:53 AM UTC, gjr80 wrote:
>>
>> Indeed weeWX-WD is not checking the packet before calculating derived 
>> obs. The fix is to download and install weewxwd3.py v1.04. I don't have 
>> a packaged v1.04 extension yet so you can just update weewxwd3.py as 
>> follows:
>>
>> 1. move the existing weewxwd3.py aside:
>>
>> $ sudo mv /home/weewx/bin/user/weewxwd3.py /home/weewx/bin/user/
>> weewxwd3_1_03.py
>>
>> 2. download weewxwd3.py v1.04:
>>
>> $ sudo wget -P /home/weewx/bin/user https://
>> raw.githubusercontent.com/gjr80/weewx-weewx-wd/master/bin/user/weewxwd3.py
>>
>> 3. restart weeWX
>>
>> 4. monitor the log to ensure there are no further problems.
>>
>> It's worth noting the issue was nothing to do with your database 
>> contents, rather weeWX was running in catchup mode to pull any unarchived 
>> records from your console and archive them. These archive records were 
>> missing weeWX field outTemp. This is somewhat unusual as Vantage 
>> stations include all obs in each archive record and therefore you would 
>> normally expect to see outTemp in every archive record. You might want 
>> to keep an eye on your station or run weeWX directly 
>>  to ensure 
>> everything is working as it should.
>>
>> Gary
>>
>> On Friday, 14 December 2018 11:23:29 UTC+10, Thomas Keffer wrote:
>>>
>>> This appears to be a flaw in the weewx-wd extension. It does not check 
>>> for missing values before attempting to calculate humidex.
>>>
>>> You'll have to check with the author of the extension. 
>>>
>>> -tk
>>>
>>> On Thu, Dec 13, 2018 at 9:24 AM Roberto Botero  
>>> wrote:
>>>
 Well after cleaning columns outTemp, dewpoint, windchill, heatindex in 
 the archive table of weewx.sdb, --droping the dailies and rebuilding them, 
 I still 

Re: [weewx-user] Re: outTemp - Caught unrecoverable exception in engine

2018-12-14 Thread Roberto Botero
Tom, Gary

Thank you!  Gary, following your instructions weewx is downloading data 
from the station and publishing to WOW, OWM and WU but something else is 
still not correct:

Dec 14 08:52:53 RPi-Weatherstation weewx[1428]: vantage: LOOP try #3; 
error: Expected to read 99 chars; got 0 instead
Dec 14 08:52:53 RPi-Weatherstation weewx[1428]: vantage: Requesting 200 
LOOP packets.
Dec 14 08:52:54 RPi-Weatherstation weewx[1428]: vantage: Retry  #0 failed
Dec 14 08:52:54 RPi-Weatherstation weewx[1428]: vantage: Rude wake up of 
console successful
Dec 14 08:52:59 RPi-Weatherstation weewx[1428]: vantage: LOOP try #4; 
error: Expected to read 99 chars; got 0 instead
Dec 14 08:52:59 RPi-Weatherstation weewx[1428]: vantage: LOOP max tries (4) 
exceeded.
Dec 14 08:52:59 RPi-Weatherstation weewx[1428]: engine: Main loop exiting. 
Shutting engine down.
Dec 14 08:52:59 RPi-Weatherstation weewx[1428]: restx: Shut down OWM thread.
Dec 14 08:52:59 RPi-Weatherstation weewx[1428]: restx: Shut down WOW thread.
Dec 14 08:52:59 RPi-Weatherstation weewx[1428]: restx: Shut down 
Wunderground-PWS thread.
Dec 14 08:52:59 RPi-Weatherstation weewx[1428]: restx: Shut down 
StationRegistry thread.
Dec 14 08:52:59 RPi-Weatherstation weewx[1428]: engine: Caught 
WeeWxIOError: Max tries exceeded while getting LOOP data.
Dec 14 08:52:59 RPi-Weatherstation weewx[1428]:   Waiting 60 
seconds then retrying...

I tried running all historic reports using wee_reports and it did but 
produced this error in the log:

root@RPi-Weatherstation:/home/weewx# ./bin/wee_reports weewx.conf
Using configuration file weewx.conf
Generating for all time
Traceback (most recent call last):
  File "/home/weewx/bin/weewx/reportengine.py", line 239, in run
obj.start()
  File "/home/weewx/bin/weewx/reportengine.py", line 273, in start
self.run()
  File "/home/weewx/bin/weewx/cheetahgenerator.py", line 158, in run
ngen = self.generate(gen_dict[section_name], self.gen_ts)
  File "/home/weewx/bin/weewx/cheetahgenerator.py", line 232, in generate
ngen += self.generate(section[subsection], gen_ts)
  File "/home/weewx/bin/weewx/cheetahgenerator.py", line 232, in generate
ngen += self.generate(section[subsection], gen_ts)
  File "/home/weewx/bin/weewx/cheetahgenerator.py", line 320, in generate
default_binding)
  File "/home/weewx/bin/weewx/cheetahgenerator.py", line 372, in 
_getSearchList
searchList += obj.get_extension_list(timespan, db_lookup)
  File "/home/weewx/bin/user/wdSearchX3.py", line 1030, in 
get_extension_list
avwind120_vh = ValueHelper((avwind120_vt[0][0], avwind120_vt[1], 
avwind120_vt[2]),
IndexError: list index out of range




On Friday, December 14, 2018 at 1:54:53 AM UTC, gjr80 wrote:
>
> Indeed weeWX-WD is not checking the packet before calculating derived obs. 
> The fix is to download and install weewxwd3.py v1.04. I don't have a 
> packaged v1.04 extension yet so you can just update weewxwd3.py as 
> follows:
>
> 1. move the existing weewxwd3.py aside:
>
> $ sudo mv /home/weewx/bin/user/weewxwd3.py /home/weewx/bin/user/
> weewxwd3_1_03.py
>
> 2. download weewxwd3.py v1.04:
>
> $ sudo wget -P /home/weewx/bin/user https://
> raw.githubusercontent.com/gjr80/weewx-weewx-wd/master/bin/user/weewxwd3.py
>
> 3. restart weeWX
>
> 4. monitor the log to ensure there are no further problems.
>
> It's worth noting the issue was nothing to do with your database contents, 
> rather weeWX was running in catchup mode to pull any unarchived records 
> from your console and archive them. These archive records were missing 
> weeWX field outTemp. This is somewhat unusual as Vantage stations include 
> all obs in each archive record and therefore you would normally expect to 
> see outTemp in every archive record. You might want to keep an eye on 
> your station or run weeWX directly 
>  to ensure 
> everything is working as it should.
>
> Gary
>
> On Friday, 14 December 2018 11:23:29 UTC+10, Thomas Keffer wrote:
>>
>> This appears to be a flaw in the weewx-wd extension. It does not check 
>> for missing values before attempting to calculate humidex.
>>
>> You'll have to check with the author of the extension. 
>>
>> -tk
>>
>> On Thu, Dec 13, 2018 at 9:24 AM Roberto Botero  
>> wrote:
>>
>>> Well after cleaning columns outTemp, dewpoint, windchill, heatindex in 
>>> the archive table of weewx.sdb, --droping the dailies and rebuilding them, 
>>> I still get the same error message when I restart weewx.  I am going to 
>>> have to wipe out my sdcard and boot from a backup I did last week.  
>>> Fortunately for me the logger in my Vantage Vue has data going back to the 
>>> day before the backup.  What worries me is that the same corrupted data 
>>> will be in the logger.  If I set more stringent stdQC parameters, will the 
>>> import avoid the problems I am having?
>>>
>>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: vantage: Retrieving 25 
>>> page(s); starting index= 

Re: [weewx-user] Re: outTemp - Caught unrecoverable exception in engine

2018-12-13 Thread gjr80
Indeed weeWX-WD is not checking the packet before calculating derived obs. 
The fix is to download and install weewxwd3.py v1.04. I don't have a 
packaged v1.04 extension yet so you can just update weewxwd3.py as follows:

1. move the existing weewxwd3.py aside:

$ sudo mv /home/weewx/bin/user/weewxwd3.py /home/weewx/bin/user/
weewxwd3_1_03.py

2. download weewxwd3.py v1.04:

$ sudo wget -P /home/weewx/bin/user https:
//raw.githubusercontent.com/gjr80/weewx-weewx-wd/master/bin/user/weewxwd3.py

3. restart weeWX

4. monitor the log to ensure there are no further problems.

It's worth noting the issue was nothing to do with your database contents, 
rather weeWX was running in catchup mode to pull any unarchived records 
from your console and archive them. These archive records were missing 
weeWX field outTemp. This is somewhat unusual as Vantage stations include 
all obs in each archive record and therefore you would normally expect to 
see outTemp in every archive record. You might want to keep an eye on your 
station or run weeWX directly 
 to ensure 
everything is working as it should.

Gary

On Friday, 14 December 2018 11:23:29 UTC+10, Thomas Keffer wrote:
>
> This appears to be a flaw in the weewx-wd extension. It does not check for 
> missing values before attempting to calculate humidex.
>
> You'll have to check with the author of the extension. 
>
> -tk
>
> On Thu, Dec 13, 2018 at 9:24 AM Roberto Botero  > wrote:
>
>> Well after cleaning columns outTemp, dewpoint, windchill, heatindex in 
>> the archive table of weewx.sdb, --droping the dailies and rebuilding them, 
>> I still get the same error message when I restart weewx.  I am going to 
>> have to wipe out my sdcard and boot from a backup I did last week.  
>> Fortunately for me the logger in my Vantage Vue has data going back to the 
>> day before the backup.  What worries me is that the same corrupted data 
>> will be in the logger.  If I set more stringent stdQC parameters, will the 
>> import avoid the problems I am having?
>>
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: vantage: Retrieving 25 
>> page(s); starting index= 0
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: engine: Main loop 
>> exiting. Shutting engine down.
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: restx: Shut down OWM 
>> thread.
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: restx: Shut down WOW 
>> thread.
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: restx: Shut down 
>> Wunderground-PWS thread.
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: restx: Shut down 
>> StationRegistry thread.
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: engine: Caught 
>> unrecoverable exception in engine:
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]:   'outTemp'
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]:   Traceback 
>> (most recent call last):
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: File 
>> "/home/weewx/bin/weewx/engine.py", line 877, in main
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]:   
>> engine.run()
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: File 
>> "/home/weewx/bin/weewx/engine.py", line 160, in run
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]:   
>> self.dispatchEvent(weewx.Event(weewx.STARTUP))
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: File 
>> "/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]:   
>> callback(event)
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: File 
>> "/home/weewx/bin/weewx/engine.py", line 509, in startup
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]:   
>> self._catchup(self.engine.console.genStartupRecords)
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: File 
>> "/home/weewx/bin/weewx/engine.py", line 623, in _catchup
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]:   
>> origin='hardware'))
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: File 
>> "/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]:   
>> callback(event)
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: File 
>> "/home/weewx/bin/user/weewxwd3.py", line 170, in new_archive_record
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]:   
>> wd_data['humidex'] = weewx.wxformulas.humidexC(data_metricwx['outTemp'],
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]:   KeyError: 
>> 'outTemp'
>> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]:   Exiting.
>>
>> -- 
>> 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+...@googlegroups.com .
>> For more options, 

Re: [weewx-user] Re: outTemp - Caught unrecoverable exception in engine

2018-12-13 Thread Thomas Keffer
This appears to be a flaw in the weewx-wd extension. It does not check for
missing values before attempting to calculate humidex.

You'll have to check with the author of the extension.

-tk

On Thu, Dec 13, 2018 at 9:24 AM Roberto Botero 
wrote:

> Well after cleaning columns outTemp, dewpoint, windchill, heatindex in the
> archive table of weewx.sdb, --droping the dailies and rebuilding them, I
> still get the same error message when I restart weewx.  I am going to have
> to wipe out my sdcard and boot from a backup I did last week.  Fortunately
> for me the logger in my Vantage Vue has data going back to the day before
> the backup.  What worries me is that the same corrupted data will be in the
> logger.  If I set more stringent stdQC parameters, will the import avoid
> the problems I am having?
>
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: vantage: Retrieving 25
> page(s); starting index= 0
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: engine: Main loop
> exiting. Shutting engine down.
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: restx: Shut down OWM
> thread.
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: restx: Shut down WOW
> thread.
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: restx: Shut down
> Wunderground-PWS thread.
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: restx: Shut down
> StationRegistry thread.
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: engine: Caught
> unrecoverable exception in engine:
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]:   'outTemp'
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]:   Traceback (most
> recent call last):
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: File
> "/home/weewx/bin/weewx/engine.py", line 877, in main
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]:   engine.run()
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: File
> "/home/weewx/bin/weewx/engine.py", line 160, in run
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: 
> self.dispatchEvent(weewx.Event(weewx.STARTUP))
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: File
> "/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: 
> callback(event)
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: File
> "/home/weewx/bin/weewx/engine.py", line 509, in startup
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: 
> self._catchup(self.engine.console.genStartupRecords)
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: File
> "/home/weewx/bin/weewx/engine.py", line 623, in _catchup
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: 
> origin='hardware'))
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: File
> "/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: 
> callback(event)
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: File
> "/home/weewx/bin/user/weewxwd3.py", line 170, in new_archive_record
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]: 
> wd_data['humidex'] = weewx.wxformulas.humidexC(data_metricwx['outTemp'],
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]:   KeyError:
> 'outTemp'
> Dec 13 17:19:28 RPi-Weatherstation weewx[20968]:   Exiting.
>
> --
> 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.
>

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


[weewx-user] Re: outTemp - Caught unrecoverable exception in engine

2018-12-13 Thread Roberto Botero
Well after cleaning columns outTemp, dewpoint, windchill, heatindex in the 
archive table of weewx.sdb, --droping the dailies and rebuilding them, I 
still get the same error message when I restart weewx.  I am going to have 
to wipe out my sdcard and boot from a backup I did last week.  Fortunately 
for me the logger in my Vantage Vue has data going back to the day before 
the backup.  What worries me is that the same corrupted data will be in the 
logger.  If I set more stringent stdQC parameters, will the import avoid 
the problems I am having?

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

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


[weewx-user] Re: outTemp - Caught unrecoverable exception in engine

2018-12-13 Thread Roberto Botero
Andrew

I am not the same guy that posted on the other thread.  I think I have the 
same (original) problem as he did with corrupt minimum temperatures 
throwing off the weewx engine.  I hope it gets resolved by the instructions 
you gave.  On the sudo issue, I have been working as root all along.

Roberto

On Thursday, December 13, 2018 at 2:41:46 PM UTC, Andrew Milner wrote:
>
> Am intrigued to know the result.  After rereading the other thread you 
> referenced I assume that this time you used sudo for drop daily whereas on 
> the previous occasion you did not - is that correct??
>
>
>
> On Thursday, 13 December 2018 16:29:33 UTC+2, Roberto Botero wrote:
>>
>> Andrew
>>
>> I used some of the posts in the thread I just cited and went looking for 
>> very negative temperature minima in other tables in addition to outTemp:  
>> archive_day_windchill and archive_day_dewpoint.  I found records with bad 
>> minima in both and replaced them NULL.
>> I have dropped the daily tables, checked that they were empty and am now 
>> rebuilding them.
>> Let's see if this works.
>>
>> Roberto
>>
>> On Thursday, December 13, 2018 at 1:25:19 PM UTC, Roberto Botero wrote:
>>>
>>> Hi Andrew
>>>
>>> Yes, have done both --drop and --rebuild as per the procedure in the 
>>> link I provided.  I am going through the replies in this post of earlier 
>>> https://groups.google.com/forum/#!topic/weewx-user/fZtyq_cTyZ4  where 
>>> you helped a lot!  
>>> I think I have the same issue.
>>>
>>> Roberto
>>>
>>> On Thursday, December 13, 2018 at 12:49:30 PM UTC, Andrew Milner wrote:

 did you drop daily and rebuild daily after updating the archive??

 if you did not do that try it (stop weewx first of course!!)





 On Thursday, 13 December 2018 13:03:21 UTC+2, Roberto Botero wrote:
>
> And for completeness the NOAA data for December this year shows the 
> offending dates.  Is there a way to just delete those records from the 
> database and get things up and running again?
>
>MONTHLY CLIMATOLOGICAL SUMMARY for Dec 2018
>
>
> NAME: Petts Wood, Kent, England  
> ELEV: 79 meterLAT: 51-23.38 NLONG: 000-04.95 E
>
>
>TEMPERATURE (°C), RAIN (mm), WIND SPEED (m/s)
>
>  HEAT   COOL AVG
>   MEAN   DEGDEG  WIND 
>   DOM
> DAY   TEMP   HIGH   TIMELOW   TIME   DAYS   DAYS   RAIN  SPEED   HIGH 
>   TIMEDIR
> ---
>  01   10.2   12.6  16:256.9  01:404.30.04.30.66.3 
>  12:20254
>  02   13.4   14.8  12:25   11.8  00:052.60.02.31.27.2 
>  09:55252
>  03   10.3   13.7  11:553.6  00:004.30.03.00.88.5 
>  12:05251
>  044.57.6  14:100.8  08:157.50.01.00.01.8 
>  20:25248
>  05   10.1   12.3  13:555.5  00:304.40.03.60.45.4 
>  12:50236
>  06   11.6   12.8  23:15   10.0  02:553.50.00.00.97.2 
>  16:35258
>  079.9   13.0  02:306.5  20:254.50.06.31.49.4 
>  06:25253
>  089.4   11.4  14:107.6  00:054.80.04.61.88.9 
>  02:50257
>  098.59.8  06:255.3  22:255.30.01.50.68.9 
>  03:15252
>  107.08.7  13:155.6  00:206.10.00.00.13.1 
>  01:45245
>  114.08.5  13:35  -67.8  08:157.80.00.30.02.2 
>  22:25105
>  124.16.8  02:00  -67.8  05:257.70.00.00.24.5 
>  14:05103
>  132.22.5  01:051.5  02:058.80.00.00.33.1 
>  00:05112
>  14
>  15
>  16
>  17
>  18
>  19
>  20
>  21
>  22
>  23
>  24
>  25
>  26
>  27
>  28
>  29
>  30
>  31
> ---
>8.6   14.8 02  -67.8 11   71.60.0   26.90.79.4 
> 07253
>
>
> Thanks
>
>
> Roberto
>
>

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


[weewx-user] Re: outTemp - Caught unrecoverable exception in engine

2018-12-13 Thread Roberto Botero
Andrew

I used some of the posts in the thread I just cited and went looking for 
very negative temperature minima in other tables in addition to outTemp:  
archive_day_windchill and archive_day_dewpoint.  I found records with bad 
minima in both and replaced them will.
I have dropped the daily tables, checked that they were empty and am now 
rebuilding them.
Let's see if this works.

Roberto

On Thursday, December 13, 2018 at 1:25:19 PM UTC, Roberto Botero wrote:
>
> Hi Andrew
>
> Yes, have done both --drop and --rebuild as per the procedure in the link 
> I provided.  I am going through the replies in this post of earlier 
> https://groups.google.com/forum/#!topic/weewx-user/fZtyq_cTyZ4  where you 
> helped a lot!  
> I think I have the same issue.
>
> Roberto
>
>
>

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


[weewx-user] Re: outTemp - Caught unrecoverable exception in engine

2018-12-13 Thread Andrew Milner
Am intrigued to know the result.  After rereading the other thread you 
referenced I assume that this time you used sudo for drop daily whereas on 
the previous occasion you did not - is that correct??



On Thursday, 13 December 2018 16:29:33 UTC+2, Roberto Botero wrote:
>
> Andrew
>
> I used some of the posts in the thread I just cited and went looking for 
> very negative temperature minima in other tables in addition to outTemp:  
> archive_day_windchill and archive_day_dewpoint.  I found records with bad 
> minima in both and replaced them NULL.
> I have dropped the daily tables, checked that they were empty and am now 
> rebuilding them.
> Let's see if this works.
>
> Roberto
>
> On Thursday, December 13, 2018 at 1:25:19 PM UTC, Roberto Botero wrote:
>>
>> Hi Andrew
>>
>> Yes, have done both --drop and --rebuild as per the procedure in the link 
>> I provided.  I am going through the replies in this post of earlier 
>> https://groups.google.com/forum/#!topic/weewx-user/fZtyq_cTyZ4  where 
>> you helped a lot!  
>> I think I have the same issue.
>>
>> Roberto
>>
>> On Thursday, December 13, 2018 at 12:49:30 PM UTC, Andrew Milner wrote:
>>>
>>> did you drop daily and rebuild daily after updating the archive??
>>>
>>> if you did not do that try it (stop weewx first of course!!)
>>>
>>>
>>>
>>>
>>>
>>> On Thursday, 13 December 2018 13:03:21 UTC+2, Roberto Botero wrote:

 And for completeness the NOAA data for December this year shows the 
 offending dates.  Is there a way to just delete those records from the 
 database and get things up and running again?

MONTHLY CLIMATOLOGICAL SUMMARY for Dec 2018


 NAME: Petts Wood, Kent, England  
 ELEV: 79 meterLAT: 51-23.38 NLONG: 000-04.95 E


TEMPERATURE (°C), RAIN (mm), WIND SPEED (m/s)

  HEAT   COOL AVG
   MEAN   DEGDEG  WIND  
  DOM
 DAY   TEMP   HIGH   TIMELOW   TIME   DAYS   DAYS   RAIN  SPEED   HIGH  
  TIMEDIR
 ---
  01   10.2   12.6  16:256.9  01:404.30.04.30.66.3  
 12:20254
  02   13.4   14.8  12:25   11.8  00:052.60.02.31.27.2  
 09:55252
  03   10.3   13.7  11:553.6  00:004.30.03.00.88.5  
 12:05251
  044.57.6  14:100.8  08:157.50.01.00.01.8  
 20:25248
  05   10.1   12.3  13:555.5  00:304.40.03.60.45.4  
 12:50236
  06   11.6   12.8  23:15   10.0  02:553.50.00.00.97.2  
 16:35258
  079.9   13.0  02:306.5  20:254.50.06.31.49.4  
 06:25253
  089.4   11.4  14:107.6  00:054.80.04.61.88.9  
 02:50257
  098.59.8  06:255.3  22:255.30.01.50.68.9  
 03:15252
  107.08.7  13:155.6  00:206.10.00.00.13.1  
 01:45245
  114.08.5  13:35  -67.8  08:157.80.00.30.02.2  
 22:25105
  124.16.8  02:00  -67.8  05:257.70.00.00.24.5  
 14:05103
  132.22.5  01:051.5  02:058.80.00.00.33.1  
 00:05112
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
 ---
8.6   14.8 02  -67.8 11   71.60.0   26.90.79.4  
07253


 Thanks


 Roberto



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


[weewx-user] Re: outTemp - Caught unrecoverable exception in engine

2018-12-13 Thread Roberto Botero
Andrew

I used some of the posts in the thread I just cited and went looking for 
very negative temperature minima in other tables in addition to outTemp:  
archive_day_windchill and archive_day_dewpoint.  I found records with bad 
minima in both and replaced them NULL.
I have dropped the daily tables, checked that they were empty and am now 
rebuilding them.
Let's see if this works.

Roberto

On Thursday, December 13, 2018 at 1:25:19 PM UTC, Roberto Botero wrote:
>
> Hi Andrew
>
> Yes, have done both --drop and --rebuild as per the procedure in the link 
> I provided.  I am going through the replies in this post of earlier 
> https://groups.google.com/forum/#!topic/weewx-user/fZtyq_cTyZ4  where you 
> helped a lot!  
> I think I have the same issue.
>
> Roberto
>
> On Thursday, December 13, 2018 at 12:49:30 PM UTC, Andrew Milner wrote:
>>
>> did you drop daily and rebuild daily after updating the archive??
>>
>> if you did not do that try it (stop weewx first of course!!)
>>
>>
>>
>>
>>
>> On Thursday, 13 December 2018 13:03:21 UTC+2, Roberto Botero wrote:
>>>
>>> And for completeness the NOAA data for December this year shows the 
>>> offending dates.  Is there a way to just delete those records from the 
>>> database and get things up and running again?
>>>
>>>MONTHLY CLIMATOLOGICAL SUMMARY for Dec 2018
>>>
>>>
>>> NAME: Petts Wood, Kent, England  
>>> ELEV: 79 meterLAT: 51-23.38 NLONG: 000-04.95 E
>>>
>>>
>>>TEMPERATURE (°C), RAIN (mm), WIND SPEED (m/s)
>>>
>>>  HEAT   COOL AVG
>>>   MEAN   DEGDEG  WIND   
>>> DOM
>>> DAY   TEMP   HIGH   TIMELOW   TIME   DAYS   DAYS   RAIN  SPEED   HIGH   
>>> TIMEDIR
>>> ---
>>>  01   10.2   12.6  16:256.9  01:404.30.04.30.66.3  
>>> 12:20254
>>>  02   13.4   14.8  12:25   11.8  00:052.60.02.31.27.2  
>>> 09:55252
>>>  03   10.3   13.7  11:553.6  00:004.30.03.00.88.5  
>>> 12:05251
>>>  044.57.6  14:100.8  08:157.50.01.00.01.8  
>>> 20:25248
>>>  05   10.1   12.3  13:555.5  00:304.40.03.60.45.4  
>>> 12:50236
>>>  06   11.6   12.8  23:15   10.0  02:553.50.00.00.97.2  
>>> 16:35258
>>>  079.9   13.0  02:306.5  20:254.50.06.31.49.4  
>>> 06:25253
>>>  089.4   11.4  14:107.6  00:054.80.04.61.88.9  
>>> 02:50257
>>>  098.59.8  06:255.3  22:255.30.01.50.68.9  
>>> 03:15252
>>>  107.08.7  13:155.6  00:206.10.00.00.13.1  
>>> 01:45245
>>>  114.08.5  13:35  -67.8  08:157.80.00.30.02.2  
>>> 22:25105
>>>  124.16.8  02:00  -67.8  05:257.70.00.00.24.5  
>>> 14:05103
>>>  132.22.5  01:051.5  02:058.80.00.00.33.1  
>>> 00:05112
>>>  14
>>>  15
>>>  16
>>>  17
>>>  18
>>>  19
>>>  20
>>>  21
>>>  22
>>>  23
>>>  24
>>>  25
>>>  26
>>>  27
>>>  28
>>>  29
>>>  30
>>>  31
>>> ---
>>>8.6   14.8 02  -67.8 11   71.60.0   26.90.79.4   
>>>   07253
>>>
>>>
>>> Thanks
>>>
>>>
>>> Roberto
>>>
>>>

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


[weewx-user] Re: outTemp - Caught unrecoverable exception in engine

2018-12-13 Thread Roberto Botero
Hi Andrew

Yes, have done both --drop and --rebuild as per the procedure in the link I 
provided.  I am going through the replies in this post of 
earlier https://groups.google.com/forum/#!topic/weewx-user/fZtyq_cTyZ4  
where you helped a lot!  
I think I have the same issue.

Roberto

On Thursday, December 13, 2018 at 12:49:30 PM UTC, Andrew Milner wrote:
>
> did you drop daily and rebuild daily after updating the archive??
>
> if you did not do that try it (stop weewx first of course!!)
>
>
>
>
>
> On Thursday, 13 December 2018 13:03:21 UTC+2, Roberto Botero wrote:
>>
>> And for completeness the NOAA data for December this year shows the 
>> offending dates.  Is there a way to just delete those records from the 
>> database and get things up and running again?
>>
>>MONTHLY CLIMATOLOGICAL SUMMARY for Dec 2018
>>
>>
>> NAME: Petts Wood, Kent, England  
>> ELEV: 79 meterLAT: 51-23.38 NLONG: 000-04.95 E
>>
>>
>>TEMPERATURE (°C), RAIN (mm), WIND SPEED (m/s)
>>
>>  HEAT   COOL AVG
>>   MEAN   DEGDEG  WIND
>>DOM
>> DAY   TEMP   HIGH   TIMELOW   TIME   DAYS   DAYS   RAIN  SPEED   HIGH   
>> TIMEDIR
>> ---
>>  01   10.2   12.6  16:256.9  01:404.30.04.30.66.3  
>> 12:20254
>>  02   13.4   14.8  12:25   11.8  00:052.60.02.31.27.2  
>> 09:55252
>>  03   10.3   13.7  11:553.6  00:004.30.03.00.88.5  
>> 12:05251
>>  044.57.6  14:100.8  08:157.50.01.00.01.8  
>> 20:25248
>>  05   10.1   12.3  13:555.5  00:304.40.03.60.45.4  
>> 12:50236
>>  06   11.6   12.8  23:15   10.0  02:553.50.00.00.97.2  
>> 16:35258
>>  079.9   13.0  02:306.5  20:254.50.06.31.49.4  
>> 06:25253
>>  089.4   11.4  14:107.6  00:054.80.04.61.88.9  
>> 02:50257
>>  098.59.8  06:255.3  22:255.30.01.50.68.9  
>> 03:15252
>>  107.08.7  13:155.6  00:206.10.00.00.13.1  
>> 01:45245
>>  114.08.5  13:35  -67.8  08:157.80.00.30.02.2  
>> 22:25105
>>  124.16.8  02:00  -67.8  05:257.70.00.00.24.5  
>> 14:05103
>>  132.22.5  01:051.5  02:058.80.00.00.33.1  
>> 00:05112
>>  14
>>  15
>>  16
>>  17
>>  18
>>  19
>>  20
>>  21
>>  22
>>  23
>>  24
>>  25
>>  26
>>  27
>>  28
>>  29
>>  30
>>  31
>> ---
>>8.6   14.8 02  -67.8 11   71.60.0   26.90.79.4
>>  07253
>>
>>
>> Thanks
>>
>>
>> Roberto
>>
>>

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


[weewx-user] Re: outTemp - Caught unrecoverable exception in engine

2018-12-13 Thread Andrew Milner
did you drop daily and rebuild daily after updating the archive??

if you did not do that try it (stop weewx first of course!!)





On Thursday, 13 December 2018 13:03:21 UTC+2, Roberto Botero wrote:
>
> And for completeness the NOAA data for December this year shows the 
> offending dates.  Is there a way to just delete those records from the 
> database and get things up and running again?
>
>MONTHLY CLIMATOLOGICAL SUMMARY for Dec 2018
>
>
> NAME: Petts Wood, Kent, England  
> ELEV: 79 meterLAT: 51-23.38 NLONG: 000-04.95 E
>
>
>TEMPERATURE (°C), RAIN (mm), WIND SPEED (m/s)
>
>  HEAT   COOL AVG
>   MEAN   DEGDEG  WIND 
>   DOM
> DAY   TEMP   HIGH   TIMELOW   TIME   DAYS   DAYS   RAIN  SPEED   HIGH   
> TIMEDIR
> ---
>  01   10.2   12.6  16:256.9  01:404.30.04.30.66.3  
> 12:20254
>  02   13.4   14.8  12:25   11.8  00:052.60.02.31.27.2  
> 09:55252
>  03   10.3   13.7  11:553.6  00:004.30.03.00.88.5  
> 12:05251
>  044.57.6  14:100.8  08:157.50.01.00.01.8  
> 20:25248
>  05   10.1   12.3  13:555.5  00:304.40.03.60.45.4  
> 12:50236
>  06   11.6   12.8  23:15   10.0  02:553.50.00.00.97.2  
> 16:35258
>  079.9   13.0  02:306.5  20:254.50.06.31.49.4  
> 06:25253
>  089.4   11.4  14:107.6  00:054.80.04.61.88.9  
> 02:50257
>  098.59.8  06:255.3  22:255.30.01.50.68.9  
> 03:15252
>  107.08.7  13:155.6  00:206.10.00.00.13.1  
> 01:45245
>  114.08.5  13:35  -67.8  08:157.80.00.30.02.2  
> 22:25105
>  124.16.8  02:00  -67.8  05:257.70.00.00.24.5  
> 14:05103
>  132.22.5  01:051.5  02:058.80.00.00.33.1  
> 00:05112
>  14
>  15
>  16
>  17
>  18
>  19
>  20
>  21
>  22
>  23
>  24
>  25
>  26
>  27
>  28
>  29
>  30
>  31
> ---
>8.6   14.8 02  -67.8 11   71.60.0   26.90.79.4 
> 07253
>
>
> Thanks
>
>
> Roberto
>
>

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


[weewx-user] Re: outTemp - Caught unrecoverable exception in engine

2018-12-13 Thread Roberto Botero
And for completeness the NOAA data for December this year shows the 
offending dates.  Is there a way to just delete those records from the 
database and get things up and running again?

   MONTHLY CLIMATOLOGICAL SUMMARY for Dec 2018


NAME: Petts Wood, Kent, England  
ELEV: 79 meterLAT: 51-23.38 NLONG: 000-04.95 E


   TEMPERATURE (°C), RAIN (mm), WIND SPEED (m/s)

 HEAT   COOL AVG
  MEAN   DEGDEG  WIND   
DOM
DAY   TEMP   HIGH   TIMELOW   TIME   DAYS   DAYS   RAIN  SPEED   HIGH   
TIMEDIR
---
 01   10.2   12.6  16:256.9  01:404.30.04.30.66.3  
12:20254
 02   13.4   14.8  12:25   11.8  00:052.60.02.31.27.2  
09:55252
 03   10.3   13.7  11:553.6  00:004.30.03.00.88.5  
12:05251
 044.57.6  14:100.8  08:157.50.01.00.01.8  
20:25248
 05   10.1   12.3  13:555.5  00:304.40.03.60.45.4  
12:50236
 06   11.6   12.8  23:15   10.0  02:553.50.00.00.97.2  
16:35258
 079.9   13.0  02:306.5  20:254.50.06.31.49.4  
06:25253
 089.4   11.4  14:107.6  00:054.80.04.61.88.9  
02:50257
 098.59.8  06:255.3  22:255.30.01.50.68.9  
03:15252
 107.08.7  13:155.6  00:206.10.00.00.13.1  
01:45245
 114.08.5  13:35  -67.8  08:157.80.00.30.02.2  
22:25105
 124.16.8  02:00  -67.8  05:257.70.00.00.24.5  
14:05103
 132.22.5  01:051.5  02:058.80.00.00.33.1  
00:05112
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
---
   8.6   14.8 02  -67.8 11   71.60.0   26.90.79.4 
07253


Thanks


Roberto

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