-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:
Multibody [e1cad5d1-98ef-44f9-a79a-9ca4547f95b9]
Failed to precompile Multibody [e1cad5d1-98ef-44f9-a79a-9ca4547f95b9] to "/Users/ranjan/.julia/compiled/v1.10/Multibody/jl_tQr8h4".
Important Note: JuliaHub products (JuliaSim with all its modules, and all
JuliaSim packages provided through the JuliaHubRegistry) are commercial
products of JuliaHub, Inc. They are free to use for non-commercial academic
teaching and research purposes. For commercial users, license fees apply.
Please refer to the End User License Agreement (https://juliahub.com/company/eula/)
for details. Please contact sales@juliahub.com for purchasing information.
To report any bugs, issues, or feature requests for JuliaSim software,
please use the public Github repository JuliaSimIssues, located at
https://github.com/JuliaComputing/JuliaSimIssues.
ERROR: LoadError: illegal dispatch, expect to be overloaded by @data: got Nothing for SciMLBase.Clocks.PeriodicClock
Stacktrace:
[1] isa_variant(x::Nothing, variant::Type)
@ Moshi.Data ~/.julia/packages/Moshi/SEGHC/src/data/runtime.jl:185
[2] isclock(c::Nothing)
@ SciMLBase ~/.julia/packages/SciMLBase/sYmAV/src/clock.jl:43
[3] extract_ir(ex::SymbolicUtils.BasicSymbolic{Real}, iv::SymbolicUtils.BasicSymbolic{Real}, var_to_ssa::Nothing; name_to_id::Nothing, eq_idx::Int64, scalarize::Bool, ir::JuliaSimCompiler.SymIR, ex_to_ssa::IdDict{Any, Int64}, var_to_clock::Dict{JuliaSimCompiler.ADT.IRElement, Float64})
@ JuliaSimCompiler.SymbolicsConversion ~/.julia/packages/JuliaSimCompiler/Ed9pn/src/structural_transformation/SymbolicsConversion.jl:605
[4] extract_ir(ex::SymbolicUtils.BasicSymbolic{Real}, iv::SymbolicUtils.BasicSymbolic{Real}, var_to_ssa::Nothing; name_to_id::Nothing, eq_idx::Int64, scalarize::Bool, ir::JuliaSimCompiler.SymIR, ex_to_ssa::IdDict{Any, Int64}, var_to_clock::Dict{JuliaSimCompiler.ADT.IRElement, Float64}) (repeats 2 times)
@ JuliaSimCompiler.SymbolicsConversion ~/.julia/packages/JuliaSimCompiler/Ed9pn/src/structural_transformation/SymbolicsConversion.jl:701
[5] extract_ir(eq::Symbolics.Equation, iv::SymbolicUtils.BasicSymbolic{Real}; kwargs::@Kwargs{name_to_id::Nothing, eq_idx::Int64, var_to_clock::Dict{JuliaSimCompiler.ADT.IRElement, Float64}})
@ JuliaSimCompiler.SymbolicsConversion ~/.julia/packages/JuliaSimCompiler/Ed9pn/src/structural_transformation/SymbolicsConversion.jl:103
[6] extract_ir
@ ~/.julia/packages/JuliaSimCompiler/Ed9pn/src/structural_transformation/SymbolicsConversion.jl:102 [inlined]
[7] #29
@ ~/.julia/packages/JuliaSimCompiler/Ed9pn/src/structural_transformation/SymbolicsConversion.jl:770 [inlined]
[8] iterate
@ ./generator.jl:47 [inlined]
[9] collect(itr::Base.Generator{Base.Iterators.Enumerate{Vector{Symbolics.Equation}}, JuliaSimCompiler.SymbolicsConversion.var"#29#30"{Nothing, SymbolicUtils.BasicSymbolic{Real}, Dict{JuliaSimCompiler.ADT.IRElement, Float64}}})
@ Base ./array.jl:834
[10] map
@ ./abstractarray.jl:3314 [inlined]
[11] JuliaSimCompiler.IRSystem(eqs::Vector{Symbolics.Equation}, iv::SymbolicUtils.BasicSymbolic{Real}; defaults::Dict{Any, Any}, ps::Vector{Any}, sts::Vector{SymbolicUtils.BasicSymbolic{Real}}, name_to_id::Nothing, continuous_events::Vector{ModelingToolkit.SymbolicContinuousCallback})
@ JuliaSimCompiler.SymbolicsConversion ~/.julia/packages/JuliaSimCompiler/Ed9pn/src/structural_transformation/SymbolicsConversion.jl:770
[12] JuliaSimCompiler.IRSystem(sys′::ModelingToolkit.ODESystem; rec::Bool, expand::Bool, name_to_id::Nothing, kwargs::@Kwargs{})
@ JuliaSimCompiler.SymbolicsConversion ~/.julia/packages/JuliaSimCompiler/Ed9pn/src/structural_transformation/SymbolicsConversion.jl:850
[13] JuliaSimCompiler.IRSystem(sys′::ModelingToolkit.ODESystem)
@ JuliaSimCompiler.SymbolicsConversion ~/.julia/packages/JuliaSimCompiler/Ed9pn/src/structural_transformation/SymbolicsConversion.jl:828
[14] macro expansion
@ ~/.julia/packages/JuliaSimCompiler/Ed9pn/src/JuliaSimCompiler.jl:78 [inlined]
[15] macro expansion
@ ~/.julia/packages/SnoopPrecompile/1XXT1/src/SnoopPrecompile.jl:62 [inlined]
[16] macro expansion
@ ~/.julia/packages/JuliaSimCompiler/Ed9pn/src/JuliaSimCompiler.jl:77 [inlined]
[17] top-level scope
@ ~/.julia/packages/SnoopPrecompile/1XXT1/src/SnoopPrecompile.jl:119
[18] include
@ ./Base.jl:495 [inlined]
[19] 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::String)
@ Base ./loading.jl:2285
[20] top-level scope
@ stdin:3
in expression starting at /Users/ranjan/.julia/packages/JuliaSimCompiler/Ed9pn/src/JuliaSimCompiler.jl:1
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile JuliaSimCompiler [8391cb6b-4921-5777-4e45-fd9aab8cb88d] to "/Users/ranjan/.julia/compiled/v1.10/JuliaSimCompiler/jl_IS3WTT".
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
@ Base ./loading.jl:2531
[3] compilecache
@ ./loading.jl:2403 [inlined]
[4] (::Base.var"#969#970"{Base.PkgId})()
@ Base ./loading.jl:2037
[5] mkpidlock(f::Base.var"#969#970"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile ~/.julia/juliaup/julia-1.10.7+0.aarch64.apple.darwin14/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:93
[6] #mkpidlock#6
@ ~/.julia/juliaup/julia-1.10.7+0.aarch64.apple.darwin14/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:88 [inlined]
[7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile ~/.julia/juliaup/julia-1.10.7+0.aarch64.apple.darwin14/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:111
[8] #invokelatest#2
@ ./essentials.jl:894 [inlined]
[9] invokelatest
@ ./essentials.jl:889 [inlined]
[10] maybe_cachefile_lock(f::Base.var"#969#970"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base ./loading.jl:3046
[11] maybe_cachefile_lock
@ ./loading.jl:3043 [inlined]
[12] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2033
[13] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1875
[14] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[15] invoke_in_world
@ ./essentials.jl:923 [inlined]
[16] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1866
[17] macro expansion
@ ./loading.jl:1853 [inlined]
[18] macro expansion
@ ./lock.jl:267 [inlined]
[19] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1816
[20] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[21] invoke_in_world
@ ./essentials.jl:923 [inlined]
[22] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1809
[23] include
@ ./Base.jl:495 [inlined]
[24] 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:2285
[25] top-level scope
@ stdin:3
in expression starting at /Users/ranjan/.julia/packages/Multibody/7G3lP/src/Multibody.jl:3
in expression starting at stdin:KonstantinDege
Metadata
Metadata
Assignees
Labels
No labels