Bug#338090: Broken python binding

Manish Singh yosh at gimp.org
Tue Nov 8 18:38:37 UTC 2005


On Tue, Nov 08, 2005 at 11:42:24AM +0100, Loic Minier wrote:
> On Tue, Nov 08, 2005, Loic Minier wrote:
> >  ... which suggest the problem will be fixed.
> 
>  I don't get the same "import vte" error, but it still fails:
>     >>> import vte
>     Traceback (most recent call last):
>       File "<stdin>", line 1, in ?
>     ImportError: could not import gtk._gtk
> 
>  (This is with python2.3-gtk2 installed, and I called python-2.3.)
> 
>  I straced python, and it tries to open
>  /usr/lib/python2.3/site-packages/gtk-2.0/<stdin> and similar
>  directories, and I do have the following file:
>     /usr/lib/python2.3/site-packages/gtk-2.0/gtk/_gtk.so
> 
>  Any idea?

I just apt-get source python-vte, rm'd python/vte.c from the tree, and
ran dpkg-buildpackage. This made a working python module for me, and I'm
using python 2.3 and pygtk 2.6.

I think something is wrong with your specific setup. Probably the whole
strace will give me some clues.

There isn't anything python 2.4 specific about what any version of
pygtk-codegen-2.0 generates.

-Yosh





More information about the Pkg-gnome-maintainers mailing list