Comments (4)
Please specify more detailed steps to reproduce the issue such as variant config if any, CLI/GUI commands/input, expected vs actual output.
from fairy-stockfish.
It happened on pychess when he created a custom setup S-chess game with above FEN.
On server side I can see the error message from https://github.com/fairy-stockfish/Fairy-Stockfish/blob/master/src/apiutil.h#L743
I reproduced it in local install:
+0200 2024-04-22 01:05:14.198 [DEBUG] websocket_utils:70 Websocket (139974902806128) message: WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"create_seek","user":"Anon–IBsimzx6","target":"","variant":"seirawan","fen":"rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/QBBNNRKR[HEhe] w BCDFGbcdfg - 0 1","minutes":90,"increment":90,"byoyomiPeriod":0,"day":0,"rated":false,"chess960":false,"color":"w"}', extra='')
+0200 2024-04-22 01:05:14.198 [DEBUG] wsl:124 create_seek {'type': 'create_seek', 'user': 'Anon–IBsimzx6', 'target': '', 'variant': 'seirawan', 'fen': 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/QBBNNRKR[HEhe] w BCDFGbcdfg - 0 1', 'minutes': 90, 'increment': 90, 'byoyomiPeriod': 0, 'day': 0, 'rated': False, 'chess960': False, 'color': 'w'}
create_seek None Anon–IBsimzx6: **seirawan** 90+90
+0200 2024-04-22 01:05:14.230 [INFO] aiohttp.access:211 127.0.0.1 [22/Apr/2024:00:05:14 +0100] "GET /static/images/board/8x8brown.svg HTTP/1.1" 200 0 "http://127.0.0.1:8080/static/board.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
+0200 2024-04-22 01:05:14.231 [DEBUG] aiohttp.server:418 Ignored premature client disconnection 2
+0200 2024-04-22 01:05:14.231 [DEBUG] aiohttp.server:418 Ignored premature client disconnection.
+0200 2024-04-22 01:05:25.120 [INFO] index:88 +++ Existing user berado88 connected.
+0200 2024-04-22 01:05:25.154 [INFO] aiohttp.access:211 127.0.0.1 [22/Apr/2024:00:05:25 +0100] "GET / HTTP/1.1" 200 8619 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"
+0200 2024-04-22 01:05:25.270 [INFO] aiohttp.access:211 127.0.0.1 [22/Apr/2024:00:05:25 +0100] "GET /static/pychess-variants.js HTTP/1.1" 304 265 "http://127.0.0.1:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"
+0200 2024-04-22 01:05:25.693 [INFO] websocket_utils:49 --- NEW /wsl WEBSOCKET by berado88 from 127.0.0.1
+0200 2024-04-22 01:05:25.849 [INFO] aiohttp.access:211 127.0.0.1 [22/Apr/2024:00:05:25 +0100] "GET /notifications?p=0 HTTP/1.1" 200 244 "http://127.0.0.1:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"
+0200 2024-04-22 01:05:25.861 [INFO] aiohttp.access:211 127.0.0.1 [22/Apr/2024:00:05:25 +0100] "GET /static/images/pexels-renato-conti-2677849.jpg HTTP/1.1" 304 264 "http://127.0.0.1:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"
+0200 2024-04-22 01:05:27.911 [DEBUG] websocket_utils:70 Websocket (139974902962928) message: WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"accept_seek","seekID":1,"player":"berado88"}', extra='')
+0200 2024-04-22 01:05:27.911 [INFO] utils:349 +++ Seek 1 joined by berado88 FEN:rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/QBBNNRKR[HEhe] w BCDFGbcdfg - 0 1 960:False
The WHITE KING has moved. Castling is no longer valid for WHITE.
+0200 2024-04-22 01:05:27.911 [DEBUG] utils:392 Failed to create game. Invalid FEN rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/QBBNNRKR[HEhe] w BCDFGbcdfg - 0 1
accept_seek None Anon–IBsimzx6: **seirawan** 90+90 accepted by berado88
from fairy-stockfish.
Thanks for the context. Technically looks correct to me though, since in a non-960 game there can't be an unmoved king on a different file than the e-file. If this also happens in 960, then I guess it would be a bug.
from fairy-stockfish.
I think I checked in 960 in the new game dialog. Or not.I have to double check this ....
Yes. It produces the same with 960 checked.
from fairy-stockfish.
Related Issues (20)
- Build wheels fails
- promotion region depending on piece type HOT 1
- Support CheckShogi HOT 4
- Adjudicate attax games when board is full HOT 1
- Support Cylinder Chess HOT 3
- -fexperimental-new-pass-manager is no longer valid for clang 16 HOT 1
- Invalid position for pseudo-royal extinction piece HOT 1
- Migrating musketeer-stockfish to release 14 HOT 1
- Organize Rule Definition Options in variants.ini
- Organize Variant Definitions in variants.ini
- Promotion only to pieces that have been captured HOT 1
- Option to control verbosity
- Option to control search strategy
- Options for different rules between white and black
- Update readme.md HOT 1
- Dynamic promotion - Lielow
- castling rules ignored in capablanca960 HOT 2
- Support Pond
- Representing a chess pawn in Betza notation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fairy-stockfish.