-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Animations are (mostly) broken #4967
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
Comments
Is the code someplace we can get to? |
The infinite recursion might be fixed over in #4821. |
I am working on coming up with a minimum example. I figure I would at least document what I got so far. Considering that this is happening in several of my examples, I doubt it is some sort of edge case. I'll give #4821 a try. |
I'll take a non-minimal example of this! I strongly suspect this is my fault. |
#4821 fixes both the recusion issue and the first exception. However it Saving a gif is also failing:
On Wed, Aug 19, 2015 at 10:47 PM, Thomas A Caswell <notifications@github.com
|
The copy thing is apparently a 2/3 difference. |
If you can get me a stripped down example of the shared event sources being broken, I promise to look at it. |
@WeatherGod Can you re-test this? |
@tacaswell, well, I don't get the copy issue anymore... Instead, I am getting variations on a theme:
Sometimes it is NoneType, sometimes it is LineCollection... depends on which animation script I run. I am guessing that _drawn_artists is sometimes being a scalar instead of a list? Note, it doesn't have to be saving to a file, it just has to run the animation. |
There is only one animation script that I can get working correctly. Don't know what changed between the last time I tried that PR out and now (I did rebase that PR, to get all the latest fixes), but I don't recall anything else animation related going on. Maybe it is backend-dependent because I have been switching around default backends to exercise various things? This latest round of tracebacks come courtesy of the TkAgg backend. |
new theory... Something broke between the maser commit that the JSAnimation branch is based off of and the master branch I tested last week. So, when I tried out the JSAnimation branch, the problem appeared "fixed". |
Well, at the very least, #4821 fixes the maximum recursion limit issue. Something was introduced to master between then and last week that is causing the NoneType isn't iterable error. |
I know what broke it (because I broke it in 51cc0ca or there abouts) 😉 |
Closing as this was fixed by #4995 @WeatherGod Re-open if you disagree. |
Trying out chapter 3 of my book. Most of my examples are broken in master. Only two of them work out of the box: "chp3/fun_with_timers.py" and "chp3/session_recorder.py" (yes, I wrote a session recorder using the animation module...)
The rest of the examples fail with one of two kinds of tracebacks. The first one:
happens for most of them (I haven't figured out why yet). The second one is a maximum recursion depth limit error:
The text was updated successfully, but these errors were encountered: