-----Original Message-----
From: Tim Evans [mailto:[EMAIL PROTECTED]
Sent: Thu 2/3/2005 10:01 PM
To: Leeuw van der, Tim; [email protected]
Subject: Re: [pygtk] FW: Gtk / PyGtk crashing python interpreter
 
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/


Hi,

I'm glad that there's a fix; but getting it compiled myself will be a bit of a 
challenge (using windows and not having any compilers installed etc...) ... 
What's the expected release date of the next PyGtk version?


cheers,

--Tim
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to