-
-
Notifications
You must be signed in to change notification settings - Fork 322
Closed
Labels
bugSomething isn't workingSomething isn't workingpackage managerPluto's built-in package managerPluto's built-in package manager
Description
Recently I have started getting the following error while trying to open a notebook:
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.NotebookT
opology{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_p
airs::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
If I go back to the Pluto main page, press "x" to stop the notebook and press play button from there to run it, then it runs fine. For me the following notebook is enough to reproduce the issue,
### A Pluto.jl notebook ###
# v0.20.3
using Markdown
using InteractiveUtils
# ╔═╡ 477dd47c-e81c-4564-9bc5-0894e29e08e4
let
using Pkg
Pkg.activate(Base.current_project())
Pkg.status()
end
# ╔═╡ Cell order:
# ╠═477dd47c-e81c-4564-9bc5-0894e29e08e4However, I have observed that it does not error everytime and does run sometimes. I have only observed it when I switch off Pluto Pkg management specifically using a cell with:
let
using Pkg
Pkg.activate(Base.current_project())
Pkg.status()
endand have not observed when Pluto Pkg management is on. But I'm not sure whether they are related. A recording of the issue:
plutopkgissue2.mp4
This was also reported by another user in discourse here.
Other details:
julia> versioninfo()
Julia Version 1.11.2
Commit 5e9a32e7af2 (2024-12-01 20:02 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 24 × Intel(R) Xeon(R) W-3235 CPU @ 3.30GHz
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, cascadelake)
Threads: 16 default, 0 interactive, 8 GC (on 24 virtual cores)
Environment:
LD_LIBRARY_PATH = /apps/rashid/Apps/mambaforge/lib:
JULIA_NUM_THREADS = 16
JULIA_PKG_DEVDIR = /apps/rashid/MyGitProjects
JULIA_NUM_PRECOMPILE_TASKS = 6
(@v1.11) pkg> status Pluto
Status `~/.julia/environments/v1.11/Project.toml`
[c3e4b0f8] Pluto v0.20.3rossviljoen and bertrandkerres
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpackage managerPluto's built-in package managerPluto's built-in package manager