Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Avoid a RuntimeError at animation shutdown with PySide2.#15685
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
fwiw I can also repro the issue now, and its resolution by this PR, using PyQt5 -- run animation/strip_chart.py, wait for the strip chart to go at least once through the axes, and quit. |
@anntzer Do I understand your correctly: The bug should happen when running That quits cleanly here. (Not tested with PySide2 as I've not installed that.) |
Yes, it fails locally with me at exit with qt5agg/master. Did you wait for the strip chart to go at least once through the whole axes? |
Yes I did. |
…685-on-v3.2.xBackport PR#15685 on branch v3.2.x (Avoid a RuntimeError at animation shutdown with PySide2.)
PR Summary
Fixes the "Internal C++ object already deleted" part of#15678 (comment) (@dopplershift, perhaps this also fixes the rest if you're lucky?).
Seemottosso/Qt.py#316 for how to translate the isdeleted API with PySide. See#9993 (comment) re the "double import" of sip with PyQt4.
PR Checklist