Bug#826067: python-gi: module gi._gi_cairo not found

Celelibi celelibi at gmail.com
Thu Jun 2 00:14:21 UTC 2016


Package: python-gi
Version: 3.20.1-1
Severity: important

The module files installed in /usr/lib/python2.7/dist-packages/gi don't
include a non-debug version for _gi_cairo.

There is a version compiled with pydebug enabled that is installed. This
one is named _gi_cairo.i386-linux-gnu_d.so, with "_d" meaning pydebug is
enabled. Since python2 is compiled without pydebug, that makes it unable
to find this shared library.

In the attached test case, this module is tentatively loaded from the
function pygi_struct_foreign_load_module at gi/pygi-foreign.c:70 to
convert arguments to a callback python function. The failure to find a
suitable "foreign struct converter" is not shown to the user.

This bug seriously undermines the ability to use Gtk3 from python2.


Best regards,
Celelibi

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.10.11 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages python-gi depends on:
ii  gir1.2-glib-2.0        1.48.0-2
ii  libc6                  2.22-7
ii  libffi6                3.2.1-4
ii  libgirepository-1.0-1  1.48.0-2
ii  libglib2.0-0           2.48.1-1
ii  python                 2.7.11-1
pn  python:any             <none>

python-gi recommends no packages.

Versions of packages python-gi suggests:
pn  python-gi-cairo  <none>

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.py
Type: text/x-python
Size: 699 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20160602/9509c88d/attachment.py>


More information about the pkg-gnome-maintainers mailing list