Skip to content

Update read zip example #80

Update read zip example

Update read zip example #80

Triggered via push December 19, 2023 15:56
Status Failure
Total duration 7m 18s
Artifacts

CI.yml

on: push
Documentation
7m 9s
Documentation
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L44
failed to run `@example` block in src/index.md:36-46 ```@example tutorial using ZipFile, Rasters, Plots, ArchGDAL f = ZipFile.Reader(path).files[1] open(f.name, "w") do d data = read(f, String) write(d, data) end cube = Raster(f.name) ``` exception = SystemError: seek: Bad file descriptor Stacktrace: [1] systemerror(p::String, errno::Int32; extrainfo::Nothing) @ Base ./error.jl:176 [2] #systemerror#82 @ ./error.jl:175 [inlined] [3] systemerror @ ./error.jl:175 [inlined] [4] seek(s::IOStream, n::UInt64) @ Base ./iostream.jl:129 [5] ensure_zio!(f::ZipFile.ReadableFile) @ ZipFile ~/.julia/packages/ZipFile/yQ7yx/src/ZipFile.jl:497 [6] read(f::ZipFile.ReadableFile, nb::Int64) @ ZipFile ~/.julia/packages/ZipFile/yQ7yx/src/ZipFile.jl:562 [7] read @ ~/.julia/packages/ZipFile/yQ7yx/src/ZipFile.jl:562 [inlined] [8] read(s::ZipFile.ReadableFile, #unused#::Type{String}) @ Base ./io.jl:1004 [9] (::Main.__atexample__named__tutorial.var"#1#2")(d::IOStream) @ Main.__atexample__named__tutorial ./index.md:41 [10] open(::Main.__atexample__named__tutorial.var"#1#2", ::String, ::Vararg{String}; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) @ Base ./io.jl:395 [11] open(::Function, ::String, ::String) @ Base ./io.jl:392 [12] top-level scope @ index.md:40 [13] eval @ ./boot.jl:370 [inlined] [14] #58 @ ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:754 [inlined] [15] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [16] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:753 [17] (::IOCapture.var"#3#5"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, Task, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/8Uj7o/src/IOCapture.jl:119 [18] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:514 [19] with_logger @ ./logging.jl:626 [inlined] [20] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool) @ IOCapture ~/.julia/packages/IOCapture/8Uj7o/src/IOCapture.jl:116 [21] runner(#unused#::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L44
failed to run `@example` block in src/index.md:50-52 ```@example tutorial plot(cube) ``` exception = UndefVarError: `cube` not defined Stacktrace: [1] top-level scope @ index.md:51 [2] eval @ ./boot.jl:370 [inlined] [3] #58 @ ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#3#5"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, Task, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/8Uj7o/src/IOCapture.jl:119 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:514 [8] with_logger @ ./logging.jl:626 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool) @ IOCapture ~/.julia/packages/IOCapture/8Uj7o/src/IOCapture.jl:116 [10] runner(#unused#::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:752
Documentation
Process completed with exit code 1.