Hi Randy, thank you for your tips.
I was able to have the chessnut go board connect several times, but far from stable or reproducible. I then followed your advice and reflashed the sd card. Verification of the written files was ok.
When starting the pi, it ran into some errors related to the filesystem, it also did that with my previous attempts. I restarted, and eventually it went into the desktop ui.
This time however, picochess did not start with the message 127.0.0.1 refused to connect.
Here is the output of "systemctl status picochess":
pi@picochess:~ $ systemctl status picochess
× picochess.service - PicoChess Chess Program
Loaded: loaded (/etc/systemd/system/picochess.service; enabled; preset: en>
Active: failed (Result: exit-code) since Mon 2026-01-05 03:41:25 CST; 1min>
Duration: 9.269s
Invocation: 0ffaced4a19f419a854d3f71e2f82a90
Process: 1026 ExecStart=/home/pi/.pyenv/versions/picochess-3.9.2/bin/python>
Main PID: 1026 (code=exited, status=1/FAILURE)
CPU: 3.697s
Jan 05 03:41:24 picochess python3[1026]: File "/home/pi/.pyenv/versions/picoc>
Jan 05 03:41:24 picochess python3[1026]: config_items = self._config_file_p>
Jan 05 03:41:24 picochess python3[1026]: File "/home/pi/.pyenv/versions/picoc>
Jan 05 03:41:24 picochess python3[1026]: for i, line in enumerate(stream):
Jan 05 03:41:24 picochess python3[1026]: File "/home/pi/.pyenv/versions/3.9.2>
Jan 05 03:41:24 picochess python3[1026]: (result, consumed) = self._buffer_>
Jan 05 03:41:24 picochess python3[1026]: UnicodeDecodeError: 'utf-8' codec can'>
Jan 05 03:41:25 picochess systemd[1]: picochess.service: Main process exited, c>
Jan 05 03:41:25 picochess systemd[1]: picochess.service: Failed with result 'ex>
Jan 05 03:41:25 picochess systemd[1]: picochess.service: Consumed 3.697s CPU ti>
lines 1-19/19 (END)...skipping...
× picochess.service - PicoChess Chess Program
Loaded: loaded (/etc/systemd/system/picochess.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Mon 2026-01-05 03:41:25 CST; 1min 15s ago
Duration: 9.269s
Invocation: 0ffaced4a19f419a854d3f71e2f82a90
Process: 1026 ExecStart=/home/pi/.pyenv/versions/picochess-3.9.2/bin/python3 /opt/picochess/picochess.py (code=exited, status=1/FAILURE)
Main PID: 1026 (code=exited, status=1/FAILURE)
CPU: 3.697s
Jan 05 03:41:24 picochess python3[1026]: File "/home/pi/.pyenv/versions/picochess-3.9.2/lib/python3.9/site-packages/configargparse.py", line 589, in parse_known_args
Jan 05 03:41:24 picochess python3[1026]: config_items = self._config_file_parser.parse(stream)
Jan 05 03:41:24 picochess python3[1026]: File "/home/pi/.pyenv/versions/picochess-3.9.2/lib/python3.9/site-packages/configargparse.py", line 163, in parse
Jan 05 03:41:24 picochess python3[1026]: for i, line in enumerate(stream):
Jan 05 03:41:24 picochess python3[1026]: File "/home/pi/.pyenv/versions/3.9.2/lib/python3.9/codecs.py", line 322, in decode
Jan 05 03:41:24 picochess python3[1026]: (result, consumed) = self._buffer_decode(data, self.errors, final)
Jan 05 03:41:24 picochess python3[1026]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb4 in position 2: invalid start byte
Jan 05 03:41:25 picochess systemd[1]: picochess.service: Main process exited, code=exited, status=1/FAILURE
Jan 05 03:41:25 picochess systemd[1]: picochess.service: Failed with result 'exit-code'.
Jan 05 03:41:25 picochess systemd[1]: picochess.service: Consumed 3.697s CPU time.
Any idea why that is, how to correct that?
I am pretty much fed up with reflashing. :)