On Thu, Aug 28, 2003 at 08:52:21PM +0100, Gustavo J A M Carneiro wrote:
> A Qui, 2003-08-28 �s 17:21, Gustavo J A M Carneiro escreveu:
> >   I thought this might be useful to someone else.  I made this
> > sys.excepthook function that displays a nice dialog for uncaught
> > exceptions.
> >   To use, just import the module, that's all.  The license is whatever
> > you want.
> 
>   Here's a new improved version of this. Modified this code a bit based 
> on Jamey Cribbs' suggestions:
>       1. present the details in the same window, but keep them hidden until
> the "Show Details" button is pressed;
>       2. center the dialog on screen.

Added: FAQ 20.10. When an exception is raised, it is printed out to
standard error!  (or how do I get exceptions to be printed to X or
displayed in a window?) 

    http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq20.010.htp

I also added a trick we use to collect bugs automatically from client
installations as an alternative.

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to