Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using AutoEnvs in Julia #30

Open
mengyuest opened this issue Sep 10, 2020 · 3 comments
Open

Error when using AutoEnvs in Julia #30

mengyuest opened this issue Sep 10, 2020 · 3 comments

Comments

@mengyuest
Copy link

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
Copy link
Author

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

@MaximeBouton
Copy link
Member

@raunakbh92 @djp42

@tinmodeHuang
Copy link

I also meet the same issue

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

No branches or pull requests

3 participants