Hi,

I saw the previous posts to this mailing list about this in the web-archive.

I downloaded Scid today (previously I have used Scid vs PC.) and got the
same problem as Bennett when opening the analysis engine window:
X  Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  10 (X_UnmapWindow)
  Resource id in failed request:  0x1e0030a
  Serial number of failed request:  17840
  Current serial number in output stream:  17892

Interestingly enough I only got it when opening for Engine 1, not for
Engine 2?

I do not know TCL but digged around a little bit in the code and found this
in proc makeAnalysisWin around line 26490 in my version of bin/scid:

    set w ".analysisWin$n"
    if {[winfo exists $w]} {
        focus .
        destroy $w
        return
    }

When I commented out this whole if statement everything worked with no
crashes. It is "destroy $w" that crashes Scid but if I only comment that
line and leave the rest the window doesn't show up, but Scid continues to
run.

So for some reason winfo says that a windows with this name already exists
but when destroying it the window doesn't exists? I have never programmed
TCL/TK so not sure how much more I can help but if someone have any
pointers I can try things out.

Now what happens is that I get an popup with an error if I try to open an
analysis window when there already exists one or trying to toggle it using
for example F2, but at least it doesn't crash.

Best regards,
Ulf Eliasson
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to