Skip to content

fix typo

fix typo #259

Triggered via push October 16, 2024 15:50
Status Failure
Total duration 8m 6s
Artifacts

CI.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 5 warnings, and 1 notice
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:407-410 ```@example tutorial outs, success_flag = DuctAPE.analyze(ducted_rotor, operating_point, reference_parameters, options) nothing # hide ``` exception = type Section has no field ref Stacktrace: [1] _broadcast_getindex_evalf @ ./broadcast.jl:673 [inlined] [2] _broadcast_getindex @ ./broadcast.jl:646 [inlined] [3] getindex @ ./broadcast.jl:605 [inlined] [4] copy @ ./broadcast.jl:906 [inlined] [5] materialize @ ./broadcast.jl:867 [inlined] [6] getproperty(obj::Vector{DuctAPE.C4Blade.Section{Float64, Float64, Float64, DuctAPE.C4Blade.DFDCairfoil{Float64, Bool}}}, sym::Symbol) @ DuctAPE.C4Blade ~/work/DuctAPE.jl/DuctAPE.jl/src/C4Blade/C4Blade.jl:107 [7] dataids(A::Vector{DuctAPE.C4Blade.Section{Float64, Float64, Float64, DuctAPE.C4Blade.DFDCairfoil{Float64, Bool}}}) @ Base ./abstractarray.jl:1562 [8] mightalias @ ./abstractarray.jl:1537 [inlined] [9] unalias @ ./abstractarray.jl:1500 [inlined] [10] broadcast_unalias @ ./broadcast.jl:941 [inlined] [11] preprocess @ ./broadcast.jl:948 [inlined] [12] preprocess_args @ ./broadcast.jl:950 [inlined] [13] preprocess @ ./broadcast.jl:947 [inlined] [14] copyto! @ ./broadcast.jl:964 [inlined] [15] copyto! @ ./broadcast.jl:920 [inlined] [16] copy @ ./broadcast.jl:892 [inlined] [17] materialize @ ./broadcast.jl:867 [inlined] [18] initialize_velocities!(solver_options::ChainSolverOptions{Bool, Int64, DuctAPE.ExternalSolverOptions}, vz_rotor::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, vtheta_rotor::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, Cm_wake::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, operating_point::@NamedTuple{Vinf::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, rhoinf::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, muinf::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, asound::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Omega::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}}, blade_elements::@NamedTuple{B::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Rtip::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Rhub::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, fliplift::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, chords::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, twists::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, stagger::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, solidity::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, rotor_panel_centers::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, inner_fraction::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, outer_airfoil::Matrix{DuctAPE.C4Blade.DFDCairfoil{Float64, Bool}}, inner_airfoil::Matrix{DuctAPE.C4Blade.DFDCairfoil{Float64, Bool}}}, linsys::@NamedTuple{A_bb::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, b_bf::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, A_bw::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, A_pw::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, A_b
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:416-419 ```@example tutorial # Total Thrust Coefficient outs.totals.CT ``` exception = UndefVarError: `outs` not defined in `Main.__atexample__named__tutorial` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ :0 [2] eval @ ./boot.jl:430 [inlined] [3] #60 @ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:522 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:632 [9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:420-423 ```@example tutorial # Total Torque Coefficient outs.totals.CQ ``` exception = UndefVarError: `outs` not defined in `Main.__atexample__named__tutorial` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ :0 [2] eval @ ./boot.jl:430 [inlined] [3] #60 @ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:522 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:632 [9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:435-453 ```@example tutorial # - Advance Ratio Range - # Js = range(0.0, 2.0; step=0.01) # - Calculate Vinfs - # D = 2.0 * rotor.Rtip[1] # rotor diameter n = RPM / 60.0 # rotation rate in revolutions per second Vinfs = Js * n * D # - Set Operating Points - # operating_points = [deepcopy(operating_point) for i in 1:length(Vinfs)] for (iv, v) in enumerate(Vinfs) operating_points[iv].Vinf[] = v end # - Run Multi-point Analysis - # outs_vec, success_flags = DuctAPE.analyze(ducted_rotor, operating_points, reference_parameters, DuctAPE.set_options(operating_points)) nothing #hide ``` exception = type Section has no field ref Stacktrace: [1] _broadcast_getindex_evalf @ ./broadcast.jl:673 [inlined] [2] _broadcast_getindex @ ./broadcast.jl:646 [inlined] [3] getindex @ ./broadcast.jl:605 [inlined] [4] copy @ ./broadcast.jl:906 [inlined] [5] materialize @ ./broadcast.jl:867 [inlined] [6] getproperty(obj::Vector{DuctAPE.C4Blade.Section{Float64, Float64, Float64, DuctAPE.C4Blade.DFDCairfoil{Float64, Bool}}}, sym::Symbol) @ DuctAPE.C4Blade ~/work/DuctAPE.jl/DuctAPE.jl/src/C4Blade/C4Blade.jl:107 [7] dataids(A::Vector{DuctAPE.C4Blade.Section{Float64, Float64, Float64, DuctAPE.C4Blade.DFDCairfoil{Float64, Bool}}}) @ Base ./abstractarray.jl:1562 [8] mightalias @ ./abstractarray.jl:1537 [inlined] [9] unalias @ ./abstractarray.jl:1500 [inlined] [10] broadcast_unalias @ ./broadcast.jl:941 [inlined] [11] preprocess @ ./broadcast.jl:948 [inlined] [12] preprocess_args @ ./broadcast.jl:950 [inlined] [13] preprocess @ ./broadcast.jl:947 [inlined] [14] copyto! @ ./broadcast.jl:964 [inlined] [15] copyto! @ ./broadcast.jl:920 [inlined] [16] copy @ ./broadcast.jl:892 [inlined] [17] materialize @ ./broadcast.jl:867 [inlined] [18] initialize_velocities!(solver_options::ChainSolverOptions{Bool, Int64, DuctAPE.ExternalSolverOptions}, vz_rotor::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, vtheta_rotor::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, Cm_wake::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, operating_point::@NamedTuple{Vinf::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, rhoinf::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, muinf::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, asound::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Omega::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}}, blade_elements::@NamedTuple{B::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Rtip::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Rhub::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, fliplift::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, chords::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, twists::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, stagger::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, solidity::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, rotor_panel_centers::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, inner_fraction::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, outer_airfoil::Matrix{DuctAPE.C4Blade.DFDCairfoil{Float64, Bool}}, inner_airfoil::Matrix{DuctAPE.C4Blade.DFDCairfoil{Float64, Bool}}}, linsy
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:502-512 ```@example tutorial # - extract efficiency, power, and thrust coefficients - # # efficiency eta = (p->p.totals.total_efficiency[1]).(outs_vec) # power cp = (p->p.totals.CP[1]).(outs_vec) # thrust ct = (p->p.totals.CT[1]).(outs_vec) nothing #hide ``` exception = UndefVarError: `outs_vec` not defined in `Main.__atexample__named__tutorial` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ tutorial.md:506 [2] eval @ ./boot.jl:430 [inlined] [3] #60 @ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:522 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:632 [9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:516-583 ```@example tutorial include(normpath(joinpath(splitdir(pathof(DuctAPE))[1], "..", "docs", "src", "assets", "plots_default.jl"))) # set up efficiency plot pe = plot(; xlabel="Advance Ratio", ylabel="Efficiency") # plot DFDC data plot!( pe, dfdc_J, dfdc_eta; seriestype=:scatter, markersize=5, markercolor=plotsgray, markerstrokecolor=plotsgray, label="DFDC" ) # Plot DuctAPE outputs plot!(pe, Js, eta; linewidth=2, color=primary, label = "DuctAPE") # setup cp/ct plot ppt = plot(; xlabel="Advance Ratio") # plot DFDC data plot!( ppt, dfdc_J, dfdc_cp; seriestype=:scatter, markersize=5, markercolor=plotsgray, markerstrokecolor=primary, markerstrokewidth=2, label="DFDC Cp" ) plot!( ppt, dfdc_J, dfdc_ct; seriestype=:scatter, markersize=5, markercolor=plotsgray, markerstrokecolor=secondary, markerstrokewidth=2, label="DFDC Ct" ) # plot DuctAPE outputs plot!( ppt, Js, cp; linewidth=1.5, color=primary, label="DuctAPE Cp" ) plot!( ppt, Js, ct; linewidth=1.5, color=secondary, label="DuctAPE Ct" ) plot(pe, ppt; size=(700,350), layout=(1,2), margin=2mm) ``` exception = UndefVarError: `eta` not defined in `Main.__atexample__named__tutorial` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in SpecialFunctions. Stacktrace: [1] top-level scope @ tutorial.md:535 [2] eval @ ./boot.jl:430 [inlined] [3] #60 @ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:522 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:632 [9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:752
Documentation
Process completed with exit code 1.
Julia 1.10 - ubuntu-latest - x64 - push
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
Julia 1.10 - macos-latest - x64 - push
Codecov: Failed to properly create commit: The process '/Users/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
Julia 1.10 - ubuntu-latest - x86 - push
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
Julia 1.10 - windows-latest - x64 - push
Codecov: Failed to properly create commit: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1
Julia 1.10 - windows-latest - x86 - push
Codecov: Failed to properly create commit: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1
[julia-buildpkg] Caching of the julia depot was not detected
Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true`