{{ message }}
GTK segfault with GTK3 and mpl_toolkits - #1813
Merged
Merged
Conversation
Member
Member
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.
Member
Author
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.
mdboom
added a commit
that referenced
this pull request
May 28, 2013
GTK segfault with GTK3 and mpl_toolkits
mdboom
added a commit
that referenced
this pull request
May 28, 2013
GTK segfault with GTK3 and mpl_toolkits
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

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.