baggepinnen/LowLevelParticleFilters.jl

LowLevelParticleFilters won't compile on Julia 1.8/macOS

GlenHenshaw opened this issue · 4 comments

Using julia 1.8.5 installed via juliaup on macOS 13.2.1

    julia> Pkg.precompile()
    Precompiling project...
      ✗ LowLevelParticleFilters
      ✗ ControlSystemIdentification
      0 dependencies successfully precompiled in 9 seconds. 305 already precompiled.
    
    ERROR: The following 2 direct dependencies failed to precompile:
    
    LowLevelParticleFilters [d9d29d28-c116-5dba-9239-57a5fe23875b]
    
    Failed to precompile LowLevelParticleFilters [d9d29d28-c116-5dba-9239-57a5fe23875b] to /Users/glenhenshaw/.julia/compiled/v1.8/LowLevelParticleFilters/jl_TVYZZ2.
    ERROR: LoadError: UndefVarError: SymbolicIndexingInterface not defined
    Stacktrace:
     [1] include(mod::Module, _path::String)
       @ Base ./Base.jl:419
     [2] include(x::String)
       @ LowLevelParticleFilters ~/.julia/packages/LowLevelParticleFilters/neZRi/src/LowLevelParticleFilters.jl:1
     [3] top-level scope
       @ ~/.julia/packages/LowLevelParticleFilters/neZRi/src/LowLevelParticleFilters.jl:28
     [4] include
       @ ./Base.jl:419 [inlined]
     [5] 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:1554
     [6] top-level scope
       @ stdin:1
    in expression starting at /Users/glenhenshaw/.julia/packages/LowLevelParticleFilters/neZRi/src/PFtypes.jl:4
    in expression starting at /Users/glenhenshaw/.julia/packages/LowLevelParticleFilters/neZRi/src/LowLevelParticleFilters.jl:1
    in expression starting at stdin:1
    
    ControlSystemIdentification [3abffc1c-5106-53b7-b354-a47bfc086282]

Hmm, which version of the package do you have? This should have been fixed a few weeks ago in
https://github.com/baggepinnen/LowLevelParticleFilters.jl/releases/tag/v3.3.2

    (@v1.8) pkg> rm LowLevelParticleFilters
        Updating `~/.julia/environments/v1.8/Project.toml`
      [d9d29d28] - LowLevelParticleFilters v3.3.1
      No Changes to `~/.julia/environments/v1.8/Manifest.toml`
    
    (@v1.8) pkg> add LowLevelParticleFilters
       Resolving package versions...
        Updating `~/.julia/environments/v1.8/Project.toml`
    ⌃ [d9d29d28] + LowLevelParticleFilters v3.3.1
      No Changes to `~/.julia/environments/v1.8/Manifest.toml`

I've tried removing it and adding it several times. It's a dependency of ControlSystemIdentification, butt that is compatible with 3.3.4. I can't get the system to move off of 3.3.1.

Try adding the latest version explicitly, the package manager will then tell you exactly why it can't do that

OK, yeah, I figured it out. It was Dojo.jl, a reinforcement learning environment that isn't updated very regularly. Removed it and everything updated correctly. Hooray!