Patch that fixes the bug. ** Attachment added: "For test you can apply it directly on /usr/share/pygtk/2.0/" http://librarian.launchpad.net/5355613/pygtk_codegen.patch -- Bug 381389 – pygimp complains in codegen.py in cvs gimp https://launchpad.net/bugs/75327