On 8/25/24 17:03, Steve Cohen wrote:
Removing the blank variation seems to make the problem go away for me too.
I think it's safe to say the blank variation was the proximate cause of
error 4792. But the root cause is probably in the parser code.
I'd still like to know what glitch put this blank variation in the file
The likely sequence was:
* somebody put a variation with actual moves in the game;
* somebody (probably the same person) removed the moves;
* Scid code did not remove the parent variation having zero child moves;
* Scid code left the parentheses representing the empty pgn variation.
and why scrolling over a move many lines away causes the error to occur.
Puzzling indeed. That's why it would be hasty to conclude that Scid
versions 4.5.2 and 5.0.2 don't have the same issue, even though I could
not reproduce in them. It could very well be they **do** have the same
issue, but it manifests in some other random location in the move tree.
You have a lot of nested variations (annotations) in this game, perhaps
that's a necessary ingredient for this to happen, and why nobody
reported it before. Also it may only happen in pgn format.
What does code 4702 even mean?
No doubt you intended "4792". It could mean anything.
Here's a truly wild guess: Those are decimal ascii characters "/\" and
that's some internal representation of "()", pushed on the stack when
the empty variation was parsed, and later popped at some random move in
the tree.
--
Alan
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users