[Bug 75606] Re: [Feisty] Module codegen.createdefs is missing in python-gtk2-dev

Michael Bienia michael at vorlon.ping.de
Thu Dec 14 15:36:32 UTC 2006


ii  python-gtk2                  2.10.3-0ubuntu3              Python bindings for the GTK+ widget set
ii  python-gtk2-dev              2.10.3-0ubuntu3              GTK+ bindings: devel files

$ python -c "import codegen.createdefs"
Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named codegen.createdefs

I found this bug while trying to resolve the FTBFS of diacanvas2
(python-diacanvas2).

I can only import codegen modules after adding /usr/share/pygtk/2.0 to
the search path (but not the codegen.createdefs module)

>>> import codegen.override
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named codegen.override
>>> import sys
>>> sys.path.append("/usr/share/pygtk/2.0/")
>>> import codegen.override
>>> import codegen.createdefs
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named createdefs

-- 
[Feisty] Module codegen.createdefs is missing in python-gtk2-dev
https://launchpad.net/bugs/75606




More information about the desktop-bugs mailing list