rijalati / raptor-chess-interface

Automatically exported from code.google.com/p/raptor-chess-interface
0 stars 0 forks source link

Error when observing gamesbot. #458

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
2010-01-19 01:23:29,720 ERROR Raptor:? - Received a none for san in a style 12 
event. This 
should have contained a move.
 2010-01-19 01:23:34,668 ERROR Raptor:? - Received a none for san in a style 12 event. This 
should have contained a move.
 2010-01-19 01:23:40,996 ERROR Raptor:? - Received a none for san in a style 12 event. This 
should have contained a move.
 2010-01-19 01:41:49,911 ERROR IcsConnector:? - ficsConnector Error in 
DaemonRun.onNewInput
 java.lang.RuntimeException: Error occured parsing message: 
<12> ----r-k- ---n-pbp p--p--p- rp-P---- --q-nP-- -RN---B- -PQ-B-PP ----R--K W 
-1 0 0 0 0 0 2 Wexler Bronstein -2 0 0 21 22 0 0 2 N/f6-e4 (0:00.000) Nxe4 0 0 0
    at raptor.connector.ics.IcsConnector.parseMessage(Unknown Source)
    at raptor.connector.ics.IcsConnector.onNewInput(Unknown Source)
    at raptor.connector.ics.IcsConnector.messageLoop(Unknown Source)
    at raptor.connector.ics.IcsConnector$6$1.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.IllegalArgumentException: Invalid move Nxe4
 emptyBB            occupiedBB         notColorToMoveBB   color[WHITE]       color[BLACK]      
 1 1 0 1 1 1 1 0    0 0 1 0 0 0 0 1    1 1 0 1 1 1 1 0    0 0 0 0 0 0 0 0    0 0 1 0 0 0 0 1   
 0 0 1 1 0 1 1 0    1 1 0 0 1 0 0 1    0 1 1 1 0 1 1 0    0 1 0 0 0 0 0 0    1 0 0 0 1 0 0 1   
 1 1 1 1 1 0 1 0    0 0 0 0 0 1 0 1    1 1 1 1 1 1 1 1    0 0 0 0 0 1 0 1    0 0 0 0 0 0 0 0   
 1 1 1 0 0 1 1 1    0 0 0 1 1 0 0 0    1 1 1 1 0 1 1 1    0 0 0 1 0 0 0 0    0 0 0 0 1 0 0 0   
 0 1 0 0 1 1 0 1    1 0 1 1 0 0 1 0    0 1 1 0 1 1 0 1    0 0 1 0 0 0 0 0    1 0 0 1 0 0 1 0   
 0 1 1 1 1 1 0 1    1 0 0 0 0 0 1 0    1 1 1 1 1 1 1 1    1 0 0 0 0 0 1 0    0 0 0 0 0 0 0 0   
 1 1 1 1 1 1 1 0    0 0 0 0 0 0 0 1    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 1    0 0 0 0 0 0 0 0   
 1 1 0 1 0 1 1 0    0 0 1 0 1 0 0 1    1 1 1 1 1 1 1 1    0 0 1 0 1 0 0 1    0 0 0 0 0 0 0 0   

 [WHITE][PAWN]      [WHITE][KNIGHT]    [WHITE][BISHOP]    [WHITE][ROOK]      [WHITE][QUEEN]     
[WHITE][KING]     
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 
0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 1 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 
0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 1    0 0 0 0 0 1 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 
0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 1 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 
0   
 0 0 1 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 
0   
 1 0 0 0 0 0 1 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 
0   
 0 0 0 0 0 0 0 1    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 
0   
 0 0 0 0 0 0 0 0    0 0 0 0 1 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 1 0 0 0 0 0    0 0 0 0 0 0 0 
1   

 [BLACK][PAWN]      [BLACK][KNIGHT]    [BLACK][BISHOP]    [BLACK][ROOK]      [BLACK][QUEEN]     
[BLACK][KING]     
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 1 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 
1   
 0 0 0 0 0 0 0 1    0 0 0 0 0 0 0 0    0 0 0 0 1 0 0 0    1 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 
0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 
0   
 0 0 0 0 1 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 
0   
 0 0 0 0 0 0 0 0    0 0 0 1 0 0 0 0    0 0 0 0 0 0 1 0    0 0 0 0 0 0 0 0    1 0 0 0 0 0 0 0    0 0 0 0 0 0 0 
0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 
0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 
0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 
0   

|*|*|r|*|*|*|*|k|   To Move: Black Last Move: Rxf6
|r|R|*|*|b|*|*|p|   Piece counts [WP=4 WN=1 WB=2 WR=2 WQ=1 WK=1][BP=2 BN= 1 
BB=2 BR=2 
BQ=1 BK=1]
|*|*|*|*|*|R|*|B|   Moves: 1 EP: - Castle: -
|*|*|*|B|p|*|*|*|   FEN: 2r4k/rR2b2p/5R1B/3Bp3/q1Pn2b1/P5P1/7P/2Q1N2K b - - 0 1
|q|*|P|n|*|*|b|*|   State: 3201 Variant=classic Result=*
|P|*|*|*|*|*|P|*|   Event: 0 0 unrated untimed Site=freechess.org 
Date=2010.01.19
|*|*|*|*|*|*|*|P|   WhiteName: Rautenberg BlackName=Schlenker WhiteTime=0 
whiteLag=0 
blackRemainingTImeMillis = 0 blackLag=0
|*|*|Q|*|N|*|*|K|   initialWhiteClock: 00:00:00.0 initialBlackClocks=00:00:00.0

