From: mrfusion at bigfoot.com (mrfusion at bigfoot.com)
Date: Tue, 20 Apr 1999 06:19:21 GMT
Subject: Tkinter hangs on mainloop
Message-ID: <371c19bb.60709557@news>
X-UID: 1193                                                  

Hi,
	I've done a complete install of python ver 1.5.2 on my
windows98 system and I've run into a problem with Tkinter (no big
surprise!)  I can import it with the line :  from Tkinter import *
Everything seems to be fine so far.  I add a few more lines:

widget = Lable(None, text = 'Hello')
widget.pack()

Everything  great so far.....

widget.mainloop()

It hangs.  If I wait for a while and then hit Ctr-C I get the
following error:

Traceback (innermost last):
	File "<stdin>", line 1, in ?
	File "k:\python\lib\lib-tk\Tkinter.py", line 492, in mainloop
	  self.tk.mainloop(n)
KeyboardInterrupt


This happens whenever I try to run a program that uses Tkinter.
For some reason I can get the tkFileDialog.py and the
tkColorChooser.py  to run alright but nothing else......very weird.

Can anyone offer insight to this baffling problem??

Thank you so much,

Tom







