Hi, I am trying to load NGSIM.
Computer:
macOS
I have tried the Julia 1.4 and Julia 1.3 (Julia Pro), it shows that I could not do using NGSIM. I have placed the data under the directory of the data, but it did not help.
Does this issue mean that we need to change read(::IOStream, ::MIME{Symbol("text/plain")}, ::Type{AutomotiveDrivingModels.Roadway}), which might be changed in Julia 1.3 or 1.4?
Here is my issue:
julia> using NGSIM
[ Info: Precompiling NGSIM [195157bc-cedd-5875-9ea7-7cfb75f30b3c]
ERROR: LoadError: LoadError: MethodError: no method matching read(::IOStream, ::MIME{Symbol("text/plain")}, ::Type{AutomotiveDrivingModels.Roadway})
Closest candidates are:
read(::AbstractString, ::Any...) at io.jl:379
read(::IOStream) at iostream.jl:453
read(::IOStream, ::Type{UInt8}) at iostream.jl:348
...
Stacktrace:
[1] (::NGSIM.var"#13#14")(::IOStream) at /Users/darren/.juliapro/JuliaPro_v1.3.1-1/packages/NGSIM/OPF1x/src/roadway.jl:190
[2] #open#271(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(open), ::NGSIM.var"#13#14", ::String, ::Vararg{String,N} where N) at ./io.jl:298
[3] open(::Function, ::String, ::String) at /Applications/JuliaPro-1.3.1-1.app/Contents/Resources/julia/Contents/Resources/julia/lib/julia/sys.dylib:?
[4] top-level scope at /Users/darren/.juliapro/JuliaPro_v1.3.1-1/packages/NGSIM/OPF1x/src/roadway.jl:190
[5] include at ./boot.jl:328 [inlined]
[6] include_relative(::Module, ::String) at ./loading.jl:1105
[7] include at ./Base.jl:31 [inlined]
[8] include(::String) at /Users/darren/.juliapro/JuliaPro_v1.3.1-1/packages/NGSIM/OPF1x/src/NGSIM.jl:3
[9] top-level scope at /Users/darren/.juliapro/JuliaPro_v1.3.1-1/packages/NGSIM/OPF1x/src/NGSIM.jl:34
[10] include_relative(::Module, ::String) at /Applications/JuliaPro-1.3.1-1.app/Contents/Resources/julia/Contents/Resources/julia/lib/julia/sys.dylib:?
[11] include(::Module, ::String) at /Applications/JuliaPro-1.3.1-1.app/Contents/Resources/julia/Contents/Resources/julia/lib/julia/sys.dylib:?
[12] top-level scope at none:2
[13] eval at ./boot.jl:330 [inlined]
[14] eval(::Expr) at ./client.jl:425
[15] top-level scope at ./none:3
in expression starting at /Users/darren/.juliapro/JuliaPro_v1.3.1-1/packages/NGSIM/OPF1x/src/roadway.jl:190
in expression starting at /Users/darren/.juliapro/JuliaPro_v1.3.1-1/packages/NGSIM/OPF1x/src/NGSIM.jl:34
ERROR: Failed to precompile NGSIM [195157bc-cedd-5875-9ea7-7cfb75f30b3c] to /Users/darren/.juliapro/JuliaPro_v1.3.1-1/compiled/v1.3/NGSIM/unWOy_pYSQU.ji.
Stacktrace:
[1] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[2] _require(::Base.PkgId) at ./loading.jl:1024
[3] require(::Base.PkgId) at ./loading.jl:922
[4] require(::Module, ::Symbol) at ./loading.jl:917
Any response would be appreciated!
Hi, I am trying to load NGSIM.
Computer:
macOS
I have tried the Julia 1.4 and Julia 1.3 (Julia Pro), it shows that I could not do
using NGSIM. I have placed the data under the directory of the data, but it did not help.Does this issue mean that we need to change
read(::IOStream, ::MIME{Symbol("text/plain")}, ::Type{AutomotiveDrivingModels.Roadway}), which might be changed in Julia 1.3 or 1.4?Here is my issue:
Any response would be appreciated!