PiClock icon indicating copy to clipboard operation
PiClock copied to clipboard

PiClock error "KeyError: 'windDirection'"

Open TheDoctor2017 opened this issue 1 year ago • 1 comments

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!

TheDoctor2017 avatar Oct 20 '24 13:10 TheDoctor2017

Forget it. Looks like the weather site was just down. It started working after a few hours.

TheDoctor2017 avatar Oct 20 '24 19:10 TheDoctor2017