benini / scid

Other
44 stars 14 forks source link

opening-trainer #149

Closed HarryBroeken closed 9 months ago

HarryBroeken commented 1 year ago

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 }

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.

greetings<< Harry

HarryBroeken commented 1 year 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 }