[pygtk] Can't run PyGTK more than once from embedded Python
Romain Behar
romainbehar at yahoo.com
Sat Jan 7 15:57:28 WST 2006
I'm working on a 3D modeler that uses Python as main
scripting engine, and would like to use PyGTK to add
nice dialogs. The application uses GTK+ itself and
calling Python scripts works properly.
When importing PyGTK from scripts, it works only once
and even crashes the application. The bug was filed
here (in our bug tracker):
https://sourceforge.net/tracker/index.php?func=detail&aid=1381750&group_id=11113&atid=791569
I found the following in PyGTK bug list, which is
probably related, though incomplete:
http://bugzilla.gnome.org/show_bug.cgi?id=320221
Is there something to care of when importing PyGTK
from an embedded Python interpreter to fix this issue?
Or is it a bug in PyGTK which should behave as any
other imported library (maybe do some missing cleanup
before leaving)?
Cheers,
Romain
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
More information about the pygtk
mailing list