-
-
Notifications
You must be signed in to change notification settings - Fork 284
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
Problem using Plots convenience macros @gif and @animate on Julia 1.11.0-beta1 #2907
Comments
I am seeing the same on linux
|
@oxinabox What code caused the problem for you? Do you have an example that you can share? |
I was going to create a MWE for you, but I now find that Pluto cannot run at all with 1.11.0-beta1 (in Linux now). Here is the output from a fresh session in which I chose to "Create a New Notebook", upon which the Pluto session crashed (bar on top turned red and "Restart notebook (required)" message appears:
|
@adannenberg Could you upgrade to |
Threads.@threads
on Julia 1.11.0-beta1
Yes, that did it. Thank you. From now on I'll check against Main rather
than the last release.
…_______________________
Alex Dannenberg
33 The Ledges Road
Newton MA 02459
Tel 617.584.8969
***@***.***
On Fri, May 24, 2024 at 3:59 AM Fons van der Plas ***@***.***> wrote:
@adannenberg <https://github.com/adannenberg> Could you upgrade to
Pluto#main and try again? This was fixed in #2910
<#2910>
—
Reply to this email directly, view it on GitHub
<#2907 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA3RZZBOT75ZC64S3DBIYG3ZD3XNTAVCNFSM6AAAAABHDUHZHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRYHA2DKMBUGQ>
.
You are receiving this because you were mentioned.Message ID: <fonsp/Pluto
.***@***.***>
|
Here's a zipped version of a simple notebook called mwe.jl that generates the REPL output below in Julia 1.11.0-beta1. The notebook runs without problem under Julia 1.10.3 I'm using a temp environment to which I've added only
My environment is
The output to the REPL from running mwe.jl is:
|
i closed the issue by mistake. reopening... |
By the way, the name of this issue now seems to be wrong: The examples in https://docs.julialang.org/en/v1/manual/multi-threading/ all work using Julia 1.11.0-beta and Pluto#main. The issue seems to be with the plotting macros like @gif and @Animate |
Threads.@threads
on Julia 1.11.0-beta1
I understand that 1.11 is in beta and not everything is expected to work, including packages like Pluto that may need to be changed to work properly with 1.11 once it's production ready. I file this issue only to, perhaps, be helpful - not to complain about things not working when there's no expectation that they should. With that caveat and apology, the error message below is what's reported for a notebook that works fine when launched under 1.10.3. I didn't see a reported issue that looked similar, so I thought I should file one. I wasn't able to come up with a MWE but it may be worth mentioning that the code uses a for loop parallelized with a
Threads.@threads
prefix and also creates a gif using@animate
. Hope this is useful.The text was updated successfully, but these errors were encountered: