<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I ran it w/o using either IDLE/pyWin, and it worked without any
messages, as shown by the console window. Isn't this the same as using
the console? <br>
<br>
Outside of the two, my guess is that some subtle was made to the code,
accidentally, and one tolerates it and the other doesn't. I'm going to
do a WinMerge compare between the current py and a slightly older one. <br>
<br>
Alan Gauld wrote:
<blockquote cite="mid:gmu5oo$squ$1@ger.gmane.org" type="cite"><br>
"Wayne Watson" <a class="moz-txt-link-rfc2396E" href="mailto:sierra_mtnview@sbcglobal.net">&lt;sierra_mtnview@sbcglobal.net&gt;</a> wrote
  <br>
  <br>
  <blockquote type="cite">Signature.htmlMy program in IDLE bombed with:
    <br>
==============
    <br>
Exception in Tkinter callback
    <br>
Traceback (most recent call last):
    <br>
&nbsp;&nbsp; dialog = OperationalSettingsDialog( self.master, set_loc_dict )
    <br>
&nbsp;&nbsp; tkSimpleDialog.Dialog.__init__(self, parent)
    <br>
&nbsp;&nbsp; self.wait_visibility() # window needs to be visible for the grab
    <br>
  </blockquote>
  <br>
  <blockquote type="cite">But runs fine in pythonWin performing the
same entry operation.
    <br>
  </blockquote>
  <br>
Lets eliminate some variables by avoiding any IDEs.
  <br>
  <br>
Does it work OK when run from a DOS console?
  <br>
Or if you just double click the file in Windows explorer?
  <br>
  <br>
If it does that means its some kind of interaction between the program
  <br>
and IDLE. This is not unusual since IDLE is itself a Tkinter program
  <br>
and although recent versions are much better behaved with Tkinter
  <br>
it can still cause some strangeness.
  <br>
  <br>
If you still get an error running outside the IDE then we can analyze
  <br>
it more closely. For that we will need the code, at least the function
  <br>
that calls the dialog. And if its a subclass the dialog class too.
  <br>
  <br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html;" http-equiv="Content-Type">
<title>Signature.html</title>
<pre class="moz-signature" cols="76">           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
<font color="#330099">            </font>
</pre>
<div style="margin-left: 40px;">
<div style="margin-left: 80px;"><b>The Richard Feynman Problem-Solving
Algorithm:</b><br>
<b>&nbsp; (1) write down the problem;</b><br>
<b>&nbsp; (2) think very hard;</b><br>
<b>&nbsp; (3) write down the answer.</b><b><b
 style="color: rgb(204, 51, 204);" class="b"><span
 style="font-family: monospace;"></span></b></b><br>
</div>
<b><b style="color: rgb(204, 51, 204);" class="b"><span
 style="font-family: monospace;"></span></b></b></div>
<pre class="moz-signature" cols="76"><b><b
 style="color: rgb(204, 51, 204);" class="b"><span
 style="font-family: monospace; color: rgb(153, 51, 153);"></span></b></b><b
 style="color: rgb(204, 51, 204);" class="b"><span
 style="font-family: monospace; color: rgb(153, 51, 153);"></span></b><span
 style="color: rgb(153, 51, 153);"></span><span
 style="color: rgb(153, 51, 153);">
</span><span style="color: rgb(153, 51, 153);"></span><b
 style="color: rgb(204, 51, 204);" class="b"><span
 style="font-family: monospace;"></span></b><span
 style="color: rgb(204, 51, 204);"></span>                    Web Page: &lt;<a class="moz-txt-link-abbreviated" href="http://www.speckledwithstars.net/">www.speckledwithstars.net/</a>&gt;</pre>
</div>
</body>
</html>