Debian Bug report logs - #338090
Broken python binding

version graph

Package: vte; Maintainer for vte is Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>;

Reported by: Manish Singh <yosh@gimp.org>

Date: Tue, 8 Nov 2005 03:03:02 UTC

Severity: grave

Tags: fixed-upstream, upstream

Merged with 334001, 334668

Found in version vte/1:0.11.15-1

Fixed in version vte/1:0.11.15-3

Done: Loic Minier <lool@dooz.org>

Bug is archived. No further changes may be made.

Forwarded to http://bugzilla.gnome.org/show_bug.cgi?id=320931

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Arnaud Patard <arnaud.patard@rtp-net.org>:
Bug#338090; Package python-vte. (full text, mbox, link).


Acknowledgement sent to Manish Singh <yosh@gimp.org>:
New Bug report received and forwarded. Copy sent to Arnaud Patard <arnaud.patard@rtp-net.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Manish Singh <yosh@gimp.org>
To: submit@bugs.debian.org
Subject: Broken python binding
Date: Mon, 7 Nov 2005 18:52:38 -0800
Package: python-vte
Version: 0.11.15-2
Severity: grave

Due to a bug upstream (http://bugzilla.gnome.org/show_bug.cgi?id=320931)
a python/vte.c generated for pygtk 2.8 is distributed with the tarball.
Since the date is newer than the other source files, it's not
regenerated, and the resultant binary does not work:

manish@peach:~$ python
Python 2.3.5 (#2, Aug 30 2005, 15:50:26)
[GCC 4.0.2 20050821 (prerelease) (Debian 4.0.1-6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import vte
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: /usr/lib/python2.3/site-packages/gtk-2.0/vtemodule.so: undefined symbol: pyg_set_object_has_new_constructor

Until the bug is fixed in a new upstream release, a simple workaround
would be to remove python/vte.c via debian/rules or some other
mechanism.

-Yosh



Information forwarded to debian-bugs-dist@lists.debian.org, Arnaud Patard <arnaud.patard@rtp-net.org>:
Bug#338090; Package python-vte. (full text, mbox, link).


Acknowledgement sent to Loic Minier <lool@dooz.org>:
Extra info received and forwarded to list. Copy sent to Arnaud Patard <arnaud.patard@rtp-net.org>. (full text, mbox, link).


Message #10 received at 338090@bugs.debian.org (full text, mbox, reply):

From: Loic Minier <lool@dooz.org>
To: Manish Singh <yosh@gimp.org>, 338090@bugs.debian.org, control@bugs.debian.org
Subject: Re: Bug#338090: Broken python binding
Date: Tue, 8 Nov 2005 11:22:13 +0100
[Message part 1 (text/plain, inline)]
clone 338090 -1
reassign -1 python-gtk2-dev 2.8.0-1
retitle -1 pygtk-codegen-2.0 from 2.8's pygtk generates code incompatible with python 2.3
severity -1 important
thanks

        Hi,

On Mon, Nov 07, 2005, Manish Singh wrote:
> Due to a bug upstream (http://bugzilla.gnome.org/show_bug.cgi?id=320931)
> a python/vte.c generated for pygtk 2.8 is distributed with the tarball.
> Since the date is newer than the other source files, it's not
> regenerated, and the resultant binary does not work

 Thanks for your report, I've already forwarded a couple of reports on
 this matter upstream, namely Debian bugs #334001 and #334668, and this
 is discussed at:
    <http://bugzilla.gnome.org/show_bug.cgi?id=313454>

 I noted that this is specific to Python 2.3, and rebuilding python-vte
 with Python 2.4 will make it import like a charm.

 If I understand you correctly, python/vte.c is generated automatically
 (it seems via pygtk-codegen-2.0) and the resulting code is not suitable
 for Python 2.3.  This seems to imply that this script has to be
 carefully split out in a python 2.3 and a python 2.4 version, or get
 some flags added to run in 2.3 compatibility mode.

 Hence, I removed vte.c and ran in a clean sid chroot (with pygtk
 2.6.3-2):
 bee% pygtk-codegen-2.0 -p pyvte -o vte.override --register
 /usr/share/pygtk/2.0/defs/gtk-types.defs --register
 /usr/share/pygtk/2.0/defs/gdk-types.defs --register
 /usr/share/pygtk/2.0/defs/pango-types.defs vte.defs vte.override >
 vte.c
 Could not write method VteTerminal.forkpty: No ArgType for 'char**'
 Could not write method VteTerminal.match_check: No ArgType for 'int*'
 ***INFO*** The coverage of global functions is 100.00% (3/3)
 ***INFO*** The coverage of methods is 97.26% (71/73)
 ***INFO*** There are no declared virtual proxies.
 ***INFO*** There are no declared virtual accessors.
 ***INFO*** There are no declared interface proxies.

 and the result is the attached vte.c file which has only minor
 modifications beside this one:
    @@ -1548,7 +1546,6 @@
         }
     
     
    -#line 1552 "vte.c"
    +#line 1550 "vte.c"
         pygobject_register_class(d, "VteTerminal", VTE_TYPE_TERMINAL, &PyVteTerminal_Type, Py_BuildValue("(O)", &PyGtkWidget_Type));
    -    pyg_set_object_has_new_constructor(VTE_TYPE_TERMINAL);
     }
 ... which suggest the problem will be fixed.

 Do you have any suggestion on fixing the root problem (ie.
 pygtk-codegen-2.0)?

 Should all packages be examined against this problem?

   Cheers,
-- 
Loïc Minier <lool@dooz.org>
[vte.c (text/x-csrc, attachment)]

Bug 338090 cloned as bug 338117. Request was from Loic Minier <lool@dooz.org> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `python-vte' to `vte'. Request was from Loic Minier <lool@dooz.org> to control@bugs.debian.org. (full text, mbox, link).


Noted your statement that Bug has been forwarded to http://bugzilla.gnome.org/show_bug.cgi?id=313454. Request was from Loic Minier <lool@dooz.org> to control@bugs.debian.org. (full text, mbox, link).


Merged 334001 334668 338090. Request was from Loic Minier <lool@dooz.org> to control@bugs.debian.org. (full text, mbox, link).


Tags added: pending Request was from Loic Minier <lool@dooz.org> to control@bugs.debian.org. (full text, mbox, link).


Tags added: pending Request was from Loic Minier <lool@dooz.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Arnaud Patard <arnaud.patard@rtp-net.org>:
Bug#338090; Package vte. (full text, mbox, link).


Acknowledgement sent to Loic Minier <lool@dooz.org>:
Extra info received and forwarded to list. Copy sent to Arnaud Patard <arnaud.patard@rtp-net.org>. (full text, mbox, link).


Message #27 received at 338090@bugs.debian.org (full text, mbox, reply):

From: Loic Minier <lool@dooz.org>
To: Manish Singh <yosh@gimp.org>, 338090@bugs.debian.org
Subject: Re: Bug#338090: Broken python binding
Date: Tue, 8 Nov 2005 11:42:24 +0100
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?

-- 
Loïc Minier <lool@dooz.org>
"What do we want? BRAINS!    When do we want it? BRAINS!"



Information forwarded to debian-bugs-dist@lists.debian.org, Arnaud Patard <arnaud.patard@rtp-net.org>:
Bug#338090; Package vte. (full text, mbox, link).


Acknowledgement sent to Manish Singh <yosh@gimp.org>:
Extra info received and forwarded to list. Copy sent to Arnaud Patard <arnaud.patard@rtp-net.org>. (full text, mbox, link).


Message #32 received at 338090@bugs.debian.org (full text, mbox, reply):

From: Manish Singh <yosh@gimp.org>
To: Loic Minier <lool@dooz.org>
Cc: 338090@bugs.debian.org
Subject: Re: Bug#338090: Broken python binding
Date: Tue, 8 Nov 2005 10:38:37 -0800
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



Reply sent to Loic Minier <lool@dooz.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Manish Singh <yosh@gimp.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #37 received at 334001-close@bugs.debian.org (full text, mbox, reply):

From: Loic Minier <lool@dooz.org>
To: 334001-close@bugs.debian.org
Subject: Bug#334001: fixed in vte 1:0.11.15-3
Date: Tue, 08 Nov 2005 14:33:31 -0800
Source: vte
Source-Version: 1:0.11.15-3

We believe that the bug you reported is fixed in the latest version of
vte, which is due to be installed in the Debian FTP archive:

libvte-common_0.11.15-3_all.deb
  to pool/main/v/vte/libvte-common_0.11.15-3_all.deb
libvte-dev_0.11.15-3_i386.deb
  to pool/main/v/vte/libvte-dev_0.11.15-3_i386.deb
libvte-doc_0.11.15-3_all.deb
  to pool/main/v/vte/libvte-doc_0.11.15-3_all.deb
libvte4_0.11.15-3_i386.deb
  to pool/main/v/vte/libvte4_0.11.15-3_i386.deb
python-vte_0.11.15-3_i386.deb
  to pool/main/v/vte/python-vte_0.11.15-3_i386.deb
vte_0.11.15-3.diff.gz
  to pool/main/v/vte/vte_0.11.15-3.diff.gz
vte_0.11.15-3.dsc
  to pool/main/v/vte/vte_0.11.15-3.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 334001@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Loic Minier <lool@dooz.org> (supplier of updated vte package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue,  8 Nov 2005 22:38:50 +0100
Source: vte
Binary: python-vte libvte4 libvte-doc libvte-common libvte-dev
Architecture: source i386 all
Version: 1:0.11.15-3
Distribution: unstable
Urgency: high
Maintainer: Arnaud Patard <arnaud.patard@rtp-net.org>
Changed-By: Loic Minier <lool@dooz.org>
Description: 
 libvte-common - Terminal emulator widget for GTK+ 2.0 - common files
 libvte-dev - Terminal emulator widget for GTK+ 2.0 - development files
 libvte-doc - Terminal emulator widget for GTK+ 2.0 - development files
 libvte4    - Terminal emulator widget for GTK+ 2.0 - runtime files
 python-vte - Python bindings for the VTE widget set
Closes: 334001 334668 338090
Changes: 
 vte (1:0.11.15-3) unstable; urgency=high
 .
   * Force regeneration of the python bindings by removing python/vte.c.
     (Closes: #334001, #334668, #338090)
     [debian/rules]
Files: 
 4409a5479bd01704c6859dbe4649b5f7 1814 libs optional vte_0.11.15-3.dsc
 898a7064d35997114a5b50f4d6883c12 9800 libs optional vte_0.11.15-3.diff.gz
 905124ee7569ddcb5b29fe447cc1d7b4 113624 libs optional libvte-common_0.11.15-3_all.deb
 8823a661eb321534a38008f1a445c7e2 84796 doc optional libvte-doc_0.11.15-3_all.deb
 3ef89ad45cf45ebb99b80068b2813e7a 678354 libs optional libvte4_0.11.15-3_i386.deb
 3b50b6d0ae349370ccf50313ee4d584b 439028 libdevel optional libvte-dev_0.11.15-3_i386.deb
 52a0f17e49f9f7e060503d6b38572483 122146 python optional python-vte_0.11.15-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDcR2i4VUX8isJIMARAq71AJ4g3FLz+yFHtdiMFJwfjdIc8Ey7rwCbBgZS
aj8EexarS4dP5QQllXyRXuo=
=ZdO/
-----END PGP SIGNATURE-----




Reply sent to Loic Minier <lool@dooz.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Manish Singh <yosh@gimp.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #42 received at 334668-close@bugs.debian.org (full text, mbox, reply):

From: Loic Minier <lool@dooz.org>
To: 334668-close@bugs.debian.org
Subject: Bug#334668: fixed in vte 1:0.11.15-3
Date: Tue, 08 Nov 2005 14:33:31 -0800
Source: vte
Source-Version: 1:0.11.15-3

We believe that the bug you reported is fixed in the latest version of
vte, which is due to be installed in the Debian FTP archive:

libvte-common_0.11.15-3_all.deb
  to pool/main/v/vte/libvte-common_0.11.15-3_all.deb
libvte-dev_0.11.15-3_i386.deb
  to pool/main/v/vte/libvte-dev_0.11.15-3_i386.deb
libvte-doc_0.11.15-3_all.deb
  to pool/main/v/vte/libvte-doc_0.11.15-3_all.deb
libvte4_0.11.15-3_i386.deb
  to pool/main/v/vte/libvte4_0.11.15-3_i386.deb
python-vte_0.11.15-3_i386.deb
  to pool/main/v/vte/python-vte_0.11.15-3_i386.deb
vte_0.11.15-3.diff.gz
  to pool/main/v/vte/vte_0.11.15-3.diff.gz
vte_0.11.15-3.dsc
  to pool/main/v/vte/vte_0.11.15-3.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 334668@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Loic Minier <lool@dooz.org> (supplier of updated vte package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue,  8 Nov 2005 22:38:50 +0100
Source: vte
Binary: python-vte libvte4 libvte-doc libvte-common libvte-dev
Architecture: source i386 all
Version: 1:0.11.15-3
Distribution: unstable
Urgency: high
Maintainer: Arnaud Patard <arnaud.patard@rtp-net.org>
Changed-By: Loic Minier <lool@dooz.org>
Description: 
 libvte-common - Terminal emulator widget for GTK+ 2.0 - common files
 libvte-dev - Terminal emulator widget for GTK+ 2.0 - development files
 libvte-doc - Terminal emulator widget for GTK+ 2.0 - development files
 libvte4    - Terminal emulator widget for GTK+ 2.0 - runtime files
 python-vte - Python bindings for the VTE widget set
Closes: 334001 334668 338090
Changes: 
 vte (1:0.11.15-3) unstable; urgency=high
 .
   * Force regeneration of the python bindings by removing python/vte.c.
     (Closes: #334001, #334668, #338090)
     [debian/rules]
Files: 
 4409a5479bd01704c6859dbe4649b5f7 1814 libs optional vte_0.11.15-3.dsc
 898a7064d35997114a5b50f4d6883c12 9800 libs optional vte_0.11.15-3.diff.gz
 905124ee7569ddcb5b29fe447cc1d7b4 113624 libs optional libvte-common_0.11.15-3_all.deb
 8823a661eb321534a38008f1a445c7e2 84796 doc optional libvte-doc_0.11.15-3_all.deb
 3ef89ad45cf45ebb99b80068b2813e7a 678354 libs optional libvte4_0.11.15-3_i386.deb
 3b50b6d0ae349370ccf50313ee4d584b 439028 libdevel optional libvte-dev_0.11.15-3_i386.deb
 52a0f17e49f9f7e060503d6b38572483 122146 python optional python-vte_0.11.15-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDcR2i4VUX8isJIMARAq71AJ4g3FLz+yFHtdiMFJwfjdIc8Ey7rwCbBgZS
aj8EexarS4dP5QQllXyRXuo=
=ZdO/
-----END PGP SIGNATURE-----




Reply sent to Loic Minier <lool@dooz.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Manish Singh <yosh@gimp.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #47 received at 338090-close@bugs.debian.org (full text, mbox, reply):

From: Loic Minier <lool@dooz.org>
To: 338090-close@bugs.debian.org
Subject: Bug#338090: fixed in vte 1:0.11.15-3
Date: Tue, 08 Nov 2005 14:33:31 -0800
Source: vte
Source-Version: 1:0.11.15-3

We believe that the bug you reported is fixed in the latest version of
vte, which is due to be installed in the Debian FTP archive:

libvte-common_0.11.15-3_all.deb
  to pool/main/v/vte/libvte-common_0.11.15-3_all.deb
libvte-dev_0.11.15-3_i386.deb
  to pool/main/v/vte/libvte-dev_0.11.15-3_i386.deb
libvte-doc_0.11.15-3_all.deb
  to pool/main/v/vte/libvte-doc_0.11.15-3_all.deb
libvte4_0.11.15-3_i386.deb
  to pool/main/v/vte/libvte4_0.11.15-3_i386.deb
python-vte_0.11.15-3_i386.deb
  to pool/main/v/vte/python-vte_0.11.15-3_i386.deb
vte_0.11.15-3.diff.gz
  to pool/main/v/vte/vte_0.11.15-3.diff.gz
vte_0.11.15-3.dsc
  to pool/main/v/vte/vte_0.11.15-3.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 338090@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Loic Minier <lool@dooz.org> (supplier of updated vte package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue,  8 Nov 2005 22:38:50 +0100
Source: vte
Binary: python-vte libvte4 libvte-doc libvte-common libvte-dev
Architecture: source i386 all
Version: 1:0.11.15-3
Distribution: unstable
Urgency: high
Maintainer: Arnaud Patard <arnaud.patard@rtp-net.org>
Changed-By: Loic Minier <lool@dooz.org>
Description: 
 libvte-common - Terminal emulator widget for GTK+ 2.0 - common files
 libvte-dev - Terminal emulator widget for GTK+ 2.0 - development files
 libvte-doc - Terminal emulator widget for GTK+ 2.0 - development files
 libvte4    - Terminal emulator widget for GTK+ 2.0 - runtime files
 python-vte - Python bindings for the VTE widget set
Closes: 334001 334668 338090
Changes: 
 vte (1:0.11.15-3) unstable; urgency=high
 .
   * Force regeneration of the python bindings by removing python/vte.c.
     (Closes: #334001, #334668, #338090)
     [debian/rules]
Files: 
 4409a5479bd01704c6859dbe4649b5f7 1814 libs optional vte_0.11.15-3.dsc
 898a7064d35997114a5b50f4d6883c12 9800 libs optional vte_0.11.15-3.diff.gz
 905124ee7569ddcb5b29fe447cc1d7b4 113624 libs optional libvte-common_0.11.15-3_all.deb
 8823a661eb321534a38008f1a445c7e2 84796 doc optional libvte-doc_0.11.15-3_all.deb
 3ef89ad45cf45ebb99b80068b2813e7a 678354 libs optional libvte4_0.11.15-3_i386.deb
 3b50b6d0ae349370ccf50313ee4d584b 439028 libdevel optional libvte-dev_0.11.15-3_i386.deb
 52a0f17e49f9f7e060503d6b38572483 122146 python optional python-vte_0.11.15-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDcR2i4VUX8isJIMARAq71AJ4g3FLz+yFHtdiMFJwfjdIc8Ey7rwCbBgZS
aj8EexarS4dP5QQllXyRXuo=
=ZdO/
-----END PGP SIGNATURE-----




Forwarded-to-address changed from http://bugzilla.gnome.org/show_bug.cgi?id=313454 to http://bugzilla.gnome.org/show_bug.cgi?id=320931. Request was from madcoder@debian.org to control@bugs.debian.org. (full text, mbox, link).


Tags added: upstream, fixed-upstream Request was from madcoder@debian.org to control@bugs.debian.org. (full text, mbox, link).


Forwarded-to-address changed from http://bugzilla.gnome.org/show_bug.cgi?id=320931 to http://bugzilla.gnome.org/show_bug.cgi?id=320931. Request was from madcoder@debian.org to control@bugs.debian.org. (full text, mbox, link).


Tags added: upstream, fixed-upstream Request was from madcoder@debian.org to control@bugs.debian.org. (full text, mbox, link).


Forwarded-to-address changed from http://bugzilla.gnome.org/show_bug.cgi?id=320931 to http://bugzilla.gnome.org/show_bug.cgi?id=320931. Request was from madcoder@debian.org to control@bugs.debian.org. (full text, mbox, link).


Tags added: upstream, fixed-upstream Request was from madcoder@debian.org to control@bugs.debian.org. (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 24 Jun 2007 08:19:22 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Sep 28 11:05:01 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.