Skip to content
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

Recording Makie animations in Pluto stalls indefinitely #2283

Open
czimm79 opened this issue Sep 14, 2022 · 4 comments
Open

Recording Makie animations in Pluto stalls indefinitely #2283

czimm79 opened this issue Sep 14, 2022 · 4 comments
Labels
bug Something isn't working other packages Integration with other Julia packages

Comments

@czimm79
Copy link

czimm79 commented Sep 14, 2022

The Pluto cell never completes when I attempt to record an animation when using the Makie record function. I am forced to terminate the notebook and delete the record function to repair the notebook. I've let it run for 10+ minutes and it never completes.

This code works as expected when executed in the REPL, so I believe this is a Pluto issue. Notebook file: https://gist.github.com/czimm79/6755a35e0f48e894cb94550a1dd9ed68

Mini.invention.jl.Pluto.jl.-.Brave.2022-09-14.13-16-48.mp4
@Pangoraw Pangoraw added bug Something isn't working other packages Integration with other Julia packages labels Sep 16, 2022
@Pangoraw
Copy link
Collaborator

Seems related to #2121, one workaround can be to use Pluto.run(capture_stdout=false)

@czimm79
Copy link
Author

czimm79 commented Sep 19, 2022

I still get the same behavior even after starting Pluto with Pluto.run(capture_stdout=false).

@filchristou
Copy link

I have the same problem and Pluto.run(capture_stdout=false) does help.

IMG_0365.mov

Although I would like if it could play on and on automatically, like a gif. is this possible or something must change in Makie's end ?

@Ratfink
Copy link

Ratfink commented Sep 29, 2022

The loop attribute could be added to the HTML <video> tag that's returned by Base.show in Makie (https://github.com/MakieOrg/Makie.jl/blob/master/src/display.jl#L603) to do that. As a workaround until it can be done programmatically, you could just right-click the video and check "Loop".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working other packages Integration with other Julia packages
Projects
None yet
Development

No branches or pull requests

4 participants