After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 385934 - Module codegen.createdefs is not installed
Module codegen.createdefs is not installed
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: codegen
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2006-12-14 17:51 UTC by Sebastien Bacher
Modified: 2008-07-16 10:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Proposed patch (510 bytes, patch)
2006-12-18 23:50 UTC, Michael Bienia
committed Details | Review

Description Sebastien Bacher 2006-12-14 17:51:08 UTC
That bug has been described on https://launchpad.net/distros/ubuntu/+source/pygtk/+bug/75606

"/usr/share/python-support/python-gobject/gtk-2.0/dsextras.py tries to import codegen.createdefs which is missing.

This leads to the following error message when one tries to use Template from dsextras:
***************************************************************************
Codegen could not be found on your system and is required by the
dsextras.Template and dsextras.TemplateExtension classes. codegen is part
of PyGTK. To use either Template or TemplateExtension, you should also
install PyGTK.
***************************************************************************

createdefs.py is included in the pygtk orig.tar.gz in the codegen dir but doesn't get installed.
..."
Comment 1 Michael Bienia 2006-12-18 23:50:34 UTC
Created attachment 78605 [details] [review]
Proposed patch

This patch moves createdefs.py to the list of files to be installed.
Comment 2 Sebastien Bacher 2006-12-21 12:47:52 UTC
Johan told me on IRC to commit the patch if that's useful, dsextras is not supposed to be a public API and should be used though. I commited the patch since some programs use it:

2006-12-21  Sebastien Bacher  <seb128@ubuntu.com>

	* codegen/Makefile.am: install createdefs.py, fix dsextras.py,
	patch by Michael Bienia (Fixes #385934)