Open mtfishman opened 2 years ago
Now this example runs locally for me when I include it.
include
However, I still get the error:
julia> weave(filename, out_path = :pwd) ┌ Info: Weaving chunk 1 from line 34 └ progress = 0.0 ┌ Info: Weaving chunk 2 from line 60 └ progress = 0.2 ┌ Info: Weaving chunk 3 from line 74 └ progress = 0.4 ┌ Info: Weaving chunk 4 from line 74 └ progress = 0.6 ┌ Warning: ERROR: ErrorException occurred, including output in Weaved document └ @ Weave ~/.julia/dev/Weave/src/run.jl:224 ┌ Info: Weaved all chunks └ progress = 1 ERROR: SystemError: opening file "/tmp/jl_3kdZ8J/FIR_design_4_1.png": No such file or directory Stacktrace: [1] systemerror(p::String, errno::Int32; extrainfo::Nothing) @ Base ./error.jl:168 [2] #systemerror#62 @ ./error.jl:167 [inlined] [3] systemerror @ ./error.jl:167 [inlined] [4] open(fname::String; lock::Bool, read::Bool, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing) @ Base ./iostream.jl:293 [5] open(fname::String, mode::String; lock::Bool) @ Base ./iostream.jl:355 [6] open @ ./iostream.jl:355 [inlined] [7] img2base64(fig::String, cwd::String) @ Weave ~/.julia/dev/Weave/src/run.jl:147 [8] embed_figures!(chunk::Weave.CodeChunk, cwd::String) @ Weave ~/.julia/dev/Weave/src/run.jl:140 [9] _broadcast_getindex_evalf @ ./broadcast.jl:648 [inlined] [10] _broadcast_getindex @ ./broadcast.jl:621 [inlined] [11] getindex @ ./broadcast.jl:575 [inlined] [12] macro expansion @ ./broadcast.jl:984 [inlined] [13] macro expansion @ ./simdloop.jl:77 [inlined] [14] copyto! @ ./broadcast.jl:983 [inlined] [15] copyto! @ ./broadcast.jl:936 [inlined] [16] copy @ ./broadcast.jl:908 [inlined] [17] materialize @ ./broadcast.jl:883 [inlined] [18] embed_figures!(chunks::Vector{Weave.CodeChunk}, cwd::String) @ Weave ~/.julia/dev/Weave/src/run.jl:143 [19] run_chunk @ ~/.julia/dev/Weave/src/run.jl:134 [inlined] [20] run_doc(doc::Weave.WeaveDoc; doctype::Nothing, out_path::Symbol, args::Dict{Any, Any}, mod::Nothing, fig_path::Nothing, fig_ext::Nothing, cache_path::String, cache::Symbol) @ Weave ~/.julia/dev/Weave/src/run.jl:74 [21] weave(source::String; doctype::Nothing, informat::Nothing, out_path::Symbol, args::Dict{Any, Any}, mod::Nothing, fig_path::Nothing, fig_ext::Nothing, cache_path::String, cache::Symbol, template::Nothing, css::Nothing, highlight_theme::Nothing, pandoc_options::Vector{String}, latex_cmd::Vector{String}, keep_unicode::Bool) @ Weave ~/.julia/dev/Weave/src/Weave.jl:176 [22] top-level scope @ REPL[4]:1
when I try to run the file with weave.
weave
Fixes #437.
Now this example runs locally for me when I
include
it.However, I still get the error:
when I try to run the file with
weave
.Fixes #437.