Hello.
I am attempting to run /test/tutorial.jl from GitHub - LouisBouvier/WarcraftShortestPaths.jl. I have done everything including the decompression of the data and activating the environment using Pkg.activate(“.”), but I keep getting the following error:
C:\Users\Main User\Documents\GitHub\WarcraftShortestPaths.jl\test\tutorial.jl:6:3 error: expected equal sign after key
We have a sub-dataset of Warcraft terrain images and corresponding black box cost functions.
^
Stacktrace:
[1] pkgerror(::String, ::Vararg{String})
@ Pkg.Types C:\Users\Main User\AppData\Local\Programs\Julia-1.8.2\share\julia\stdlib\v1.8\Pkg\src\Types.jl:67
[2] read_project(f_or_io::String)
@ Pkg.Types C:\Users\Main User\AppData\Local\Programs\Julia-1.8.2\share\julia\stdlib\v1.8\Pkg\src\project.jl:138
[3] Pkg.Types.EnvCache(env::Nothing)
@ Pkg.Types C:\Users\Main User\AppData\Local\Programs\Julia-1.8.2\share\julia\stdlib\v1.8\Pkg\src\Types.jl:328
[4] EnvCache
@ C:\Users\Main User\AppData\Local\Programs\Julia-1.8.2\share\julia\stdlib\v1.8\Pkg\src\Types.jl:325 [inlined]
[5] add_snapshot_to_undo(env::Nothing)
@ Pkg.API C:\Users\Main User\AppData\Local\Programs\Julia-1.8.2\share\julia\stdlib\v1.8\Pkg\src\API.jl:1859
[6] add_snapshot_to_undo
@ C:\Users\Main User\AppData\Local\Programs\Julia-1.8.2\share\julia\stdlib\v1.8\Pkg\src\API.jl:1855 [inlined]
[7] activate(path::String; shared::Bool, temp::Bool, io::Base.TTY)
@ Pkg.API C:\Users\Main User\AppData\Local\Programs\Julia-1.8.2\share\julia\stdlib\v1.8\Pkg\src\API.jl:1697
[8] activate(path::String)
@ Pkg.API C:\Users\Main User\AppData\Local\Programs\Julia-1.8.2\share\julia\stdlib\v1.8\Pkg\src\API.jl:1656
[9] top-level scope
@ REPL[49]:1
[10] top-level scope
@ C:\Users\Main User\.julia\packages\CUDA\DfvRa\src\initialization.jl:52
caused by: TOML Parser error:
C:\Users\Main User\Documents\GitHub\WarcraftShortestPaths.jl\test\tutorial.jl:6:3 error: expected equal sign after key
We have a sub-dataset of Warcraft terrain images and corresponding black box cost functions.
^
Stacktrace:
[1] parse
@ .\toml_parser.jl:441 [inlined]
[2] Base.CachedTOMLDict(p::Base.TOML.Parser, path::String)
@ Base .\loading.jl:222
[3] (::Base.var"#894#895"{String, Base.TOMLCache})()
@ Base .\loading.jl:277
[4] lock(f::Base.var"#894#895"{String, Base.TOMLCache}, l::ReentrantLock)
@ Base .\lock.jl:185
[5] parsed_toml
@ .\loading.jl:274 [inlined]
[6] parse_toml
@ C:\Users\Main User\AppData\Local\Programs\Julia-1.8.2\share\julia\stdlib\v1.8\Pkg\src\Types.jl:58 [inlined]
[7] read_project(f_or_io::String)
@ Pkg.Types C:\Users\Main User\AppData\Local\Programs\Julia-1.8.2\share\julia\stdlib\v1.8\Pkg\src\project.jl:134
[8] Pkg.Types.EnvCache(env::Nothing)
@ Pkg.Types C:\Users\Main User\AppData\Local\Programs\Julia-1.8.2\share\julia\stdlib\v1.8\Pkg\src\Types.jl:328
[9] EnvCache
@ C:\Users\Main User\AppData\Local\Programs\Julia-1.8.2\share\julia\stdlib\v1.8\Pkg\src\Types.jl:325 [inlined]
[10] add_snapshot_to_undo(env::Nothing)
@ Pkg.API C:\Users\Main User\AppData\Local\Programs\Julia-1.8.2\share\julia\stdlib\v1.8\Pkg\src\API.jl:1859
[11] add_snapshot_to_undo
@ C:\Users\Main User\AppData\Local\Programs\Julia-1.8.2\share\julia\stdlib\v1.8\Pkg\src\API.jl:1855 [inlined]
[12] activate(path::String; shared::Bool, temp::Bool, io::Base.TTY)
@ Pkg.API C:\Users\Main User\AppData\Local\Programs\Julia-1.8.2\share\julia\stdlib\v1.8\Pkg\src\API.jl:1697
[13] activate(path::String)
@ Pkg.API C:\Users\Main User\AppData\Local\Programs\Julia-1.8.2\share\julia\stdlib\v1.8\Pkg\src\API.jl:1656
[14] top-level scope
@ REPL[49]:1
[15] top-level scope
@ C:\Users\Main User\.julia\packages\CUDA\DfvRa\src\initialization.jl:52
I have no experience with TOML parsers and can’t really spot where the error might be. This sort of error also occurs whenever I run any sort of Pkg command, such as Pkg.status(). Any help would be greatly appreciated!