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

george young gry at ll.mit.edu
Tue Aug 23 01:46:04 WST 2005


[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.

Any suggestions before I start tearing through 9K lines of code?
I do have a couple dozen cases like:

   self.modify_bg(gtk.STATE_NORMAL, self.get_colormap().alloc_color('lightgoldenrod'))

Any idea what changed(or broke?) and how I need to respond to it?

-- George
-- 
"Are the gods not just?"  "Oh no, child.
What would become of us if they were?" (CSL)


More information about the pygtk mailing list