-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tkinter backend finishes with segmentation fault #3383
Comments
let's ensure you built a completely clean matplotlib. Do a "git clean -fxd" On Mon, Aug 18, 2014 at 12:38 PM, Gregor86 notifications@github.com wrote:
|
@WeatherGod "git clean -fxd" did the job. I can now run both the example code above, and the backend now works again in my GUI. I didn't know I'd have to clean anything before rebuilding. I had a lot of output suggesting I was building from scratch. Thanks a lot. |
You probably were rebuilding, but output from the c-extensions was left around. The c-source wasn't change so they were not rebuilt but the libraries changed underneath (which the python build tools had no way of knowing) hence the strange c-errors from way down the stack. |
@tacaswell Thank you for the clarification. Such issues need to be kept in mind all the time on an administrated work station, where you cannot prevent libraries from changing. I only started moving away from the system-wide matplotlib version because I had another bug I posted on StackOverflow with a broken system-wide library. |
Hi,
I am very new here and hope, I haven't overseen anything about similar issues in the past. I am trying to use matplotlib with its Tkinter backend embedded into a GUI. Starting the application worked fine with earlier versions, but fails now on Ubuntu 14.04.
I just pulled matplotlib and installed it. I am currently standing on git hash fb27b4. My Tcl/Tk version is 8.6.
Here is my Application code:
Why the
print
-statements? If I omit them, my application crashes with a Segmentation fault. If I leave them in, I get the following stack trace:The
bbox_array
isNone
here, maybe this is helpful to know.I think it is related to a similar issue, but seemingly was not fixed in there, because I use the up-to-date matplotlib master. It is a TkAgg-issue, though: Switching to "Qt4Agg" in the
use
-command displays a pretty curve.I appreciate your helpful comments on this and am happy to provide you with further information, if necessary.
The text was updated successfully, but these errors were encountered: