I’m experiencing the something similar. This is a Pi dedicated to WFPiConsole so no changes have been made. I’ve tried uninstalling and reinstalling but I still get the same errors.
Traceback (most recent call last):
File "/home/steve/wfpiconsole/main.py", line 613, in <module>
wfpiconsole_app.run()
File "/home/steve/wfpiconsole/venv/lib/python3.9/site-packages/kivy/app.py", line 956, in run
runTouchApp()
File "/home/steve/wfpiconsole/venv/lib/python3.9/site-packages/kivy/base.py", line 574, in runTouchApp
EventLoop.mainloop()
File "/home/steve/wfpiconsole/venv/lib/python3.9/site-packages/kivy/base.py", line 339, in mainloop
self.idle()
File "/home/steve/wfpiconsole/venv/lib/python3.9/site-packages/kivy/base.py", line 379, in idle
Clock.tick()
File "/home/steve/wfpiconsole/venv/lib/python3.9/site-packages/kivy/clock.py", line 733, in tick
self.post_idle(ts, self.idle())
File "/home/steve/wfpiconsole/venv/lib/python3.9/site-packages/kivy/clock.py", line 776, in post_idle
self._process_events()
File "kivy/_clock.pyx", line 620, in kivy._clock.CyClockBase._process_events
File "kivy/_clock.pyx", line 653, in kivy._clock.CyClockBase._process_events
File "kivy/_clock.pyx", line 649, in kivy._clock.CyClockBase._process_events
File "kivy/_clock.pyx", line 218, in kivy._clock.ClockEvent.tick
File "/home/steve/wfpiconsole/lib/sager.py", line 77, in fetch_forecast
threading.Thread(target=self.generate_forecast(), daemon=True).start()
File "/home/steve/wfpiconsole/lib/sager.py", line 274, in generate_forecast
if METAR['clouds']:
KeyError: 'clouds'
[INFO ] [Websocket ] 2025-02-14 17:00:43 - Closing connection
[INFO ] [Websocket ] 2025-02-14 17:00:43 - Connection closed
I started seeing that yesterday. I got around it by setting the CheckWX key to zero. I tried getting a new CheckWX key but that did not fix it. I had not gotten around to reporting it … sorry .
@wx3i09 and @steveandkelley, hopefully this is just a temporary glitch in the data being provided by the CheckWX API. It happens sporadically. If it’s still not working in a week or so, I’ll take another look at it
You can either use SSH or VNC to connect to the Pi from a desktop or laptop, or if you have a keyboard and mouse attached to the Pi, then you can login to the forum on the Pi itself and share the API key directly from there
I am also having the same ‘unable to complete CheckWX API call’
This is also a Donald Barnett touch raspberry pi setup. Can you help me fix this? I do have the station
Number & ID. I do have the login from Donald for my device
Paul Phillips