Re: [weewx-user] WeeWX keeps crashing

2020-05-30 Thread Tom Keffer
weewx-user@googlegroups.com *On > Behalf Of *Tom Keffer > *Sent:* Saturday, May 30, 2020 6:45 PM > *To:* weewx-user > *Subject:* Re: [weewx-user] WeeWX keeps crashing > > > > I would guess that the column 'sum' in one of the daily summaries now has > a value of "null&

RE: [weewx-user] WeeWX keeps crashing

2020-05-30 Thread dave.spicer2012
version of weewx 3.9.1, how old will it be to upgrade to the latest? What steps would I take to do that? Thanks Dave From: weewx-user@googlegroups.com On Behalf Of Tom Keffer Sent: Saturday, May 30, 2020 6:45 PM To: weewx-user Subject: Re: [weewx-user] WeeWX keeps crashing I would

Re: [weewx-user] WeeWX keeps crashing

2020-05-30 Thread Tom Keffer
on 2.7.13 > > > > Dave > > > > *From:* weewx-user@googlegroups.com *On > Behalf Of *John Kline > *Sent:* Saturday, May 30, 2020 6:32 PM > *To:* weewx-user@googlegroups.com > *Subject:* Re: [weewx-user] WeeWX keeps crashing > > > > Did you change the default version

RE: [weewx-user] WeeWX keeps crashing

2020-05-30 Thread dave.spicer2012
all of my data? When I ran python –version is came back as Python 2.7.13 Dave From: weewx-user@googlegroups.com On Behalf Of John Kline Sent: Saturday, May 30, 2020 6:32 PM To: weewx-user@googlegroups.com Subject: Re: [weewx-user] WeeWX keeps crashing Did you change the default

Re: [weewx-user] WeeWX keeps crashing

2020-05-30 Thread John Kline
Did you change the default version of Python to 3? What is the output of: python —version > On May 30, 2020, at 5:17 PM, dave.spicer2...@gmail.com wrote: > >  > This morning, I noticed that I was not getting any data from WeeWX. I am > running weewx ver 3.9.1 on a raspberry pi. I have reboot

Re: [weewx-user] weewx keeps crashing

2019-10-26 Thread Matt Frost
It's looking like the issue is resolved. Still no crash so far. Thanks again for the help. -- 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

Re: [weewx-user] weewx keeps crashing

2019-10-25 Thread Matt Frost
OK I'm back up and running. I'll update tomorrow if I see the initial problem again or not. 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

Re: [weewx-user] weewx keeps crashing

2019-10-25 Thread Thomas Keffer
Sorry. There are actually 4 places in accum.py that have to be changed. Use the attached copy of accum.py -tk On Fri, Oct 25, 2019 at 6:20 PM Matt Frost wrote: > OK I made that change. Now I'm getting this. This errors out much quicker > than before. > > Oct 25 20:15:15 weather weewx[783]:

Re: [weewx-user] weewx keeps crashing

2019-10-25 Thread Matt Frost
OK I made that change. Now I'm getting this. This errors out much quicker than before. Oct 25 20:15:15 weather weewx[783]: File "/usr/share/weewx/weewx/manager.py", line 1216, in _addSingleRecord Oct 25 20:15:15 weather weewx[783]: _day_summary.addRecord(record,

Re: [weewx-user] weewx keeps crashing

2019-10-25 Thread Matt Frost
I have not but will try that next and let you know the results. > >> -- 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

Re: [weewx-user] weewx keeps crashing

2019-10-25 Thread Thomas Keffer
I can imagine you don't want to sit there staring at the command line looking for an 'L' for a few hours. :-) Did you try the modification I outlined earlier? That should at least make it go away. -tk On Fri, Oct 25, 2019 at 4:10 PM Matt Frost wrote: > I have not had any luck finding the

Re: [weewx-user] weewx keeps crashing

2019-10-25 Thread Matt Frost
I have not had any luck finding the bad data. Unfortunately it takes several hours for it to crash when running normally. I left weewx running from command line since last evening but it is still running. I assumed it would terminate if it found a bad value again but maybe that was not a valid

Re: [weewx-user] weewx keeps crashing

2019-10-25 Thread Thomas Keffer
Speaking of which, and I may regret saying this, but I don't see any reason why the filter on types acceptable to the accumulator can't be broadened to include 'long'. If you add a long to an int, you get a long, without a TypeError. So, another alternative is to change the code from this: if

Re: [weewx-user] weewx keeps crashing

2019-10-25 Thread Thomas Keffer
That would be the next step: instrument accum.py to show what's tripping it up. Matt, have you been successful in finding the 'long' data? -tk On Fri, Oct 25, 2019 at 3:47 AM gjr80 wrote: > Tom, > > This is the second issue of this type I am aware of and whilst cmon was > the source for both,

Re: [weewx-user] weewx keeps crashing

2019-10-25 Thread gjr80
Tom, This is the second issue of this type I am aware of and whilst cmon was the source for both, on the basis of the OP it appears they are from different sources within cmon. As WeeWX can be fed with all manner of sources is it worth a try..except in the add_value() method to catch the

Re: [weewx-user] weewx keeps crashing

2019-10-24 Thread Thomas Keffer
Hello, My best guess is that somewhere among the myriad of things that cmon measures is something that is of type 'long', but it's hard to say with only a small snippet of the log. Try running weewx directly from the command line, and watching the values go by. If something is of type long, it