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

Michael Biebl biebl at debian.org
Thu Jun 2 09:10:56 UTC 2016


Am 02.06.2016 um 02:14 schrieb Celelibi:
> 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.

Have you tried installing python-gi-cairo?
It ships here
python-gi-cairo:
/usr/lib/python2.7/dist-packages/gi/_gi_cairo.x86_64-linux-gnu.so



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20160602/c20050df/attachment.sig>


More information about the pkg-gnome-maintainers mailing list