[pygtk] Can't run PyGTK more than once from embedded Python

John Ehresman jpe at wingware.com
Tue Jan 10 00:14:22 WST 2006


Romain Behar wrote:
> I've finally found the bug: to run PyGTK scripts
> properly, one has to create only one Python
> interpreter and use it to launch all scripts. My
> application was creating a new interpreter each time
> it ran a new script.

My suggestion is to use a single interpreter.  I suspect the issue is 
that the pygtk extension modules are initialized multiple times and 
causing the problem.

John


More information about the pygtk mailing list