Error encoding game.
while executing
"sc_game save $gnum"
(procedure "gsave" line 35)
invoked from within
"gsave $gsaveNum"
invoked from within
".save.buttons.save invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke]"
(procedure "tk::ButtonUp" line 22)
invoked from within
"tk::ButtonUp .save.buttons.save"
(command bound to event)
I'm getting this error for the first time. The si4-file is huge since it is a repertoire database. I was slowly building it up and now I'm getting this error, can it be due to the size?
I can still save the game as pgn.
the size of the si4 + sn4 + sg4 files before the last change (which is minescule compared to the overall file) is 40MB(!). I went for compact, and it was reduced to 100kB. I subsequently added the new couple lines again (that I had stored in a pgn file), and I get the same error when trying to save. For comparison, the size of the pgn is 195kB.
Pls attach the pgn
I'm sorry, I don't know about that because it is heavily based on the 1.e4 course by Anish Giri on chessable, so the comments would be considered copyrighted material. I can send it to you via email
Since I can't send you any more messages within this hour: I was making changes to the 9...Re8 10.Nbd2 Be6 line when the problem started to occur
Sorry, but the game is probably too long. I'm not authorative about this - so perhaps i'm comparing a byte buffer with a text buffer, but it seems
If i remove the spaces from the pgn you sent me, i get 167025 chars
Changing this is not trivial... see index.h MAX_GAME_LENGTH (131072), and HomePawnData [HPSIG_SIZE]
Last edit: Steven 2022-01-20
Yeah, I just noticed I can't open the pgn anymore now either ...
You've probably just overrun the size recently. (i'm pretty sure my comparison of 131072 and 167025 above isn't valid).
Thats some serious analysis in a game. It makes me think about some sort of "import pgn to mask" feature... (EDIT - We have one). Do you use tree masks at all ? They have the advantage of being able to overlap any game, and being of unlimited size (afaik!).
Last edit: Steven 2022-01-21
I am not sure I understand.. Do you mean using an opening tree rather than a single game file to save a repertoire?
I didn't know how you can build your own opening book, but that would be a neater solution, of course!
I will try and familiarize myself.
Is there a possibility to convert the existing analysis to an opening tree (.bin, I believe)?
Your game isn't too much over the limit
GetByteCount 136482, MAX_GAME_LENGTH 131072 GF_BLOCKSIZE 131072
Masks are a feature of the tree window which replaced opening repertoires.
I'll have a look at how your pgn is imported into a mask and see if i can make some improvements.
Yes, it is possible to build books from pgn, but not with scidvspc... see our book doco.
EDIT - I've added some debugging info to the error dialog to help.
Unfortunately, it's not trivial to truncate a game
Last edit: Steven 2022-01-21