You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the upgrade to MTK v9.33.0, ModelingToolkit doesn't update 🐞
Since the upgrade from MTK v9.32.x to v9.33.0, MTK doesn't update. But there has been no error messages until today. After updating all my Julia packages today, three of my MTK related packages fails to precompile. Here is what it looks like:
Expected behavior
Successful precompilation.
Minimal Reproducible Example 👇
I'll include the pkg> precompile response below under "Error & Stacktrace".
Error & Stacktrace ⚠️
(@v1.10) pkg> precompile
Precompiling project...
✗ ModelingToolkit
✗ ModelingToolkitStandardLibrary
✗ ControlSystemsMTK
0 dependencies successfully precompiled in52 seconds. 441 already precompiled.
ERROR: The following 3 direct dependencies failed to precompile:
ModelingToolkit [961ee093-0014-501f-94e3-6117800e7a78]
Failed to precompile ModelingToolkit [961ee093-0014-501f-94e3-6117800e7a78] to "C:\\Users\\Bernt_Lie\\.julia\\compiled\\v1.10\\ModelingToolkit\\jl_F5B.tmp".
ERROR: LoadError: MethodError:setproperties_object(::SymbolicUtils.BasicSymbolic{Real}, ::@NamedTuple{metadata::Base.ImmutableDict{DataType, Any}}) is ambiguous.
Candidates:setproperties_object(obj::SymbolicUtils.BasicSymbolic{T}, patch) where T
@ SymbolicUtils C:\Users\Bernt_Lie\.julia\packages\SymbolicUtils\EGhOJ\src\types.jl:92setproperties_object(obj, patch::NamedTuple)
@ ConstructionBase C:\Users\Bernt_Lie\.julia\packages\ConstructionBase\c2lWA\src\ConstructionBase.jl:205
Possible fix, define
setproperties_object(::SymbolicUtils.BasicSymbolic{T}, ::NamedTuple) where T
Stacktrace:
[1] setproperties(obj::SymbolicUtils.BasicSymbolic{Real}, patch::@NamedTuple{metadata::Base.ImmutableDict{DataType, Any}})
@ ConstructionBase C:\Users\Bernt_Lie\.julia\packages\ConstructionBase\c2lWA\src\ConstructionBase.jl:136
[2] set
@ C:\Users\Bernt_Lie\.julia\packages\Setfield\PdKfV\src\lens.jl:122 [inlined]
[3] macro expansion
@ C:\Users\Bernt_Lie\.julia\packages\Setfield\PdKfV\src\sugar.jl:197 [inlined]
[4] setmetadata(s::SymbolicUtils.BasicSymbolic{Real}, ctx::DataType, val::Tuple{Symbol, Symbol})
@ SymbolicUtils C:\Users\Bernt_Lie\.julia\packages\SymbolicUtils\EGhOJ\src\types.jl:657
[5] top-level scope
@ C:\Users\Bernt_Lie\.julia\packages\ModelingToolkit\GJiqn\src\ModelingToolkit.jl:189
[6] include
@ .\Base.jl:495 [inlined]
[7] 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:2222
[8] top-level scope
@ stdin:3
in expression starting at C:\Users\Bernt_Lie\.julia\packages\ModelingToolkit\GJiqn\src\ModelingToolkit.jl:1
in expression starting at stdin:3
ControlSystemsMTK [687d7614-c7e5-45fc-bfc3-9ee385575c88]
Failed to precompile ControlSystemsMTK [687d7614-c7e5-45fc-bfc3-9ee385575c88] to "C:\\Users\\Bernt_Lie\\.julia\\compiled\\v1.10\\ControlSystemsMTK\\jl_8A00.tmp".
ERROR: LoadError: MethodError:setproperties_object(::SymbolicUtils.BasicSymbolic{Real}, ::@NamedTuple{metadata::Base.ImmutableDict{DataType, Any}}) is ambiguous.
Candidates:setproperties_object(obj::SymbolicUtils.BasicSymbolic{T}, patch) where T
@ SymbolicUtils C:\Users\Bernt_Lie\.julia\packages\SymbolicUtils\EGhOJ\src\types.jl:92setproperties_object(obj, patch::NamedTuple)
@ ConstructionBase C:\Users\Bernt_Lie\.julia\packages\ConstructionBase\c2lWA\src\ConstructionBase.jl:205
Possible fix, define
setproperties_object(::SymbolicUtils.BasicSymbolic{T}, ::NamedTuple) where T
Stacktrace:
[1] setproperties(obj::SymbolicUtils.BasicSymbolic{Real}, patch::@NamedTuple{metadata::Base.ImmutableDict{DataType, Any}})
@ ConstructionBase C:\Users\Bernt_Lie\.julia\packages\ConstructionBase\c2lWA\src\ConstructionBase.jl:136
[2] set
@ C:\Users\Bernt_Lie\.julia\packages\Setfield\PdKfV\src\lens.jl:122 [inlined]
[3] macro expansion
@ C:\Users\Bernt_Lie\.julia\packages\Setfield\PdKfV\src\sugar.jl:197 [inlined]
[4] setmetadata(s::SymbolicUtils.BasicSymbolic{Real}, ctx::DataType, val::Tuple{Symbol, Symbol})
@ SymbolicUtils C:\Users\Bernt_Lie\.julia\packages\SymbolicUtils\EGhOJ\src\types.jl:657
[5] top-level scope
@ C:\Users\Bernt_Lie\.julia\packages\ModelingToolkit\GJiqn\src\ModelingToolkit.jl:189
[6] include
@ .\Base.jl:495 [inlined]
[7] 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:2222
[8] top-level scope
@ stdin:3
in expression starting at C:\Users\Bernt_Lie\.julia\packages\ModelingToolkit\GJiqn\src\ModelingToolkit.jl:1
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile ModelingToolkit [961ee093-0014-501f-94e3-6117800e7a78] to "C:\\Users\\Bernt_Lie\\.julia\\compiled\\v1.10\\ModelingToolkit\\jl_9084.tmp".
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:2468
[3] compilecache
@ .\loading.jl:2340 [inlined]
[4] (::Base.var"#968#969"{Base.PkgId})()
@ Base .\loading.jl:1974
[5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile C:\Users\Bernt_Lie\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:93
[6] #mkpidlock#6
@ C:\Users\Bernt_Lie\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:88 [inlined]
[7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile C:\Users\Bernt_Lie\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\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"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base .\loading.jl:2983
[11] maybe_cachefile_lock
@ .\loading.jl:2980 [inlined]
[12] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:1970
[13] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1812
[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:1803
[17] macro expansion
@ .\loading.jl:1790 [inlined]
[18] macro expansion
@ .\lock.jl:267 [inlined]
[19] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:1753
[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:1746
[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:2222
[25] top-level scope
@ stdin:3
in expression starting at C:\Users\Bernt_Lie\.julia\packages\ControlSystemsMTK\4VQw8\src\ControlSystemsMTK.jl:1
in expression starting at stdin:3
ModelingToolkitStandardLibrary [16a59e39-deab-5bd0-87e4-056b12336739]
Failed to precompile ModelingToolkitStandardLibrary [16a59e39-deab-5bd0-87e4-056b12336739] to "C:\\Users\\Bernt_Lie\\.julia\\compiled\\v1.10\\ModelingToolkitStandardLibrary\\jl_46BA.tmp".
ERROR: LoadError: MethodError:setproperties_object(::SymbolicUtils.BasicSymbolic{Real}, ::@NamedTuple{metadata::Base.ImmutableDict{DataType, Any}}) is ambiguous.
Candidates:setproperties_object(obj::SymbolicUtils.BasicSymbolic{T}, patch) where T
@ SymbolicUtils C:\Users\Bernt_Lie\.julia\packages\SymbolicUtils\EGhOJ\src\types.jl:92setproperties_object(obj, patch::NamedTuple)
@ ConstructionBase C:\Users\Bernt_Lie\.julia\packages\ConstructionBase\c2lWA\src\ConstructionBase.jl:205
Possible fix, define
setproperties_object(::SymbolicUtils.BasicSymbolic{T}, ::NamedTuple) where T
Stacktrace:
[1] setproperties(obj::SymbolicUtils.BasicSymbolic{Real}, patch::@NamedTuple{metadata::Base.ImmutableDict{DataType, Any}})
@ ConstructionBase C:\Users\Bernt_Lie\.julia\packages\ConstructionBase\c2lWA\src\ConstructionBase.jl:136
[2] set
@ C:\Users\Bernt_Lie\.julia\packages\Setfield\PdKfV\src\lens.jl:122 [inlined]
[3] macro expansion
@ C:\Users\Bernt_Lie\.julia\packages\Setfield\PdKfV\src\sugar.jl:197 [inlined]
[4] setmetadata(s::SymbolicUtils.BasicSymbolic{Real}, ctx::DataType, val::Tuple{Symbol, Symbol})
@ SymbolicUtils C:\Users\Bernt_Lie\.julia\packages\SymbolicUtils\EGhOJ\src\types.jl:657
[5] top-level scope
@ C:\Users\Bernt_Lie\.julia\packages\ModelingToolkit\GJiqn\src\ModelingToolkit.jl:189
[6] include
@ .\Base.jl:495 [inlined]
[7] 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:2222
[8] top-level scope
@ stdin:3
in expression starting at C:\Users\Bernt_Lie\.julia\packages\ModelingToolkit\GJiqn\src\ModelingToolkit.jl:1
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile ModelingToolkit [961ee093-0014-501f-94e3-6117800e7a78] to "C:\\Users\\Bernt_Lie\\.julia\\compiled\\v1.10\\ModelingToolkit\\jl_4DCD.tmp".
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:2468
[3] compilecache
@ .\loading.jl:2340 [inlined]
[4] (::Base.var"#968#969"{Base.PkgId})()
@ Base .\loading.jl:1974
[5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile C:\Users\Bernt_Lie\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:93
[6] #mkpidlock#6
@ C:\Users\Bernt_Lie\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:88 [inlined]
[7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile C:\Users\Bernt_Lie\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\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"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base .\loading.jl:2983
[11] maybe_cachefile_lock
@ .\loading.jl:2980 [inlined]
[12] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:1970
[13] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1812
[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:1803
[17] macro expansion
@ .\loading.jl:1790 [inlined]
[18] macro expansion
@ .\lock.jl:267 [inlined]
[19] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:1753
[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:1746
[23] include(mod::Module, _path::String)
@ Base .\Base.jl:495
[24] include(x::String)
@ ModelingToolkitStandardLibrary C:\Users\Bernt_Lie\.julia\packages\ModelingToolkitStandardLibrary\da6f1\src\ModelingToolkitStandardLibrary.jl:1
[25] top-level scope
@ C:\Users\Bernt_Lie\.julia\packages\ModelingToolkitStandardLibrary\da6f1\src\ModelingToolkitStandardLibrary.jl:19
[26] include
@ .\Base.jl:495 [inlined]
[27] 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:2222
[28] top-level scope
@ stdin:3
in expression starting at C:\Users\Bernt_Lie\.julia\packages\ModelingToolkitStandardLibrary\da6f1\src\Blocks\Blocks.jl:1
in expression starting at C:\Users\Bernt_Lie\.julia\packages\ModelingToolkitStandardLibrary\da6f1\src\ModelingToolkitStandardLibrary.jl:1
in expression starting at stdin:3
Environment (please complete the following information):
Output of using Pkg; Pkg.status()
julia>using Pkg
julia> Pkg.status()
Status `C:\Users\Bernt_Lie\.julia\environments\v1.10\Project.toml`
[6e4b80f9] BenchmarkTools v1.5.0
[336ed68f] CSV v0.10.14
[a6e380b2] ControlSystems v1.10.3
[687d7614] ControlSystemsMTK v2.2.0
[a93c6f00] DataFrames v1.6.1
[82cc6244] DataInterpolations v6.1.0
[0c46a032] DifferentialEquations v7.13.0
[b964fa9f] LaTeXStrings v1.3.1
[23fbe1c1] Latexify v0.16.5
⌃ [961ee093] ModelingToolkit v9.32.0
[16a59e39] ModelingToolkitStandardLibrary v2.11.0
[8913a72c] NonlinearSolve v3.14.0
[6fe1bfb0] OffsetArrays v1.14.1
[91a5bcdd] Plots v1.40.5
[98d1487c] PolyesterForwardDiff v0.1.2
[f27b6e38] Polynomials v4.0.11
[37e2e46d] LinearAlgebra
Info Packages marked with ⌃ have new versions available and may be upgradable.
Output of using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
Since the upgrade to MTK v9.33.0, ModelingToolkit doesn't update 🐞
Since the upgrade from MTK v9.32.x to v9.33.0, MTK doesn't update. But there has been no error messages until today. After updating all my Julia packages today, three of my MTK related packages fails to precompile. Here is what it looks like:
Expected behavior
Successful precompilation.
Minimal Reproducible Example 👇
I'll include the
pkg> precompile
response below under "Error & Stacktrace".Error & Stacktrace⚠️
Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: