Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

DiffEqOperators fails to precompile on Windows 10, Julia 1.6.0 #398

Closed
draneyjosu opened this issue May 20, 2021 · 2 comments
Closed

DiffEqOperators fails to precompile on Windows 10, Julia 1.6.0 #398

draneyjosu opened this issue May 20, 2021 · 2 comments

Comments

@draneyjosu
Copy link

Hello,
I am on Windows 10, Julia 1.6.0. For some reason Julia fails to precompile DiffEqOperators v4.25.0. Meanwhile, v4.24.0 precompiles just fine.

Output when I try using DiffEqOperators:

julia> using DiffEqOperators
[ Info: Precompiling DiffEqOperators [9fdde737-9c7f-55bf-ade8-46b3f136cc48]
ERROR: LoadError: LoadError: LoadError: Unsupported Expr of type $ found in pattern
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] makepattern(expr::Expr, keys::Vector{Symbol})
    @ SymbolicUtils ~\.julia\packages\SymbolicUtils\oQKim\src\rule.jl:73
  [3] (::SymbolicUtils.var"#60#61"{Vector{Symbol}})(x::Expr)
    @ SymbolicUtils ~\.julia\packages\SymbolicUtils\oQKim\src\rule.jl:70
  [4] iterate
    @ .\generator.jl:47 [inlined]
  [5] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, SymbolicUtils.var"#60#61"{Vector{Symbol}}}, #unused#::Base.EltypeUnknown, isz::Base.HasShape{1})
    @ Base .\array.jl:691
  [6] collect_similar
    @ .\array.jl:606 [inlined]
  [7] map
    @ .\abstractarray.jl:2294 [inlined]
  [8] makepattern(expr::Expr, keys::Vector{Symbol})
    @ SymbolicUtils ~\.julia\packages\SymbolicUtils\oQKim\src\rule.jl:70
  [9] var"@rule"(__source__::LineNumberNode, __module__::Module, expr::Any)
    @ SymbolicUtils ~\.julia\packages\SymbolicUtils\oQKim\src\rule.jl:266
 [10] include(mod::Module, _path::String)
    @ Base .\Base.jl:386
 [11] include(x::String)
    @ DiffEqOperators ~\.julia\packages\DiffEqOperators\DMNmH\src\DiffEqOperators.jl:1
 [12] top-level scope
    @ ~\.julia\packages\DiffEqOperators\DMNmH\src\DiffEqOperators.jl:52
 [13] include
    @ .\Base.jl:386 [inlined]
 [14] 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, UInt64}}, source::Nothing)
    @ Base .\loading.jl:1213
 [15] top-level scope
    @ none:1
 [16] eval
    @ .\boot.jl:360 [inlined]
 [17] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [18] top-level scope
    @ none:1
in expression starting at C:\Users\jacks\.julia\packages\DiffEqOperators\DMNmH\src\MOLFiniteDifference\MOL_discretization.jl:193
in expression starting at C:\Users\jacks\.julia\packages\DiffEqOperators\DMNmH\src\MOLFiniteDifference\MOL_discretization.jl:18
in expression starting at C:\Users\jacks\.julia\packages\DiffEqOperators\DMNmH\src\DiffEqOperators.jl:1
ERROR: Failed to precompile DiffEqOperators [9fdde737-9c7f-55bf-ade8-46b3f136cc48] to C:\Users\jacks\.julia\compiled\v1.6\DiffEqOperators\jl_7EAD.tmp.
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:33
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY)
   @ Base .\loading.jl:1360
 [3] compilecache(pkg::Base.PkgId, path::String)
   @ Base .\loading.jl:1306
 [4] _require(pkg::Base.PkgId)
   @ Base .\loading.jl:1021
 [5] require(uuidkey::Base.PkgId)
   @ Base .\loading.jl:914
 [6] require(into::Module, mod::Symbol)
   @ Base .\loading.jl:901

My first time posting an issue anywhere so let me know if I've done anything wrong or could do anything better. Thanks!

@ChrisRackauckas
Copy link
Member

Upgrade your Symbolics.jl

@draneyjosu
Copy link
Author

That worked! Thank you much.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants