Menu

#351 Error opening PNG with O-O#

1.6.0
closed
nobody
None
5
2024-08-05
2024-08-02
Thomas R
No

I created a game in ChessX, saved it as PGN, and found that the game gets truncated at move 14 when I open that file again. Moves 15-18 get lost.

After some debugging, I found that the issue is caused by the variation in line 28

( 14... Kxf4 15. g3+ Kf3 16. O-O# )

When I manually change this to

( 14... Kxf4 15. g3+ Kf3 16. O-O )

the PGN can be opened. (But ChessX correctly adds the # again when saving)

I thus suspect that the PGN parser does not correctly process the O-O# part in the variation

2 Attachments

Discussion

  • Jens Nissen

    Jens Nissen - 2024-08-05
    • status: open --> closed
     
  • Jens Nissen

    Jens Nissen - 2024-08-05

    I hope I did not break anything else now

     

Log in to post a comment.