# Wfpiconsole crashing: key error

**URL:** <https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673>\
**Category:** WeatherFlow PiConsole\
**Created:** [February 14, 2025, 10:04pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673 "2025-02-14T22:04:31Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![steveandkelley](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@steveandkelley](https://community.tempest.earth/u/steveandkelley)\
**Post date:** [February 14, 2025, 10:04pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/1 "2025-02-14T22:04:31Z")

</div>

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.

```auto
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
```

Any suggestions?

---

<div class="post-metadata">

**Author:** ![wx3i09](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/wx3i09/32/14944_2.png) [@wx3i09](https://community.tempest.earth/u/wx3i09)\
**Post date:** [February 14, 2025, 10:35pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/2 "2025-02-14T22:35:55Z")

</div>

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 🙂 .

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [February 15, 2025, 7:35am UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/3 "2025-02-15T07:35:59Z")

</div>

@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

---

<div class="post-metadata">

**Author:** ![steveandkelley](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@steveandkelley](https://community.tempest.earth/u/steveandkelley)\
**Post date:** [February 15, 2025, 1:31pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/4 "2025-02-15T13:31:40Z")

</div>

Thanks everyone. Changing the CheckWX API key to 0 fixed it.

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [February 15, 2025, 4:14pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/5 "2025-02-15T16:14:06Z")

</div>

This should now be fixed permanently in the latest version: [v25.2.1](https://community.tempest.earth/t/announcements-updates/1933/2876)

---

<div class="post-metadata">

**Author:** ![wx3i09](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/wx3i09/32/14944_2.png) [@wx3i09](https://community.tempest.earth/u/wx3i09)\
**Post date:** [February 15, 2025, 6:22pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/6 "2025-02-15T18:22:17Z")

</div>

I just gave 25.2.1 a try and it is working now.

---

<div class="post-metadata">

**Author:** ![steveandkelley](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@steveandkelley](https://community.tempest.earth/u/steveandkelley)\
**Post date:** [February 15, 2025, 7:56pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/7 "2025-02-15T19:56:39Z")

</div>

Just updated, changed my CheckWX API back and it’s working nicely.

Thanks for the support!

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [February 15, 2025, 9:21pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/8 "2025-02-15T21:21:12Z")

</div>

Glad to hear it’s working. I’ve moved this issue to a new topic in case others come looking for a fix

---

<div class="post-metadata">

**Author:** ![haviland](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/haviland/32/12628_2.png) [@haviland](https://community.tempest.earth/u/haviland)\
**Post date:** [February 17, 2025, 4:02pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/9 "2025-02-17T16:02:53Z")

</div>

What is the issue, exactly? I ran the update to 25.2.1 and now the app won’t run. I get “ERROR: unable to complete CheckWX API call”. How do I fix it?

---

<div class="post-metadata">

**Author:** ![haviland](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/haviland/32/12628_2.png) [@haviland](https://community.tempest.earth/u/haviland)\
**Post date:** [February 17, 2025, 4:03pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/10 "2025-02-17T16:03:36Z")

</div>

Changed it back to what?

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [February 17, 2025, 7:00pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/11 "2025-02-17T19:00:20Z")

</div>

Please can you send me your CheckWX API key in a private message and I will take a look at what is happening

---

<div class="post-metadata">

**Author:** ![haviland](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/haviland/32/12628_2.png) [@haviland](https://community.tempest.earth/u/haviland)\
**Post date:** [February 17, 2025, 7:24pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/12 "2025-02-17T19:24:26Z")

</div>

I’d be happy to, but don’t know how to get a copy off the Pi. How do I get that?

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [February 17, 2025, 7:26pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/13 "2025-02-17T19:26:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![haviland](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/haviland/32/12628_2.png) [@haviland](https://community.tempest.earth/u/haviland)\
**Post date:** [February 17, 2025, 7:39pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/14 "2025-02-17T19:39:04Z")

</div>

I do not have a keyboard or mouse. What is the username and password for SSH?

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [February 17, 2025, 7:40pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/15 "2025-02-17T19:40:35Z")

</div>

How did you setup the console originally?

---

<div class="post-metadata">

**Author:** ![haviland](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/haviland/32/12628_2.png) [@haviland](https://community.tempest.earth/u/haviland)\
**Post date:** [February 17, 2025, 7:41pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/16 "2025-02-17T19:41:22Z")

</div>

It was done for me by Donald Barnett.

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [February 17, 2025, 7:42pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/17 "2025-02-17T19:42:45Z")

</div>

OK, you will have to get in touch with them to get the username and password. I don’t know what he would have set.

Can you send me images of the error you are seeing instead?

---

<div class="post-metadata">

**Author:** ![glasspaul1](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@glasspaul1](https://community.tempest.earth/u/glasspaul1)\
**Post date:** [February 20, 2025, 5:01pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/18 "2025-02-20T17:01:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [February 20, 2025, 9:23pm UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/19 "2025-02-20T21:23:32Z")

</div>

> [@glasspaul1](#):
>
> I am also having the same ‘unable to complete CheckWX API call’

The CheckWX API key provided by Donald is likely to be invalid. You’ll have to ask him why.

You need to register for a new key here: [Create Your Account | CheckWX Aviation Weather API](https://www.checkwxapi.com/signup), then update the CheckWX API key in your `wfpiconsole.ini` file. You’ll then be back up and running

---

<div class="post-metadata">

**Author:** ![glasspaul1](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@glasspaul1](https://community.tempest.earth/u/glasspaul1)\
**Post date:** [February 21, 2025, 12:02am UTC](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673/20 "2025-02-21T00:02:43Z")

</div>

Thank you , I will take care it soon.

[Next page](https://community.tempest.earth/t/wfpiconsole-crashing-key-error/26673.md?page=2)
