Closed ssfrr closed 4 years ago
whoops, just realized I'm not on the latest Weave.jl
. Updating seems to have resolve the issue. Sorry for the noise!
Whoops, actually after a fresh Julia reboot it seems I'm seeing the issue again.
I see the same. Base.include in the __init__() function in Weave.jl seems to search the file to include in the current directory instead of in the Weave module directory. The following fix solved the issue here.
function __init__()
@require Plots="91a5bcdd-55d7-5caf-9e0b-520d859cae80" Base.include(Main, joinpath(dirname(pathof(Weave)), "plots.jl"))
@require Gadfly="c91e804a-d5a3-530f-b6f0-dfbca275c004" Base.include(Main, joinpath(dirname(pathof(Weave)), "gadfly.jl"))
end
It looks like Weave.jl is trying to find a file
plots.jl
relative to the current working directory. I my notebooks I often set the directory explicitly for searching for local resources, data etc. Recently it started throwing this error. It doesn't seem to negatively affect the operation - I still get my render out.I'm using Weave v0.9.1, from within Atom/Juno using
language-weave
v0.6.7.