Skip to content
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

PiClock error "KeyError: 'windDirection'" #278

Open
TheDoctor2017 opened this issue Oct 20, 2024 · 1 comment
Open

PiClock error "KeyError: 'windDirection'" #278

TheDoctor2017 opened this issue Oct 20, 2024 · 1 comment

Comments

@TheDoctor2017
Copy link

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 TheDoctor2017 changed the title PiClock error "KeyError: 'temperature'" PiClock error "KeyError: 'windDirection'" Oct 20, 2024
@TheDoctor2017
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant