zenna / Omega.jl

Causal, Higher-Order, Probabilistic Programming
MIT License
164 stars 17 forks source link

Compilation #200

Open ga72kud opened 2 years ago

ga72kud commented 2 years ago

I like your package very much, but I have an error with the compilation process. After changing the environment it seems that the installation is broken after some time. I don't know the cause of this problem. The current workaround is to install it again with

add Omega#master

But I hope that there will be a fix for that. Nevertheless this package is great and I like it very much.

LoadError: LoadError: LoadError: LoadError: LoadError: Failed to precompile Omega [1af16e33-887a-59b3-8344-18f1671b3ade] to /home/michael/.julia/compiled/v1.6/Omega/jl_cTScYN.
in expression starting at /home/michael/Julia_Projects/25_thesis_simulator/src/agents/causal_inference/movement_causal_intervention.jl:1
in expression starting at /home/michael/Julia_Projects/25_thesis_simulator/src/agents/pedestrian_dynamics.jl:1
in expression starting at /home/michael/Julia_Projects/25_thesis_simulator/src/API.jl:5
in expression starting at /home/michael/Julia_Projects/25_thesis_simulator/src/SIMULATOR.jl:2
in expression starting at /home/michael/Julia_Projects/25_thesis_simulator/main.jl:3
error(s::String) at error.jl:33
compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool) at loading.jl:1385
compilecache(pkg::Base.PkgId, path::String) at loading.jl:1329
_require(pkg::Base.PkgId) at loading.jl:1043
require(uuidkey::Base.PkgId) at loading.jl:936
require(into::Module, mod::Symbol) at loading.jl:923
eval at boot.jl:360 [inlined]
include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) at loading.jl:1116
_include(mapexpr::Function, mod::Module, _path::String) at loading.jl:1170
include(mod::Module, _path::String) at Base.jl:384
include(x::String) at pedestrian_dynamics.jl:1
top-level scope at pedestrian_dynamics.jl:7
eval at boot.jl:360 [inlined]
include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) at loading.jl:1116
_include(mapexpr::Function, mod::Module, _path::String) at loading.jl:1170
include(mod::Module, _path::String) at Base.jl:384
include(x::String) at SIMULATOR.jl:2
top-level scope at API.jl:5
eval at boot.jl:360 [inlined]
include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) at loading.jl:1116
_include(mapexpr::Function, mod::Module, _path::String) at loading.jl:1170
include(mod::Module, _path::String) at Base.jl:384
include(x::String) at SIMULATOR.jl:2
top-level scope at SIMULATOR.jl:5
eval at boot.jl:360 [inlined]
include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) at loading.jl:1116
_include(mapexpr::Function, mod::Module, _path::String) at loading.jl:1170
include(fname::String) at client.jl:444
top-level scope at main.jl:3
eval at boot.jl:360 [inlined]
include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) at loading.jl:1116