GNOME Bugzilla – Bug 396432
pygimp codegen fails in codegen.py
Last modified: 2008-07-16 10:13:00 UTC
on Gentoo, dev-python/pygtk-2.10.3 USE="doc opengl" 0 kB If there is a way to work around it in the gimpui.override file this should probably be reassigned to gimp/pygimp. /usr/bin/pygtk-codegen-2.0 \ --override gimpui.override \ --register /usr/share/pygtk/2.0/defs/gdk-types.defs \ --register /usr/share/pygtk/2.0/defs/gtk-types.defs \ --register ./gimpcolor-types.defs \ --register ./gimpenums-types.defs \ --prefix gimpui gimpui.defs) > gen-gimpui.c \ && cp gen-gimpui.c gimpui.c \ && rm -f gen-gimpui.c [...] Could not write method GimpZoomPreview.get_drawable: No ArgType for GimpDrawable* Traceback (most recent call last):
+ Trace 102034
sys.exit(main(sys.argv))
sw.write(py_ssize_t_clean)
self.write_classes()
instance.write_class()
substdict['tp_methods'] = self.write_methods()
methods.append(self.methdef_tmpl %
make[4]: *** [gimpui.c] Error 1 make[4]: Leaving directory `/mnt/Home/from-svn/gimp/plug-ins/pygimp' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/mnt/Home/from-svn/gimp/plug-ins/pygimp' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/Home/from-svn/gimp/plug-ins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/Home/from-svn/gimp' make: *** [all] Error 2
*** This bug has been marked as a duplicate of 381389 ***