Legals=[Qd1, Qc2, Qb3, Qb4, Qa5, Qb5, Qa6, Qc6, Qd7, Qe8, Nc2, Ne2, Nb3, Nf3,
Nb5, Nf5, Nc6, Ne6, Bd1, Be2, Bf3, Bh3, Bf5, Bh5, Be6, Bd7, Bb4, Bc5, Bd6, Bd8,
Bf8, Ra5, Ra6, Raa8, Rc5, Rc6, Rc7, Rca8, Rb8, Rd8, Re8, Rf8, Rg8, e4, Qxa3,
Qxc4, Bxa3, Bxf6, Rxb7, Rxc4]
Movelist=[Rxf6]
Squares with promote masks: []
    at raptor.chess.ClassicGame.testForSanDisambiguationFromCheck(Unknown Source)
    at raptor.chess.ClassicGame.makeSanMove(Unknown Source)
    at raptor.connector.ics.IcsUtils.addCurrentMove(Unknown Source)
    at raptor.connector.ics.IcsParser.processStyle12Adjustment(Unknown Source)
    at raptor.connector.ics.IcsParser.process(Unknown Source)
    at raptor.connector.ics.IcsParser.parseGameEvents(Unknown Source)
    at raptor.connector.ics.IcsParser.parse(Unknown Source)
    ... 5 more

Original issue reported on code.google.com by jackie...@gmail.com on 20 Jan 2010 at 3:19

GoogleCodeExporter commented 9 years ago
Were you by chance getting this when observing someone setting up a position?

Original comment by carsonday on 24 Jan 2010 at 8:27

GoogleCodeExporter commented 9 years ago
yes, I'm observing the lecturebot on fics.

Original comment by jackie...@gmail.com on 24 Jan 2010 at 2:47

GoogleCodeExporter commented 9 years ago

Original comment by carsonday on 25 Jan 2010 at 6:36

GoogleCodeExporter commented 9 years ago

Original comment by carsonday on 25 Jan 2010 at 6:49

GoogleCodeExporter commented 9 years ago
I thought I had fixed this but its still an issue. I will work on fixing this 
along with the obsing someone in bsetup 
mode issue.

Original comment by carsonday on 25 Jan 2010 at 6:50

GoogleCodeExporter commented 9 years ago

Original comment by carsonday on 14 Feb 2010 at 7:13

GoogleCodeExporter commented 9 years ago

Original comment by carsonday on 14 Feb 2010 at 7:15

GoogleCodeExporter commented 9 years ago
This is happening when it retrieves the move list after lecturebot changes a 
position.

Original comment by carsonday on 26 Feb 2011 at 9:55

GoogleCodeExporter commented 9 years ago
I think it is a different issue Bodia.

Original comment by carsonday on 26 Feb 2011 at 9:55

GoogleCodeExporter commented 9 years ago
There is another issue happening when LectureBot sets up positions by dropping 
pieces. You can see it on his bughouse lectures.

16:58:36,577 ERROR Raptor:40 - Error in ThreadService Runnable.
java.lang.RuntimeException: Error occured parsing message: 
<12> rnbqkb-r ppp--ppp ---ppn-- -------- -p-PP--- --N--N-- PPP--PPP R-BQKB-R W 
-1 1 1 1 1 0 2 A B -2 0 0 39 40 0 0 5 P/@@-b4 (0:00.000) P@b4 0 0 0
<b1> game 2 white [] black []
fics% 
    at raptor.connector.ics.IcsConnector$12.run(IcsConnector.java:1999)
    at raptor.service.ThreadService$RunnableExceptionDecorator.run(ThreadService.java:48)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.IllegalArgumentException: Invalid short algebraic: P@b4
    at raptor.chess.ClassicGame.makeSanMove(ClassicGame.java:817)
    at raptor.connector.ics.IcsUtils.addCurrentMove(IcsUtils.java:123)
    at raptor.connector.ics.IcsParser.processStyle12Adjustment(IcsParser.java:1206)
    at raptor.connector.ics.IcsParser.process(IcsParser.java:845)
    at raptor.connector.ics.IcsParser.parseGameEvents(IcsParser.java:521)
    at raptor.connector.ics.IcsParser.parse(IcsParser.java:216)
    at raptor.connector.ics.IcsConnector$12.run(IcsConnector.java:1997)
    ... 9 more

Original comment by carsonday on 26 Feb 2011 at 10:09

GoogleCodeExporter commented 9 years ago
There is an issue when you obs someone and they change the position. Lecture 
bot has this too. I am planning on fixing it, but it might take a week or two.

Original comment by carsonday on 2 Mar 2011 at 12:11

GoogleCodeExporter commented 9 years ago
Fixed in r2082  

Original comment by carsonday on 2 Mar 2011 at 2:41

GoogleCodeExporter commented 9 years ago

Original comment by carsonday on 2 Mar 2011 at 2:42