ngsim_env icon indicating copy to clipboard operation
ngsim_env copied to clipboard

Error when using AutoEnvs in Julia

Open mengyuest opened this issue 3 years ago • 3 comments

Hi I tried the installation and encountered this issue. Could you please help me with this? Thanks. I was running on Ubuntu18.04 with Julia 1.1.0

julia> using AutoEnvs
[ERROR: LoadError: LoadError: UndefVarError: EntityQueueRecord not defined
Stacktrace:
 [1] top-level scope at none:0
 [2] include at ./boot.jl:326 [inlined]
 [3] include_relative(::Module, ::String) at ./loading.jl:1038
 [4] include at ./sysimg.jl:29 [inlined]
 [5] include(::String) at /home/meng/.julia/packages/AutoRisk/g60Ag/src/AutoRisk.jl:2
 [6] top-level scope at none:0
 [7] include at ./boot.jl:326 [inlined]
 [8] include_relative(::Module, ::String) at ./loading.jl:1038
 [9] include(::Module, ::String) at ./sysimg.jl:29
 [10] top-level scope at none:2
 [11] eval at ./boot.jl:328 [inlined]
 [12] eval(::Expr) at ./client.jl:404
 [13] top-level scope at ./none:3
in expression starting at /home/meng/.julia/packages/AutoRisk/g60Ag/src/evaluation/simulation.jl:29
in expression starting at /home/meng/.julia/packages/AutoRisk/g60Ag/src/AutoRisk.jl:30
ERROR: LoadError: Failed to precompile AutoRisk [c91b7102-3640-11e9-1a5c-f77073b5ac95] to /home/meng/.julia/compiled/v1.1/AutoRisk/XxXFG.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1197
 [3] _require(::Base.PkgId) at ./loading.jl:960
 [4] require(::Base.PkgId) at ./loading.jl:858
 [5] require(::Module, ::Symbol) at ./loading.jl:853
 [6] include at ./boot.jl:326 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1038
 [8] include(::Module, ::String) at ./sysimg.jl:29
 [9] top-level scope at none:2
 [10] eval at ./boot.jl:328 [inlined]
 [11] eval(::Expr) at ./client.jl:404
 [12] top-level scope at ./none:3
in expression starting at /home/meng/ngsim_env/julia/src/AutoEnvs.jl:3
ERROR: Failed to precompile AutoEnvs [b0c92c82-45e2-5f35-82fd-3b99a2ee9dd8] to /home/meng/.julia/compiled/v1.1/AutoEnvs/gVIxo.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1197
 [3] _require(::Base.PkgId) at ./loading.jl:960
 [4] require(::Base.PkgId) at ./loading.jl:858
 [5] require(::Module, ::Symbol) at ./loading.jl:853

mengyuest avatar Sep 10 '20 02:09 mengyuest

There are some warnings which I guess might cause the issue (because I cannot find those attributes in AutomotiveDrivingModels repo: https://github.com/sisl/AutomotiveDrivingModels.jl):

[ Info: Precompiling AutoEnvs [b0c92c82-45e2-5f35-82fd-3b99a2ee9dd8]
WARNING: could not import AutomotiveDrivingModels.update! into AutoRisk
WARNING: could not import AutomotiveDrivingModels.pull_features! into AutoRisk
WARNING: could not import AutomotiveDrivingModels.get_name into AutoRisk

mengyuest avatar Sep 14 '20 03:09 mengyuest

@raunakbh92 @djp42

MaximeBouton avatar Sep 14 '20 04:09 MaximeBouton

I also meet the same issue

tinmodeHuang avatar Aug 03 '21 12:08 tinmodeHuang