Raspberry pi 5 installation fails

Hi,

Installed fails on 64bit: Linux raspberrypi 6.1.0-rpi4-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.54-1+rpt2 (2023-10-05) aarch64 GNU/Linux.

I hope I can still get support to make this work?

pi@raspberrypi:~ $ wfpiconsole start
[INFO   ] [Logger      ] Record log in /home/pi/.kivy/logs/kivy_23-11-14_2.txt
[INFO   ] [Kivy        ] v2.2.0
[INFO   ] [Kivy        ] Installed at "/home/pi/wfpiconsole/venv/lib/python3.11/site-packages/kivy/__init__.py"
[INFO   ] [Python      ] v3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]
[INFO   ] [Python      ] Interpreter at "/home/pi/wfpiconsole/venv/bin/python3"
[INFO   ] [Logger      ] Purge log fired. Processing...
[INFO   ] [Logger      ] Purge finished!

  ===================================================
  Starting wfpiconsole configuration wizard
  ===================================================

  Welcome to the WeatherFlow PiConsole. You will now
  be guided through the initial configuration

  Required fields are marked with an asterix (*)

  Would you like to install a minimal configuration file
  for demonstration purposes or advanced setup?* [y/n] (n) n

  Please select your preferred connection type
    1) Websocket and REST API [default]
    2) UDP and REST API
    3) UDP only
    > 1

  Websocket and REST API selected

  API keys
  ---------------------------------
  Please enter your WeatherFlow Access Token*: token (deleted)
  Please enter your CheckWX API Key*: token (deleted)
Traceback (most recent call last):
  File "/home/pi/wfpiconsole/venv/lib/python3.11/site-packages/requests/models.py", line 971, in json
    return complexjson.loads(self.text, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/wfpiconsole/main.py", line 42, in <module>
    configFile.create()
  File "/home/pi/wfpiconsole/lib/config.py", line 198, in create
    write_config_key(config, section, key, default_config[section][key])
  File "/home/pi/wfpiconsole/lib/config.py", line 707, in write_config_key
    validate_API_keys(config)
  File "/home/pi/wfpiconsole/lib/config.py", line 732, in validate_API_keys
    CHECKWX = requests.get(URL, headers=header).json()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pi/wfpiconsole/venv/lib/python3.11/site-packages/requests/models.py", line 975, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Any help?

Note - no support for pi5 at this time

Note - no official support available for a number of months

That said, run “dpkg --print-architecture” to show if it shows ‘arm64’. The kernels they use show aarch64 even on 32bit os. The 32bit will report ‘armhf’ on a pi4. If you’re really running 64bit, try 32bit. You can’t break anything. It already doesn’t work.

Will try 32bit soon, thanks :slight_smile:

On 32bit everything works! :smiley:

1 Like