Open BoZenKhaa opened 3 years ago
This seems to be a duplicate of https://github.com/JuliaIO/BSON.jl/issues/25. Please use BSON.load("./test.bson", @__MODULE__)
Thanks a lot for the tip! However, #25 seems to be closed?
Yes it is closed by #91, but the default value of load(x, init=Main)
can still cause confusions...
Ok, thank you for clarification. I think it could be worthwhile to keep this issue open since the error message seems very cryptic, at least to me. Or should I close this?
The following code
fails in Pluto notebook with
This code runs fine in REPL. When using JLD2, there is no problem in loading saved files, which makes me think this may be a BSON issue and not Pluto or DataFrames issue.