Skip to content

LoadError: MethodError: no method matching read(::IOStream, ::MIME{Symbol("text/plain")}, ::Type{AutomotiveDrivingModels.Roadway})  #17

Description

@lingyuntian

LoadError: MethodError: no method matching read(::IOStream, ::MIME{Symbol("text/plain")}, ::Type{AutomotiveDrivingModels.Roadway}) Closest candidates are: read(::AbstractString, ::Any...) at io.jl:432 read(::IOStream) at iostream.jl:516 read(::IO, ::Type{SA}) where SA<:StaticArrays.StaticArray at C:\Users\13661.julia\packages\StaticArrays\uH2MB\src\io.jl:2 ... Stacktrace: [1] (::NGSIM.var"#13#14")(io::IOStream) @ NGSIM C:\Users\13661.julia\packages\NGSIM\OPF1x\src\roadway.jl:190 [2] open(::NGSIM.var"#13#14", ::String, ::Vararg{String, N} where N; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) @ Base .\io.jl:330 [3] open(::Function, ::String, ::String) @ Base .\io.jl:328 [4] top-level scope @ C:\Users\13661.julia\packages\NGSIM\OPF1x\src\roadway.jl:190 [5] include(mod::Module, _path::String) @ Base .\Base.jl:386 [6] include(x::String) @ NGSIM C:\Users\13661.julia\packages\NGSIM\OPF1x\src\NGSIM.jl:3 [7] top-level scope @ C:\Users\13661.julia\packages\NGSIM\OPF1x\src\NGSIM.jl:34 [8] include @ .\Base.jl:386 [inlined] [9] 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:1213 [10] top-level scope @ none:1 [11] eval @ .\boot.jl:360 [inlined] [12] eval(x::Expr) @ Base.MainInclude .\client.jl:446 [13] top-level scope @ none:1 in expression starting at C:\Users\13661.julia\packages\NGSIM\OPF1x\src\roadway.jl:190 in expression starting at C:\Users\13661.julia\packages\NGSIM\OPF1x\src\NGSIM.jl:3 ERROR: Failed to precompile NGSIM [195157bc-cedd-5875-9ea7-7cfb75f30b3c] to C:\Users\13661.julia\compiled\v1.6\NGSIM\jl_5D88.tmp. Stacktrace: [1] error(s::String) @ Base .\error.jl:33 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY) @ Base .\loading.jl:1360 [3] compilecache(pkg::Base.PkgId, path::String) @ Base .\loading.jl:1306 [4] _require(pkg::Base.PkgId) @ Base .\loading.jl:1021 [5] require(uuidkey::Base.PkgId) @ Base .\loading.jl:914 [6] require(into::Module, mod::Symbol) @ Base .\loading.jl:901

How can I do with this?
help, please

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions