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

Richard Gordon maccgi@bellsouth.net
Fri, 1 Oct 1999 13:09:48 -0400


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)