Re: using python: crash, when importing gtk
- From: Jean Bréfort <jean brefort normalesup org>
- To: scrutinizer gmx at
- Cc: gnumeric-list gnome org
- Subject: Re: using python: crash, when importing gtk
- Date: Wed, 02 May 2012 14:06:41 +0200
1.11.3 should NOT build with Python support. It should fail at configure
stage.
You are using pygtk which depends on gtk+-2.0 from a gtk+-3.0 program,
so the crash is anticipated.
Regards,
Jean
Le mercredi 02 mai 2012 à 09:26 +0200, scrutinizer gmx at a écrit :
Sorry to bother again. One strange thing I saw, and I don't understand, is a crash, when importing gtk in a
plugin (i compiled 1.11.3)
First I want to say, I'm not sure, if the "bug" is in gnumeric. I suspect, the bug is in gtk...
At the beginning of the plugin, there is:
import pygtk
pygtk.require('2.0')
import gtk
...
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: specified class size for type
`PyGtkGenericCellRenderer' is smaller than the parent type's `GtkCellRenderer' class size
from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_get_qdata: assertion `node !=
NULL' failed
from gtk import _gtk
Segmentation fault
If I left out the gtk, it runs. But then I cannot use gtk dialogs and other stuffs anymore.
On 1.10.17, everything ist fine with using/importing gtk.
XUbuntu 12.04 precise
If I call python from terminal, everything is fine:
import gtk (no error)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]