Skip to content

Docs not building on main #185

@simone-silvestri

Description

@simone-silvestri

Ok, now, once #176 was fixed, we have a new error on main:

[ Info: generating markdown page from `/storage5/github-action-runners/actions-runner-3/_work/NumericalEarth.jl/NumericalEarth.jl/examples/global_climate_simulation.jl`
ERROR: LoadError: LoadError: The following 1 direct dependency failed to precompile:

SpeedyWeather 

Failed to precompile SpeedyWeather [9e226e20-d153-4fed-8a5b-493def4f21a9] to "/storage5/github-action-runners/julia-depot/compiled/v1.12/SpeedyWeather/jl_HUDYvB".
ERROR: LoadError: UndefVarError: `SpeedyParameters` not defined in `SpeedyWeatherInternals`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
 [1] top-level scope
   @ /storage5/github-action-runners/julia-depot/packages/SpeedyWeather/voHFE/src/SpeedyWeather.jl:48
 [2] include(mod::Module, _path::String)
   @ Base ./Base.jl:306
 [3] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
   @ Base ./loading.jl:3024
 [4] top-level scope
   @ stdin:5
 [5] eval(m::Module, e::Any)
   @ Core ./boot.jl:489
 [6] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
   @ Base ./loading.jl:2870
 [7] include_string
   @ ./loading.jl:2880 [inlined]
 [8] exec_options(opts::Base.JLOptions)
   @ Base ./client.jl:315
 [9] _start()
   @ Base ./client.jl:550
in expression starting at /storage5/github-action-runners/julia-depot/packages/SpeedyWeather/voHFE/src/SpeedyWeather.jl:1
in expression starting at stdin:
in expression starting at /storage5/github-action-runners/actions-runner-3/_work/NumericalEarth.jl/NumericalEarth.jl/docs/src/literated/global_climate_simulation.md:1
when executing the following code block from inputfile `/storage5/github-action-runners/actions-runner-3/_work/NumericalEarth.jl/NumericalEarth.jl/examples/global_climate_simulation.jl`

using Oceananigans, SpeedyWeather, XESMF, NumericalEarth
using NCDatasets, CairoMakie
using Oceananigans.Units
using Printf, Statistics, Dates

I think it has to do with #133

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions