Closed HarryBroeken closed 9 months ago
The patch I gave above is not correct. It should be
--- /usr/share/scid/tcl/tools/opening.old.tcl 2023-09-06 19:37:03.657183737 +0200 +++ /usr/share/scid/tcl/tools/opening.tcl 2023-09-15 21:49:44.157495479 +0200 @@ -549,7 +549,7 @@ append tmp $m " " set nlist [lindex $cm [expr $x+1] ] if {$nlist == 0} { continue }
I had some issues with the Opening-trainer. I'am using scid-4.7.0-r1 in Linux-gentoo
I was able to resolve the issues by applying the following patch
--- opening.old.tcl 2023-09-06 19:37:03.657183737 +0200 +++ opening.tcl 2023-09-06 19:38:55.541989107 +0200 @@ -549,7 +549,7 @@ append tmp $m " " set nlist [lindex $cm [expr $x+1] ] if {$nlist == 0} { continue }
if {info exists $displayCMValue} { foreach n $nlist { append tmp $n " " }
The issues I experienced have probably something to do with; that in the Openings-trainer I use backward going through the game to see if there are alternatives for the move I played when training.
The patch seems to resolve this; looking at the tcl-code "info exists" is probably what was meant; could be a change in tcl.
I hope this info is usefull.