-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR weewx.cheetahgenerator: **** Reason: '>=' not supported between instances of 'NoneType' and 'float' #9
Comments
hey @Daveiano I'm now getting this after enabling NWS forecasts, do you have any tricks to get the line num around where the fatal was thrown in the actual template? Or maybe a verbosity settings that I can pass to The only suspicious looking place I found just poking around #set $forecat_table_active = True if $varExists('forecast') and len($forecast.weather_periods($forecast_source)) > 0 else False but it's getting coerced to int, so can't be the
|
@rromanchuk I am pretty sure there is a problem in One bug already solved on the 3.x branch (not published to a release yet) was the rain/snow handling in the forecast. Could you please try to disable
Otherwise, you could try to disable one property of the |
I'm going to jump on your 3.x branch. I hot fixed it on the pi with a null check. When you develop locally is it essentially yarn build and use the weewx simulator driver? |
Can you tell me what file and line you edited? I am also happy to accept any PR's. Yes |
@Daveiano yeah, just wanted to actually test before PR. It was a single line, all the rest were protected, this must have just slipped through. Didn't look into the why or how yet, but this was the issue. Working perfectly on rromanchuk@7691600#diff-1ccb9eb11789f9202782aea6c9471642b66c5691b05ff08bf019dd8839962a30R716 |
@rromanchuk I created PR #118 from your patch-1 branch. It seems the necessary change is in this branch? |
Original issue posted on https://groups.google.com/g/weewx-user/c/sDK4kzO4vBw/m/6IyK1zXTAgAJ
The text was updated successfully, but these errors were encountered: