Pluto Notebook namespace goes stale and packages go missing

I have a difficult bug that only appears after some amount of time has passed. A long running notebook is left open and working for several days everything is fine. Then at some point I open my laptop and most, (not all) using modules are missing from the namespace.

e.g. UndefVarError: CairoMakie not defined

If I rerun the package management cell, the packages give the error of the form:
“The package Clustering.jl could not load because it failed to initialize.”

The only solution is to kill the process and reopen the notebook, where everything will run fine again.

It has been easier to just restart the notebook than figure out what is going on, but just wondering if there has been anyone else seeing this.

My versions are as follows but I will also try updating these to see if it fixes the problem. (Edit: Part of the difficulty is I can’t know if it fixes the problem for a few days or weeks. :zany_face:)

Julia 1.10.5
Pluto v0.20.10

Let me know if it looks familiar. Thanks very much.

2 Likes

Its a relief its a known bug and not something more sinister. Thanks, I really appreciate it. Will follow the pluto issue.