Welcome to Certabo forum

Both posts in italian and in english are accepted on the forum to help everybody to provide contribution irrespective to geographical location. Object of the forum is to provide technical information on various items and help developer and users to personalise software for Certabo chessboards. User explicitly accepts the conditions of use of this forum here reported.

A brief introduction of user is always appreciated in section Welcome to….

Benvenuti nel forum di Certabo

Sul forum possono essere postati articoli sia in lingua italiana che inglese per permettere a tutti di dare il proprio contributo da diversi luoghi geografici. Il forum ha come scopo fornire informazioni tecniche in generale e aiutare gli sviluppatori ed utenti a personalizzare software per le scacchiere Certabo. L’utente accetta esplicitamente le condizioni del presente forum consultabili qui.

Un breve saluto del nuovo utente è sempre gradito nella sezione Benvenuti a….

Please or Register to create posts and topics.

Lichess Issue: Invalid FEN

I am running Certabo_Avatar_4.5_64bit and am seeing an invalid FEN error when starting games. Has anyone encountered this issue and/or have a fix?

 

2022-04-23 12:14:10,701:lichess:setup_new_gameid() found gameId: mXnaQw6b
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 932, in _bootstrap_inner
File "threading.py", line 870, in run
File "lichess\lichess.py", line 201, in main
File "lichess\lichess.py", line 159, in setup_new_gameid
File "chess\__init__.py", line 2530, in set_board_fen
File "chess\__init__.py", line 1015, in set_board_fen
File "chess\__init__.py", line 958, in _set_board_fen
ValueError: expected position part of fen, got multiple parts: 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1'
{'type': 'chatLine', 'room': 'player', 'username': 'lichess', 'text': 'Warning, one_dee_four. Failing to start games will result in a temporary ban.'}
{'type': 'gameState', 'moves': '', 'wtime': datetime.datetime(1970, 1, 1, 0, 15, tzinfo=datetime.timezone.utc), 'btime': datetime.datetime(1970, 1, 1, 0, 15, tzinfo=datetime.timezone.utc), 'winc': datetime.datetime(1970, 1, 1, 0, 0, 10, tzinfo=datetime.timezone.utc), 'binc': datetime.datetime(1970, 1, 1, 0, 0, 10, tzinfo=datetime.timezone.utc), 'status': 'aborted'}
Exception in thread Thread-3:
Traceback (most recent call last):
File "threading.py", line 932, in _bootstrap_inner
File "lichess\lichess.py", line 60, in run
File "lichess\lichess.py", line 71, in handle_state_change
File "chess\__init__.py", line 3079, in push_uci
File "chess\__init__.py", line 3057, in parse_uci
File "chess\__init__.py", line 570, in from_uci
ValueError: expected uci string to be of length 4 or 5: ''

The board/software seems to run fine while playing versus the PC.

Hi Robert

Yes Lichess did change protocol some weeks ago so had to make small modification to the software you find here

https://www.certabo.com/wp-content/uploads/2022/02/4.5_64bit_fix.zip

Please download unzip in a folder and just run the file main.exe you will see in the directory.

All the best

Pietro

Robert Del Vicario has reacted to this post.
Robert Del Vicario

That worked. Thanks!

Hmm, so I was reinstalling the Certabo software after building a new PC and this... sorta worked for me, in that it fixed the Lichess API FEN issue, but it refused to connect to the board via Bluetooth (it would see the Pi and supposedly try to connect to it but then say "failed to connect" so fast that it seemed like it hadn't really tried) until I overwrote the bluetooth/_msbt.cp38-win_amd64.pyd file with the one from my original 4.5 installation.

Hi Othello thanks for the note and spotting out yes probably during compiling that specific file had a problem and was not working reliably we have now modified and will update the download soon.

Thanks 👍 for you help and all the best

Pietro

 

 

Hi, I have the same issue with Mac OS and nothing seems to be working. Any update to this? I am unable to play with the board currently 🙁