Examples #183
Annotations
4 errors, 2 warnings, and 1 notice
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/examples.md:11-16
```@example examples
import GalerkinToolkit as GT
import GLMakie
import ForwardDiff
using LinearAlgebra
```
exception =
The following 1 direct dependency failed to precompile:
GLMakie
Failed to precompile GLMakie [e9467ef8-e4e7-5192-8a1a-b1aee30e663a] to "/home/runner/.julia/compiled/v1.11/GLMakie/jl_SP9vqt".
┌ Warning: OpenGL/GLFW wasn't loaded correctly or couldn't be initialized.
│ This likely means, you're on a headless server without having OpenGL support setup correctly.
│ Have a look at the troubleshooting section in the readme:
│ https://github.com/MakieOrg/Makie.jl/tree/master/GLMakie#troubleshooting-opengl.
└ @ GLMakie ~/.julia/packages/GLMakie/JHrMq/src/gl_backend.jl:4
ERROR: LoadError: InitError: Exception[GLFW.GLFWError(65550, "X11: The DISPLAY environment variable is missing"), ErrorException("glfwInit failed")]
Stacktrace:
[1] __init__()
@ GLFW ~/.julia/packages/GLFW/wmoTL/src/GLFW.jl:35
[2] run_module_init(mod::Module, i::Int64)
@ Base ./loading.jl:1336
[3] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1324
[4] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}, ignore_native::Nothing; register::Bool)
@ Base ./loading.jl:1213
[5] _include_from_serialized (repeats 2 times)
@ ./loading.jl:1169 [inlined]
[6] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String})
@ Base ./loading.jl:1985
[7] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2450
[8] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2315
[9] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[10] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[11] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2302
[12] macro expansion
@ ./loading.jl:2241 [inlined]
[13] macro expansion
@ ./lock.jl:273 [inlined]
[14] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2198
[15] #invoke_in_world#3
@ ./essentials.jl:1089�[2
|
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/examples.md:20-24
```@example examples
# TODO a more elegant way of getting the mesh
mesh = GT.mesh_from_gmsh("../../assets/mesh1.msh")
GLMakie.plot(mesh,strokecolor=:black)
```
exception =
UndefVarError: `GLMakie` not defined in `Main.__atexample__named__examples`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ examples.md:23
[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
|
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/examples.md:34-55
```@example examples
k = 1
Ω = GT.interior(mesh)
Γd1 = GT.boundary(mesh;physical_names=["top"])
Γd2 = GT.boundary(mesh;physical_names=["bottom"])
g1 = GT.analytical_field(x->1,Ω)
g2 = GT.analytical_field(x->2,Ω)
g = GT.piecewiese_field(g1,g2)
Γd = GT.piecewiese_domain(Γd1,Γd2)
V = GT.lagrange_space(Ω,k;dirichlet_boundary=Γd)
dΩ = GT.measure(Ω,2*k)
uhd = GT.dirichlet_field(Float64,V)
GT.interpolate_dirichlet!(g,uhd)
gradient(u) = x->ForwardDiff.gradient(u,x)
∇(u,x) = GT.call(gradient,u)(x)
a(u,v) = GT.∫( x->∇(u,x)⋅∇(v,x), dΩ)
l(v) = 0
x,A,b = GT.linear_problem(uhd,a,l)
x .= A\b
uh = GT.solution_field(uhd,x)
GLMakie.plot(Ω,color=uh,strokecolor=:black)
```
exception =
UndefVarError: `⋅` not defined in `Main.__atexample__named__examples`
Suggestion: check for spelling errors or missing imports.
Hint: a global variable of this name may be made accessible by importing LinearAlgebra in the current active module Main
Stacktrace:
[1] (::Main.__atexample__named__examples.var"#7#8"{GalerkinToolkit.Quantity{GalerkinToolkit.GenericMesh{Vector{StaticArraysCore.SVector{3, Float64}}, Vector{PartitionedArrays.JaggedArray{Int32, Int32}}, Vector{Vector{Int32}}, Tuple{NTuple{4, GalerkinToolkit.GenericLagrangeMeshFace{GalerkinToolkit.ExtrusionPolytope{0, Float64, Int64}, Tuple{}, Vector{Int64}}}, Tuple{GalerkinToolkit.GenericLagrangeMeshFace{GalerkinToolkit.ExtrusionPolytope{1, Float64, Int64}, Tuple{Int64}, Vector{Int64}}, GalerkinToolkit.GenericLagrangeMeshFace{GalerkinToolkit.ExtrusionPolytope{1, Float64, Int64}, Tuple{Int64}, Vector{Int64}}, GalerkinToolkit.GenericLagrangeMeshFace{GalerkinToolkit.ExtrusionPolytope{1, Float64, Int64}, Tuple{Int64}, Vector{Int64}}}, Tuple{GalerkinToolkit.GenericLagrangeMeshFace{GalerkinToolkit.ExtrusionPolytope{2, Float64, Int64}, Tuple{Int64, Int64}, Vector{Int64}}, GalerkinToolkit.GenericLagrangeMeshFace{GalerkinToolkit.ExtrusionPolytope{2, Float64, Int64}, Tuple{Int64, Int64}, Vector{Int64}}}, Tuple{GalerkinToolkit.GenericLagrangeMeshFace{GalerkinToolkit.ExtrusionPolytope{3, Float64, Int64}, Tuple{Int64, Int64, Int64}, Vector{Int64}}}}, Pair{Vector{Int32}, Vector{Int32}}, Vector{Dict{String, Vector{Int32}}}, Nothing}, GalerkinToolkit.var"#478#480"{PartitionedArrays.JaggedArray{Int32, Int32}, GalerkinToolkit.var"#417#419"{GalerkinToolkit.var"#408#409"{typeof(GalerkinToolkit.inverse_map_impl)}, Tuple{GalerkinToolkit.var"#444#446"{Tuple{Vector{GalerkinToolkit.var"#49#52"{SubArray{Float64, 1, Matrix{Float64}, Tuple{Base.Slice{Base.OneTo{Int64}}, Int64}, true}, Matrix{GalerkinToolkit.var"#29#31"{StaticArraysCore.SVector{3, Int64}}}}}}, Tuple{GalerkinToolkit.GenericLagrangeMeshFace{GalerkinToolkit.ExtrusionPolytope{3, Float64, Int64}, Tuple{Int64, Int64, Int64}, Vector{Int64}}}, Vector{Int32}, PartitionedArrays.JaggedArray{Int32, Int32}, Vector{Int64}, Vector{StaticArraysCore.SVector{3, Float64}}}, GalerkinToolkit.var"#408#409"{StaticArraysCore.SVector{3, Float64}}}}, GalerkinToolkit.var"#615#616"{Int64, Tuple{Vector{GalerkinToolkit.var"#49#52"{SubArray{Float64, 1, Matrix{Float64}, Tuple{Base.Slice{Base.OneTo{Int64}}, Int64}, true}, Matrix{GalerkinToolkit.var"#544#549"{StaticArraysCore.SVector{3, Int64}}}}}}, Vector{Int32}}}, GalerkinToolkit.var"#477#479"{GalerkinToolkit.var"#475#476"{StaticArraysCore.SVector{3, Float64}}, GalerkinToolkit.var"#49#52"{SubArray{Float64, 1, Matrix{Float64}, Tuple{Base.Slice{Base.OneTo{Int64}}, Int64}, true}, Matrix{GalerkinToolkit.var"#544#549"{StaticArraysCore.SVector{3, Int64}}}}}, GalerkinToolkit.ReferenceDomain{GalerkinToolkit.GenericMesh{Vector{StaticArraysCore.SVector{3, Float64}}, Vector{PartitionedArrays.JaggedArray{Int32, Int32}}, Vector{Vector{Int32}}, Tuple{NTuple{4, GalerkinToolkit.GenericLagrangeMeshFace{GalerkinToolkit.ExtrusionPolytope{0, Float64, Int64}, Tuple{}, Vector{Int64}}}, Tuple{GalerkinToolkit.GenericLagrangeMeshFace{GalerkinToolkit.ExtrusionPolytope{1, Float64, Int64}, Tuple{Int64}, Vector{Int64}}, GalerkinToolkit.GenericLagrangeMeshFace{GalerkinToolkit.ExtrusionPolytope{1,
|
Run julia-actions/julia-docdeploy@v1
Process completed with exit code 1.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run julia-actions/julia-buildpkg@v1
Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true`
|
Loading