weewx-belchertown icon indicating copy to clipboard operation
weewx-belchertown copied to clipboard

Aeris/Xweather unavailable fixes

Open uajqq opened this issue 1 year ago • 2 comments

This is a fix for #904 and #959, both errors related to Aeris/Xweather. I have no idea why the diff looks so insane -- if you know how to fix this please tell me -- but all I did is wrap the entire forecast block in a try block, so exceptions can be handled gracefully and rendering can continue if any step fails. I also added a block (line 1412) that specifically catches the IOError that only happens on the first time the skin is run, so an informational message can be logged instead.

uajqq avatar Jan 14 '25 05:01 uajqq

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 25 '25 02:04 stale[bot]

What about this?

roe-dl avatar Apr 25 '25 05:04 roe-dl

Since this repo is no longer being actively maintained, I've merged this fix into my own branch, which I'll maintain moving forward. Feel free to use it if you need this bug fix: https://github.com/uajqq/weewx-belchertown-new

uajqq avatar Jun 27 '25 14:06 uajqq