|
Re: Exception dialog: msg#00207gnome.gtk+.python
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 pygtk@xxxxxxxxxx http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Two nasty problems of mine: 00207, László Monda |
|---|---|
| Next by Date: | using pygtk to create plots on a server w/ no DISPLAY: 00207, John Hunter |
| Previous by Thread: | Re: Exception dialogi: 00207, Gustavo J A M Carneiro |
| Next by Thread: | Can anyone do a status on OSX + PyGTK?: 00207, Scott Prive |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |