Hi. I have a notebook that used to work without problems. I don’t know if my problems stem from my notebook or from a change in Pluto or the other loaded packages. Strangely, the notebook hangs when first launched at 12 of 27 cells and then, if I click on the Pluto icon and then click on the x next to the notebook name and then click again to relaunch, it loads successfully. I haven’t gutted the notebook to create a MWE yet but I hope the info below allows someone to point me in the right direction…
My setup:
Julia Version 1.11.2
Commit 5e9a32e7af2 (2024-12-01 20:02 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: macOS (arm64-apple-darwin24.0.0)
CPU: 10 × Apple M1 Pro
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, apple-m1)
Threads: 8 default, 0 interactive, 4 GC (on 8 virtual cores)
Environment:
JULIA_NUM_THREADS = auto
JULIA_EDITOR = Visual Studio Code
My packages (myFuncs is a local module):
import Pkg
Pkg.activate()
using Plots, PlutoUI, BenchmarkTools, DataFrames, Dates, Revise, myFuncs
Package versions:
[6e4b80f9] BenchmarkTools v1.5.0
[a93c6f00] DataFrames v1.7.0
[91a5bcdd] Plots v1.40.9
[c3e4b0f8] Pluto v0.20.3
[7f904dfe] PlutoUI v0.7.60
[295af30f] Revise v3.6.4
[ade2ca70] Dates v1.11.0
The error I get:
julia> using Pluto; Pluto.run()
[ Info: Loading...
┌ Info:
└ Opening http://localhost:1234/?secret=iK4OPKpS in your default browser... ~ have fun!
┌ Info:
│ Press Ctrl+C in this terminal to stop Pluto
└
schedule: Task not runnable
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] enq_work(t::Task)
@ Base ./task.jl:792
[3] schedule
@ ./task.jl:833 [inlined]
[4] get_workspace(session_notebook::Tuple{Pluto.ServerSession, Pluto.Notebook}; allow_creation::Bool)
@ Pluto.WorkspaceManager ~/.julia/packages/Pluto/esC4R/src/evaluation/WorkspaceManager.jl:342
[5] get_workspace
@ ~/.julia/packages/Pluto/esC4R/src/evaluation/WorkspaceManager.jl:326 [inlined]
[6] bump_workspace_module(session_notebook::Tuple{Pluto.ServerSession, Pluto.Notebook})
@ Pluto.WorkspaceManager ~/.julia/packages/Pluto/esC4R/src/evaluation/WorkspaceManager.jl:252
[7] run_reactive_core!(session::Pluto.ServerSession, notebook::Pluto.Notebook, old_topology::PlutoDependencyExplorer.NotebookTopology{Pluto.Cell}, new_topology::PlutoDependencyExplorer.NotebookTopology{Pluto.Cell}, roots::Vector{Pluto.Cell}; save::Bool, deletion_hook::typeof(Pluto.WorkspaceManager.move_vars), user_requested_run::Bool, already_run::Vector{Pluto.Cell}, bond_value_pairs::Base.Iterators.Zip{Tuple{Vector{Symbol}, Vector{Any}}})
@ Pluto ~/.julia/packages/Pluto/esC4R/src/evaluation/Run.jl:58
[8] (::Pluto.var"#240#246"{Bool, @Kwargs{}, Pluto.ServerSession, Pluto.Notebook})()
@ Pluto ~/.julia/packages/Pluto/esC4R/src/evaluation/Run.jl:481
[9] withtoken(f::Pluto.var"#240#246"{Bool, @Kwargs{}, Pluto.ServerSession, Pluto.Notebook}, token::Pluto.Token)
@ Pluto ~/.julia/packages/Pluto/esC4R/src/evaluation/Tokens.jl:19
[10] #239
@ ~/.julia/packages/Pluto/esC4R/src/evaluation/Run.jl:457 [inlined]
[11] (::Pluto.var"#231#232"{Pluto.var"#239#245"{Bool, @Kwargs{}, Pluto.ServerSession, Pluto.Notebook}})()
@ Pluto ~/.julia/packages/Pluto/esC4R/src/evaluation/Tokens.jl:58
Thoughts?