[Pythonmac-SIG] "A GUI Test Session" from Learning Python Crashes

Brian J. Stankiewicz bstankie@eye.psych.umn.edu
Fri, 1 Oct 1999 16:00:21 -0500


Hi Richard and MP-SIG,

Okay, I have done some more testing ont he problem and here are some more
symptoms that I am finding.  If I run one of the Demos
(Demo:tkinter:Matt:Canvas-demo-sipmple.py) from the IDE I get the tk window
displayed, but when I hit the "quit" button the Python completely freezes.
However, if I run the same program by simply double-clicking on the .py
file and running it in the Python interpretor only, it runs just fine and
will quit gracefully.

Are Richard and I the only ones suffering with this?  Is this a problem
with the IDE?

-Brian

At 1:09 PM -0400 10/1/99, Richard Gordon wrote:
>At 22:51 -0500 09/30/1999, Brian J. Stankiewicz wrote:
>>Is there a reason why running the code on pg. 23 of Learning Python crashes
>>Python?  I am able to get the dialog box up just fine, but when I hit the
>>button titled "Hello", the program completely freezes and I have to "Kill"
>>(Option-Apple-esc) out of Python.
>>
>>It won't even let me copy out of the command window.  I am going to retype
>>the trace-back for everyone's pleasure:
>
>I get pretty much the same results including the freeze, but I do see
>a Hello button. I don't know what the story is here, but noticed that
>before running this, the author launches python with a startup script
>called runpy, so that may have something to do with it. I haven't
>experimented, but you might study the preceding pages to see what
>runpy is all about.
>
>
>Richard Gordon
>--------------------
>Gordon Consulting & Design
>Database Design/Scripting Languages
>mailto:richard@richardgordon.net
>http://www.richardgordon.net
>770.971.6887 (voice)
>770.216.1829 (fax)

____________________________________________________________
Brian J.Stankiewicz, Ph.D.      |bstankie@eye.psych.umn.edu
75 East River Rd.               |
Department of Psychology        |
University of Minnesota         |(Off)612-624-7353
Minneapolis, Minnesota 55455    |(Fax)612-626-2079
________________________________|___________________________
	http://vision.psych.umn.edu/www/people/brian
____________________________________________________________