Israel Chauca F. wrote:
Okay, fair enough, so I went and checked out the source from CVS as I
do on
Linux. I replaced Makefile.conf with Makefile.conf.darwin and built it
successfully. However, when I try to run it, the splash window appears and
loads, but then right before the main window should come up, it fails with:
adrian:scid/ $ ./scid
num matched toplevel windows does not equal num children
[1] 36406 abort ./scid
I tried Google'ing around for the source of this error and found a single
thread about it:
http://www.mail-archive.com/scid-users@lists.sourceforge.net/msg04972.htmlHowever,
it doesn't seem like the poster there arrived at a solution.
That's a problem with the new Cocoa based Tk that ships with 10.6 and docked
windows mode. I build the regular Tcl and Carbon based Tk 8.5.9 from source and
use those to build Scid, there is no problem with that.
If the problem in ::tree::resfresh is "wm stackorder" it can be safely
removed.
Can you try if this works?
proc ::tree::refresh { { baseNumber "" }} {
if {$baseNumber == "" } {
sc_tree search -cancel all
for {set i 1 } {$i <= [sc_base count total]} {incr i} {
if { [::tree::dorefresh $i] == "canceled" } { break }
}
} else {
::tree::dorefresh $baseNumber
}
}
Bye,
Fulvio
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users