Skip to content

PiClock error "KeyError: 'windDirection'" #278

@TheDoctor2017

Description

@TheDoctor2017

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions