Title: Signature.html
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?

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.

Alan Gauld wrote:

"Wayne Watson" <sierra_mtnv...@sbcglobal.net> wrote

Signature.htmlMy program in IDLE bombed with:
==============
Exception in Tkinter callback
Traceback (most recent call last):
   dialog = OperationalSettingsDialog( self.master, set_loc_dict )
   tkSimpleDialog.Dialog.__init__(self, parent)
   self.wait_visibility() # window needs to be visible for the grab

But runs fine in pythonWin performing the same entry operation.

Lets eliminate some variables by avoiding any IDEs.

Does it work OK when run from a DOS console?
Or if you just double click the file in Windows explorer?

If it does that means its some kind of interaction between the program
and IDLE. This is not unusual since IDLE is itself a Tkinter program
and although recent versions are much better behaved with Tkinter
it can still cause some strangeness.

If you still get an error running outside the IDE then we can analyze
it more closely. For that we will need the code, at least the function
that calls the dialog. And if its a subclass the dialog class too.


--
           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
            
The Richard Feynman Problem-Solving Algorithm:
  (1) write down the problem;
  (2) think very hard;
  (3) write down the answer.

                    Web Page: <www.speckledwithstars.net/>
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to