[pygtk] upgrade woes: pygtk 1.99.17 to 2.7.3, GDK_IS_DRAWABLE (drawable)' failed

Jesse Pavel jpavel at alum.mit.edu
Tue Aug 23 02:08:26 WST 2005


george young on August 22, 2005 wrote:
 > [x86 linux]
 > I'm upgrading from:
 >    python 2.3.3, pygtk-1.99.17, gtk+-2.2.4 
 > to:
 >    python 2.4.1, pygtk-2.7.3, gtk+-2.8.0
 > 
 > In addition to a number of deprecation warnings, which I'm working on,
 > I get many instances of:
 > 
 >    er.py:6155): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion `GDK_IS_DRAWABLE (drawable)' failed
 >    (er.py:6155): Gdk-WARNING **: gdk_window_set_back_pixmap(): pixmap must have a colormap
 > 
 > and some areas of the application that should be colored turn out black.


There was a thread on this bug in one of the GTK+ development lists
a short while ago, and Owen Taylor fixed the problem in the GTK+ 2.8.0
sources that caused the black areas and assertion. Perhaps the fix
is still in CVS--but I've deleted the original message so I'm not
sure. Take a look through the GTK+ mailing list archives.

~Jesse


More information about the pygtk mailing list