Closed amontoison closed 5 years ago
J'obtiens cette erreur après installation de NOMAD.jl sur mon pc (OS Ubuntu).
(v1.1) pkg> test NOMAD Testing NOMAD Resolving package versions... Status `/tmp/tmpwtRCgb/Manifest.toml` [b99e7846] BinaryProvider v0.5.4 [a0b5b9ef] Cxx v0.3.0+ [`~/.julia/dev/Cxx`] [d227bf30] NOMAD v0.1.0 [`~/.julia/dev/NOMAD`] [2a0f44e3] Base64 [`@stdlib/Base64`] [8ba89e20] Distributed [`@stdlib/Distributed`] [b77e0a4c] InteractiveUtils [`@stdlib/InteractiveUtils`] [8f399da3] Libdl [`@stdlib/Libdl`] [56ddb016] Logging [`@stdlib/Logging`] [d6f4376e] Markdown [`@stdlib/Markdown`] [3fa0cd96] REPL [`@stdlib/REPL`] [9a3f8284] Random [`@stdlib/Random`] [ea8e919c] SHA [`@stdlib/SHA`] [9e88b42a] Serialization [`@stdlib/Serialization`] [6462fe0b] Sockets [`@stdlib/Sockets`] [8dfed614] Test [`@stdlib/Test`] [ Info: loading NOMAD libraries ERROR: LoadError: LoadError: TypeError: in typeassert, expected Cxx.CxxCore.CppValue{Cxx.CxxCore.CxxQualType{Cxx.CxxCore.CppTemplate{Cxx.CxxCore.CppBaseType{Symbol("std::vector")},Tuple{Cxx.CxxCore.CxxQualType{Cxx.CxxCore.CppTemplate{Cxx.CxxCore.CppBaseType{Symbol("std::basic_string")},Tuple{UInt8,Cxx.CxxCore.CxxQualType{Cxx.CxxCore.CppTemplate{Cxx.CxxCore.CppBaseType{Symbol("std::char_traits")},Tuple{UInt8}},(false, false, false)},Cxx.CxxCore.CxxQualType{Cxx.CxxCore.CppTemplate{Cxx.CxxCore.CppBaseType{Symbol("std::allocator")},Tuple{UInt8}},(false, false, false)}}},(false, false, false)},Cxx.CxxCore.CxxQualType{Cxx.CxxCore.CppTemplate{Cxx.CxxCore.CppBaseType{Symbol("std::allocator")},Tuple{Cxx.CxxCore.CxxQualType{Cxx.CxxCore.CppTemplate{Cxx.CxxCore.CppBaseType{Symbol("std::basic_string")},Tuple{UInt8,Cxx.CxxCore.CxxQualType{Cxx.CxxCore.CppTemplate{Cxx.CxxCore.CppBaseType{Symbol("std::char_traits")},Tuple{UInt8}},(false, false, false)},Cxx.CxxCore.CxxQualType{Cxx.CxxCore.CppTemplate{Cxx.CxxCore.CppBaseType{Symbol("std::allocator")},Tuple{UInt8}},(false, false, false)}}},(false, false, false)}}},(false, false, false)}}},(false, false, false)},24}, got Cxx.CxxCore.CppValue{Cxx.CxxCore.CxxQualType{Cxx.CxxCore.CppTemplate{Cxx.CxxCore.CppBaseType{Symbol("std::vector")},Tuple{Cxx.CxxCore.CxxQualType{Cxx.CxxCore.CppTemplate{Cxx.CxxCore.CppBaseType{Symbol("std::__cxx11::basic_string")},Tuple{UInt8,Cxx.CxxCore.CxxQualType{Cxx.CxxCore.CppTemplate{Cxx.CxxCore.CppBaseType{Symbol("std::char_traits")},Tuple{UInt8}},(false, false, false)},Cxx.CxxCore.CxxQualType{Cxx.CxxCore.CppTemplate{Cxx.CxxCore.CppBaseType{Symbol("std::allocator")},Tuple{UInt8}},(false, false, false)}}},(false, false, false)},Cxx.CxxCore.CxxQualType{Cxx.CxxCore.CppTemplate{Cxx.CxxCore.CppBaseType{Symbol("std::allocator")},Tuple{Cxx.CxxCore.CxxQualType{Cxx.CxxCore.CppTemplate{Cxx.CxxCore.CppBaseType{Symbol("std::__cxx11::basic_string")},Tuple{UInt8,Cxx.CxxCore.CxxQualType{Cxx.CxxCore.CppTemplate{Cxx.CxxCore.CppBaseType{Symbol("std::char_traits")},Tuple{UInt8}},(false, false, false)},Cxx.CxxCore.CxxQualType{Cxx.CxxCore.CppTemplate{Cxx.CxxCore.CppBaseType{Symbol("std::allocator")},Tuple{UInt8}},(false, false, false)}}},(false, false, false)}}},(false, false, false)}}},(false, false, false)},24} Stacktrace: [1] runopt(::typeof(eval1), ::parameters) at /home/alexis/.julia/dev/NOMAD/src/runopt.jl:112 [2] top-level scope at none:0 [3] include at ./boot.jl:326 [inlined] [4] include_relative(::Module, ::String) at ./loading.jl:1038 [5] include(::Module, ::String) at ./sysimg.jl:29 [6] include(::String) at ./client.jl:403 [7] top-level scope at none:0 [8] include at ./boot.jl:326 [inlined] [9] include_relative(::Module, ::String) at ./loading.jl:1038 [10] include(::Module, ::String) at ./sysimg.jl:29 [11] include(::String) at ./client.jl:403 [12] top-level scope at none:0 in expression starting at /home/alexis/.julia/dev/NOMAD/test/optim_test.jl:59 in expression starting at /home/alexis/.julia/dev/NOMAD/test/runtests.jl:5 ERROR: Package NOMAD errored during testing
Your last commit 5dd60f6a26df13efce659d47f1b0428c484ac86d solve the problem. Thank you!
J'obtiens cette erreur après installation de NOMAD.jl sur mon pc (OS Ubuntu).