Pablo Endres wrote:
John Finlay wrote:
You need to run gtk.threads_init() in the same thread that you run
gtk.mainloop().
Thanks I set it just before the gtk.mainloop(),
but now I get this error:
C:\tmp\ssemamonWin32python gui.py
Exception in thread Thread-1:
Traceback (most recent
On Fri, 31 Jan 2003, James Henstridge wrote:
Pablo Endres wrote:
John Finlay wrote:
You need to run gtk.threads_init() in the same thread that you run
gtk.mainloop().
Note that the reason threading is not enabled by default when you run
configure is that it is not yet
John Finlay wrote:
You need to run gtk.threads_init() in the same thread that you run
gtk.mainloop().
Thanks I set it just before the gtk.mainloop(),
but now I get this error:
C:\tmp\ssemamonWin32python gui.py
Exception in thread Thread-1:
Traceback (most recent call last):
At 08:41 AM 1/30/2003 -0400, Pablo Endres wrote:
C:\tmp\ssemamonWin32python gui.py
Exception in thread Thread-1:
Traceback (most recent call last):
File C:\Python22\lib\threading.py, line 408, in __bootstrap
self.run()
File gui.py, line 203, in run
gtk.threads_init()
RuntimeError:
Ok I've narrowed down what happens just before it freezes
Heres whats being done:
## Start a thread to run the gtk.mainloop()
self.rm = RunMain()
print Going to start##test
self.rm.start()
print Started
And RunMain is this class:
import threading
class
Hi Pablo,
You need to run gtk.threads_init() in the same thread that you run
gtk.mainloop().
John
Pablo Endres wrote:
Ok I've narrowed down what happens just before it freezes
Heres whats being done:
## Start a thread to run the gtk.mainloop()
self.rm = RunMain()
print Going