Leeuw van der, Tim wrote:
Hi,

I have a reproducible recipe for crashing the python interpreter with
> PyGtk. I don't know of the error is in PyGtk, or in Gtk (although I
tend  to suspect the former).

The recipe is:

st_list = dir(gtk) for st in st_list: print 'Found string:', st print 'Object:', getattr(gtk, st) # This will crash somewhere in GTK dll

The object at which it crashes is BUTTON_IGNORED

The crash is caused by this bug in PyGTK:

    http://bugzilla.gnome.org/show_bug.cgi?id=158417

This is fixed in the CVS version of PyGTK, so it won't be a problem when 2.6 is released. If you want it fixed now the you could apply the attached patch and recompile.

--
Tim Evans
Applied Research Associates NZ
http://www.aranz.com/
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to