Closed GoogleCodeExporter closed 9 years ago
Yeah, I've seen those in programs like gazpacho, and they seam to work nice.
Problem is though, that PyChess uses so many threads, that providing a general
catch
all would be hard.
Perhaps if the ThreadPool was more generally used (what is isn't due to the nice
start/run/join syntax on real Thread's) it could be used to catch those.
Perhaps one could make a SuperClass based on ThreadPool, but applied with the
Thread
API, which we could inherit from.
Original comment by lobais
on 2 Oct 2007 at 8:03
Thomas, will be giving to put the gtkexcepthook with threads within the pychess?
http://github.com/sgala/gajim/tree/master/src/gtkexcepthook.py
http://svn.gnome.org/viewvc/gnome-python/trunk/examples/bug-buddy-integration.py
?revision=520&view=markup
http://svn.gnome.org/viewvc/deskbar-applet/trunk/deskbar/gtkexcepthook.py?revisi
on=2059&view=markup
Original comment by leogregianin@gmail.com
on 8 Nov 2008 at 12:38
I see they all use sys.excepthook, so they would probably not be too hard to
install
in PyChess. We would need to add attaching of logfiles though, but it shouldn't
be
too much of a problem either.
If anybody wants to try and put one of these into trunk, I think they would be
nice
to have before the beta.
Original comment by lobais
on 14 Nov 2008 at 10:23
r1271 starting gtkexcepthook.
I think to create a more beautiful window for that.
In attach some logfiles generated by bug-buddy.
Original comment by leogregianin@gmail.com
on 18 Nov 2008 at 11:09
Attachments:
Original comment by leogregianin@gmail.com
on 6 Jan 2009 at 3:56
Original issue reported on code.google.com by
leogregianin@gmail.com
on 2 Oct 2007 at 6:25