-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
"workspaces" break serialization #1030
Comments
@dralletje and I were discussing this one yesterday. It's a bit unfortunate that |
Now as Pluto supports the use of Distributed via Malt.jl, this issue appears again. A simple remote call like remotecall_fetch(() -> readchomp(`hostname`), pid) already gives the error like
I opened an issue on julialang/julia for this JuliaLang/Distributed.jl#1 |
I'm trying to persist some structs between restarts of a notebook, but this doesn't work due to
workspaceXXX
being prepended to each module name.A simple example follows.
Everything works fine here.
2. Remove the
serialize(...)
cell.3. Restart the notebook.
4. The
M
module is now namedMain.workspace13.M
. Correspondingly,deserialize()
fails withUndefVarError: workspace5 not defined
error.How to fix this error for now?
The text was updated successfully, but these errors were encountered: