[Pythonmac-SIG] wxPython -- some disappointment using it.
Kevin Ollivier
kevino at theolliviers.com
Wed Apr 12 02:44:21 CEST 2006
Hi Louis,
On Apr 11, 2006, at 2:43 PM, Louis Pecora wrote:
> I bought the wxPython in Action book and started trying the simple
> examples in Chap. 1. One thing I have run into is rather
> disappointing. Many errors (e.g. I typed return true, instead of
> return
> True) do not give the beloved Python tracback. That's one of the nice
> things that made me choose Python. Somehow once the app is
> launched if
> there is a bug it just quits without any information. I am now
> struggling to find out why example 3 (hello.py) won't work. I've been
> over it dozens of times checking indentation, spelling, etc. But the
> app never gets into OnInit (determined by the old fashion way of
> putting
> print's into the program at strategic stages). A window flashes open
> and then disappears. Process exited in the terminal.
Have you checked if there's anything in /Applications/Utilities/
Console.app? If you run scripts by double-clicking them in the
Finder, that's where the output should be going.
Regards,
Kevin
> How are others using wxPython? Do you find you need to run in a
> debugger? Does that help? What do you recommend?
>
> Thanks for any suggestions.
>
> --
> Cheers,
>
> Lou Pecora
>
> Code 6362
> Naval Research Lab
> Washington, DC 20375
> USA
> Ph: +202-767-6002
> email: pecora at anvil.nrl.navy.mil
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
More information about the Pythonmac-SIG
mailing list