Re: code crash after 25-30 min only!

2013-04-20 Thread Tristan Van Berkom
On Tue, Apr 16, 2013 at 8:58 PM, Eric Wajnberg eric.wajnb...@sophia.inra.fr wrote: Hi there, I just remain unable to debug this code. Actually, it runs very well but crashes after 30-35 minutes only. This is a stopwatch-type app. However, I actually need to refresh things on a continuous

Updating GUI during long operation

2013-04-20 Thread Kip Warner
Hey list, I have a separate thread from the main loop that performs some long and resource intensive operation. The GUI displays an animated GIF while this process takes place via Gdk.PixbufAnimation. Sometimes the animation and the rest of the GUI is very slow to repaint and respond to other

Re: Updating GUI during long operation

2013-04-20 Thread Colomban Wendling
Hi, Le 20/04/2013 18:10, Kip Warner a écrit : Hey list, I have a separate thread from the main loop that performs some long and resource intensive operation. The GUI displays an animated GIF while this process takes place via Gdk.PixbufAnimation. Sometimes the animation and the rest of

Re: Updating GUI during long operation

2013-04-20 Thread Chris Vine
On Sat, 20 Apr 2013 09:10:11 -0700 Kip Warner k...@thevertigo.com wrote: Hey list, I have a separate thread from the main loop that performs some long and resource intensive operation. The GUI displays an animated GIF while this process takes place via Gdk.PixbufAnimation. Sometimes the

Re: Updating GUI during long operation

2013-04-20 Thread Kip Warner
On Sat, 2013-04-20 at 23:35 +0100, Chris Vine wrote: If you have a main loop running, this is completely unnecessary, unless you are doing something to block the loop, which you shouldn't do. Hey Chris. Although your response was not particularly constructive, I'll give you the benefit of the