sisl / AutoViz.jl

Provides visualization tools for AutomotiveDrivingModels. Built on Cairo
Other
33 stars 9 forks source link

Error when loading in julia 1.1 #19

Closed MaximeBouton closed 5 years ago

MaximeBouton commented 5 years ago

In julia 1.1 I am getting the following error when loading AutoVIz:

julia> using AutoViz
[ Info: Precompiling AutoViz [82aa6e0c-a491-5edf-8d4b-c16b98e4ea17]
ERROR: LoadError: LoadError: syntax: invalid let syntax
Stacktrace:
 [1] include at .\boot.jl:326 [inlined]
 [2] include_relative(::Module, ::String) at .\loading.jl:1038
 [3] include at .\sysimg.jl:29 [inlined]
 [4] include(::String) at C:\Users\Maxime\.julia\dev\AutoViz\src\AutoViz.jl:3
 [5] top-level scope at none:0
 [6] include at .\boot.jl:326 [inlined]
 [7] include_relative(::Module, ::String) at .\loading.jl:1038
 [8] include(::Module, ::String) at .\sysimg.jl:29
 [9] top-level scope at none:2
 [10] eval at .\boot.jl:328 [inlined]
 [11] eval(::Expr) at .\client.jl:404
 [12] top-level scope at .\none:3
in expression starting at C:\Users\Maxime\.julia\dev\AutoViz\src\cameras.jl:48
in expression starting at C:\Users\Maxime\.julia\dev\AutoViz\src\AutoViz.jl:36
ERROR: Failed to precompile AutoViz [82aa6e0c-a491-5edf-8d4b-c16b98e4ea17] to C:\Users\Maxime\.julia\compiled\v1.1\AutoViz\w0rHu.ji.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1197
 [3] _require(::Base.PkgId) at .\loading.jl:960
 [4] require(::Base.PkgId) at .\loading.jl:858
 [5] require(::Module, ::Symbol) at .\loading.jl:853
MaximeBouton commented 5 years ago

It seems to be coming from @sprintf

Areskul commented 5 years ago

GOT THE SAME PROBLEM!! Did u find any answr!!?

MaximeBouton commented 5 years ago

This problem has actually been fixed by #20 , can you check that you are using the latest version ? v0.7.1 you can check it by running import Pkg; Pkg.status()

zsunberg commented 5 years ago

@MaximeBouton I'm guessing that @Areskul is a bot given the language and how generic that post is. (@Areskul , if you're not a bot, I apologize, but please do consider posting in a more professional manner next time)

Areskul commented 5 years ago

Sorry, I had this issue because i forgot to load packages at start.