-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
Notebook won't show animations #16533
Comments
Branch: u/gagern/ticket/16533 |
Commit: |
comment:2
OK, I did a bit more than just enabling the embedding. I did restructure the show and save commands, and added support for APNG. I hope that I might be able to add other formats in the future, in the spirit of ticket:7298. New commits:
|
comment:6
Originally I had intended to push a separate branch for the video tag aspect of this, but now I figure that reviewing a single branch should be easier than dealing with multiple interdependent branches. So this ticket here will take care of that aspect from ticket:7298 as well. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
Replying to @gagern:
Personally, I completely disagree with this. I think fixing the notebook animate bug, the |
comment:9
Replying to @jdemeyer:
I guess I could try to split my modifications up. But there are several parts where I would not know where to put them.
The way I see it at the moment, we have 5 distinct modifications, two of which share a commit:
It would take some time to work out whether these branches each make sense on their own. I'd prefer to only invest that effort if I know it is actually needed. Would you be willing to review some of these aspects, Jeroen? If so, that would be one reason for formatting things in the way you prefer. |
comment:10
Replying to @gagern:
That is totally understandable.
Sorry, but probably not. I just looked at this ticket, hoping for a "quick fix" to the issue mentioned in the ticket. But I personally don't care that much. |
comment:11
Replying to @gagern:
My rule is: when in doubt, make a new ticket. Generally, that makes things easiest to review. Imagine there is a reviewer who cares very much about the |
comment:12
Replying to @jdemeyer:
I can understand your argument. On the other hand, reviewing a branch officially entails running the complete test suite, including long tests. I'd rather do that once only instead of five times. But I guess I'll have a look at how much trouble splitting this stuff actually is, and act according to that. If I can simply cherry-pick the commits as described above, and they pass doctests, that's probably what I'll do. |
comment:13
I completely agree that this ticket should first only take care of missing animations. Also, is this at all related to this sage-support discussion? It should be clear exactly when/where this is necessary. |
Changed branch from u/gagern/ticket/16533 to u/gagern/ticket/16533b |
comment:14
OK, I'm splitting things up:
I hope Trac will pick up my new branch now. New commits:
|
comment:15
See also #15081, though I'm not sure which (if any) of the followup tickets are directly related to that one. |
comment:16
Okay, I'm 99% sure that #12827 caused this. Do we really need all this infrastructure for this to be fixed? (I'm not saying we don't, just checking.) |
comment:17
Replying to @kcrisman:
Ok; I worked on #12827, and I confess I didn't think to check functionality in the notebook. The following is indeed broken, but I don't know why (I haven't read this ticket yet):
Moreover, when I do
I get nothing, but when I do
the gif is saved and is displayed. I'll investigate further . . . |
comment:18
Replying to @kcrisman:
I agree, namely the two instances where
Not neccessarily. We could get away with just replacing The reason to have all this infrastructure is twofold. On the one hand, it also facilitates later improvements, like #7298 and #16571. On the other hand, it makes code more similar to
I think this commonness justifies the larger footprint of my modification, but if you want to aim for a fix which is as small as possible, then concentrating on the |
comment:19
Replying to @nilesjohnson:
The former saves in a temporary directory which the notebook knows nothing about, whereas the latter saves in the current directory where the notebook will find the file and display it to the user. Also note #16573 about this “I get nothing” user experience. |
comment:20
Hopefully you and Niles can come to some resolution of this that
|
comment:31
Great discussion! But let's keep in mind that probably in this particular case the most important thing is that Sage 6.3 allows animations to work again. Niles' branch doesn't allow me to look at various commits, but I think that just making this work first is most important, even if that means a slight amount of rebasing for the "right fix". Let's put it this way - I don't think a one-liner change really will mean much difference for gagern's code, because he can just put that in another ticket and even use the same exact branch :-) |
comment:34
Just a pointer about the temporary filenames: see also #15515 (which I admit, needs work). |
comment:35
I guess I should close this ticket here, since various derived tickets will take care of the distinct aspects. Since I can't do so now, I'll check whether I can after accepting it first. #16608 and #16645 are the most immediate fix to the problem described in the ticket description. Here is a list of related tickets:
At the moment, there is no commit in any of these to tweak |
comment:36
OK, even as the owner of the ticket I can't close it. Too bad. So let's call this a duplicate now, and be done with it. If anyone with sufficient privileges stumbles upon this, feel free to close. |
comment:37
Correct, but you can put it to positive review. The release manager is the only person supposed to close tickets, just so we have everything tracked properly. But this workflow is the equivalent of that in other projects with "committers". |
comment:38
Replying to @kcrisman:
Thanks for the clarification. I guess I thought of “review” mostly in terms of “code review” and therefore didn't apply it to situations where there is no code to review. |
The following example, taken from the documentation of the animate module, produces no visible output in the notebook:
CC: @kcrisman @jhpalmieri
Component: graphics
Author: Martin von Gagern
Branch/Commit: u/gagern/ticket/16533b @
f7d57dc
Issue created by migration from https://trac.sagemath.org/ticket/16533
The text was updated successfully, but these errors were encountered: