2016-06-02 11:10 UTC+02:00, Michael Biebl <bi...@debian.org>: > 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
Oh my bad, I even forgot to search which package installed /usr/lib/python2.7/dist-packages/gi/_gi_cairo.i386-linux-gnu_d.so. It's python-gi-dbg. Then this bug should be marked as minor and be only about the missing error message. python-gi-cairo is only "suggested" by python-gi and the failure to load the module produce no message whatsoever. I see the code kinda talks about a TypeError exception. But it looks like it's never raised. Or maybe this bug should be maked as invalid and I report another one? Best regards, Celelibi