Hi,
Looks like when you added your new data you have a nan (not a number) being 
put into the database. 
Check your changes to see to see if the large number is too large.
Need to see your changes to understand more.
Jerry

On Saturday, September 7, 2019 at 2:14:35 AM UTC-7, Steve Shuff wrote:
>
> Cancel
> On Sat, 7 Sep 2019, 09:11 peter, <pete...@gmail.com <javascript:>> wrote:
>
>> weewx stopped this morning with an error I don't understand. I also 
>> doesn't want to start either.
>>
>> Can some please advise what would be the cause?
>> I have Davis Vantage Vue + few other inputs from text files I log into 
>> database. This week I added logging of a big integer values into 'hail' 
>> field.
>>
>> This is the status:
>> sep 07 10:00:55 weather weewx[447]:     ****    File 
>> "/usr/share/weewx/weewx/manager.py", line 1216, in _addSingleRecord
>> sep 07 10:00:55 weather weewx[447]:     ****      _day_summary.addRecord(
>> record, weight=_weight)
>> sep 07 10:00:55 weather weewx[447]:     ****    File 
>> "/usr/share/weewx/weewx/accum.py", line 260, in addRecord
>> sep 07 10:00:55 weather weewx[447]:     ****      func(self, record, 
>> obs_type, add_hilo, weight)
>> sep 07 10:00:55 weather weewx[447]:     ****    File 
>> "/usr/share/weewx/weewx/accum.py", line 318, in add_value
>> sep 07 10:00:55 weather weewx[447]:     ****      self[obs_type].addHiLo(
>> val, record['dateTime'])
>> sep 07 10:00:55 weather weewx[447]:     ****    File 
>> "/usr/share/weewx/weewx/accum.py", line 78, in addHiLo
>> sep 07 10:00:55 weather weewx[447]:     ****      "got type '%s' ('%s')" 
>> % (type(val), val))
>> sep 07 10:00:55 weather weewx[447]:     ****  ValueError: accum: 
>> ScalarStats.addHiLo expected float or int, got type '<type 'float'>' (
>> 'nan')
>> sep 07 10:00:55 weather weewx[447]:     ****  Exiting.
>>
>> Thanks!
>>
>> -- 
>> 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...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/75ebceae-9bb1-40f8-8ef5-96b1cedaf1d0%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/75ebceae-9bb1-40f8-8ef5-96b1cedaf1d0%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/25eade25-f426-4dd6-ac32-13834ad34494%40googlegroups.com.

Reply via email to