GTK segfault with GTK3 and mpl_toolkits#1813
Conversation
|
This looks as if you do not have the development files for Gtk3 installed. Would you mind testing the attached patch? It should give you an error message to this effect. |
There was a problem hiding this comment.
Missing word: "requires".
Also, this has me puzzled, because I can run the gtk3agg backend on ubuntu Precise, but I don't have the libgtk-3-dev package installed.
There was a problem hiding this comment.
It seems things are packaged somewhat differently on Debian/Ubuntu than on Fedora. I think on Ubuntu, the required package is: gir1.2-gtk3.0 https://launchpad.net/ubuntu/precise/+package/gir1.2-gtk-3.0
Since we don't really know what distro the user will be using, I'm inclined to change this to:
"The Gtk3 backend requires that the GObject introspection bindings for Gtk 3 are installed."
That should give a user enough to Google something by.
GTK segfault with GTK3 and mpl_toolkits
GTK segfault with GTK3 and mpl_toolkits
Something goes wrong when using a GTK3 backend and the mpl_toolkits. See this very minimal testcase:
Most likely, something imports the old GTK2 bindings, run following for the same error:
Grepping the sourcecode gives mpl_toolkits/gtktools.py where it is used, but I can't even find where it is imported.