PiClock error "KeyError: 'windDirection'"
Good morning, afternoon, or evening depending on your time zone. I have been running PiClock for over a year with no problems. Love it! It was running great yesterday, but this morning it crashes on startup. I checked the log and this is the last entry:
[2024-10-20 07:49:46.851064-05:00] File "/home/pi/PiClock/Clock/PyQtPiClock.py", line 919, in wxfinished_tm_current [2024-10-20 07:49:46.859084-05:00] wd = bearing(f['values']['windDirection']) [2024-10-20 07:49:46.867117-05:00] KeyError: 'windDirection'
I haven't changed anything in the code, so I am guessing maybe something changed from where it gets the weather info from. Anyone have any suggestions? Thanks in advance!
Forget it. Looks like the weather site was just down. It started working after a few hours.