Open chaunceygardiner opened 4 years ago
I sucessfully used the forecast-extension (version/branch from @chaunceygardiner ) with Python 3 and weewx 4.1.1, but now I got this if I set Debug=1 :
Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_min: '<' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_max: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_min: '<' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_max: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_min: '<' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_max: '>' not supported between instances of 'NoneType' and 'float'
Any idea howto fix that...or can I just ignore it?!
Regards,
Christian
I threw in some stack traces and I see the additional places in four functions that I need to check for None.
Today is a busy work [from home] day, but I will push out a new version of chaunceygardiner/weewx-forecast tonight.
On Jun 22, 2020, at 6:15 AM, peters77 notifications@github.com wrote:
I sucessfully used the forecast-extension (version/branch from @chaunceygardiner ) with Python 3 and weewx 4.1.1, but now I got this if I set Debug=1 : Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_min: '<' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_max: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_min: '<' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_max: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_min: '<' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_max: '>' not supported between instances of 'NoneType' and 'float'
Any idea howto fix that...or can I just ignore it?!
Regards,
Christian
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi Christian,
It turns out the _get_stats messages were benign; but I’ve cleared them up.
I can’t reproduce the get_min and get_max errors but I’ve added stack traces so I can track them down. Would you please pull the new version and report back with the output you now get when setting debug=1?
Cheers, John
On Jun 22, 2020, at 7:12 AM, John Kline john@johnkline.com wrote:
I threw in some stack traces and I see the additional places in four functions that I need to check for None.
Today is a busy work [from home] day, but I will push out a new version of chaunceygardiner/weewx-forecast tonight.
On Jun 22, 2020, at 6:15 AM, peters77 notifications@github.com wrote:
I sucessfully used the forecast-extension (version/branch from @chaunceygardiner ) with Python 3 and weewx 4.1.1, but now I got this if I set Debug=1 : Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_min: '<' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_max: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_min: '<' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_max: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_min: '<' not supported between instances of 'NoneType' and 'float' Jun 22 15:00:16 weewx weewx[11654] DEBUG user.forecast: ReportThread: _get_max: '>' not supported between instances of 'NoneType' and 'float'
Any idea howto fix that...or can I just ignore it?!
Regards,
Christian
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi John,
just tested with OVM, debug messages gone, log now cleared! Looks good! :-)
Thank you very much for you efforts!
Regards,
Christian
I’ve been successfully using the forecast plugin in WeeWX 4 for some time now. I’ve mentioned it on weewx-development and at least one other has used it with success. That person also asked that I send a pull request. So, I’m sending this just in case you are interested.
These changes require WeeWX 4 and work with Python 2 and 3.