[wxPython-users] Better exception handling
Gre7g Luterman
hafeliel at yahoo.com
Thu Jun 28 10:11:02 PDT 2007
--- Jorgen Bodde <jorgen.maillist at gmail.com> wrote:
> Thank you for your example, but nothing seems to
> happen.
>
> When I run this in a console I get:
>
> jorg at shale:~/personal/src/GuitarPortfolio/tmp$
> python fire.pyw
> Traceback (most recent call last):
> File "fire.pyw", line 15, in OnErr
> 1/0
> ZeroDivisionError: integer division or modulo by
> zero
> Traceback (most recent call last):
> File "fire.pyw", line 15, in OnErr
> 1/0
>
> When I run this in a shorcut named fire.pyw I see
> the app, I click the
> button and nothing happens. The exception gets
> absorbed.
>
> I'm using wxPython 2.8.4 on wxGTK (Ubuntu Feisty)
I'll have to defer to the GTK users. It works fine
under Windows XP.
Gre7g
____________________________________________________________________________________Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/
More information about the wxpython-users
mailing list