GeneralizedGenerated.jl
GeneralizedGenerated.jl copied to clipboard
Can't load GG.jl
I just tried to add JuliaVaraibles.jl and GG.jl but I'm getting this problem:
julia> using GG
[ Info: Precompiling GG [6b9d7cbe-bcb9-11e9-073f-15a7a543e2eb]
ERROR: LoadError: syntax: extra token "@" after end of expression
Stacktrace:
[1] top-level scope at /Users/mason/.julia/packages/JuliaVariables/aDBae/src/JuliaVariables.jl:72
[2] include at ./boot.jl:328 [inlined]
[3] include_relative(::Module, ::String) at ./loading.jl:1105
[4] include(::Module, ::String) at ./Base.jl:31
[5] top-level scope at none:2
[6] eval at ./boot.jl:330 [inlined]
[7] eval(::Expr) at ./client.jl:433
[8] top-level scope at ./none:3
in expression starting at /Users/mason/.julia/packages/JuliaVariables/aDBae/src/JuliaVariables.jl:72
ERROR: LoadError: Failed to precompile JuliaVariables [b14d175d-62b4-44ba-8fb7-3064adc8c3ec] to /Users/mason/.julia/compiled/v1.3/JuliaVariables/ViR92_SzssL.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1274
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
[6] include at ./boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1105
[8] include(::Module, ::String) at ./Base.jl:31
[9] top-level scope at none:2
[10] eval at ./boot.jl:330 [inlined]
[11] eval(::Expr) at ./client.jl:433
[12] top-level scope at ./none:3
in expression starting at /Users/mason/.julia/packages/GG/Q7GYI/src/GG.jl:3
ERROR: Failed to precompile GG [6b9d7cbe-bcb9-11e9-073f-15a7a543e2eb] to /Users/mason/.julia/compiled/v1.3/GG/1AXdM_SzssL.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1274
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
Hi! More info to repro? @MasonProtter
Here's a MWE:
Masons-MacBook-Pro:~ mason$ julia --project
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.3.0-rc1.0 (2019-08-18)
_/ |\__'_|_|_|\__'_| |
|__/ |
(v1.3) pkg> st
Status `~/.julia/environments/v1.3/Project.toml`
[6e4b80f9] BenchmarkTools v0.4.3
[0c46a032] DifferentialEquations v6.6.0
[7073ff75] IJulia v1.20.0
[50d2b5c4] Lazy v0.14.0
[d8e11817] MLStyle v0.3.1
[1914dd2f] MacroTools v0.5.1
[18c93696] MathLink v0.1.0 #master (https://github.com/JuliaInterop/MathLink.jl.git)
[91a5bcdd] Plots v0.26.3
[1fd47b50] QuadGK v2.1.0
[930ad830] QuasiMonteCarlo v0.1.0 #master (https://github.com/cscherrer/QuasiMonteCarlo.jl.git)
[295af30f] Revise v2.1.10
[90137ffa] StaticArrays v0.11.0
[28d57a85] Transducers v0.4.0
[1986cc42] Unitful v0.17.0
[e88e6eb3] Zygote v0.3.4
(v1.3) pkg> add https://github.com/thautwarm/JuliaVariables.jl.git https://github.com/thautwarm/GG.jl.git
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Updating git-repo `https://github.com/thautwarm/JuliaVariables.jl.git`
Updating git-repo `https://github.com/thautwarm/JuliaVariables.jl.git`
Updating git-repo `https://github.com/thautwarm/GG.jl.git`
Updating git-repo `https://github.com/thautwarm/GG.jl.git`
Resolving package versions...
Updating `~/.julia/environments/v1.3/Project.toml`
[6b9d7cbe] + GG v0.1.0 #parametric-type-encoding (https://github.com/thautwarm/GG.jl.git)
[b14d175d] + JuliaVariables v0.1.1 #master (https://github.com/thautwarm/JuliaVariables.jl.git)
Updating `~/.julia/environments/v1.3/Manifest.toml`
[a603d957] + CanonicalTraits v0.1.0
[6b9d7cbe] + GG v0.1.0 #parametric-type-encoding (https://github.com/thautwarm/GG.jl.git)
[b14d175d] + JuliaVariables v0.1.1 #master (https://github.com/thautwarm/JuliaVariables.jl.git)
[f1f30506] + LegibleLambdas v0.2.0
[71a1bf82] + NameResolution v0.1.1
[8162dcfd] + PrettyPrint v0.1.0
julia> using GG
[ Info: Precompiling GG [6b9d7cbe-bcb9-11e9-073f-15a7a543e2eb]
ERROR: LoadError: syntax: extra token "@" after end of expression
Stacktrace:
[1] top-level scope at /Users/mason/.julia/packages/JuliaVariables/aDBae/src/JuliaVariables.jl:72
[2] include at ./boot.jl:328 [inlined]
[3] include_relative(::Module, ::String) at ./loading.jl:1105
[4] include(::Module, ::String) at ./Base.jl:31
[5] top-level scope at none:2
[6] eval at ./boot.jl:330 [inlined]
[7] eval(::Expr) at ./client.jl:433
[8] top-level scope at ./none:3
in expression starting at /Users/mason/.julia/packages/JuliaVariables/aDBae/src/JuliaVariables.jl:72
ERROR: LoadError: Failed to precompile JuliaVariables [b14d175d-62b4-44ba-8fb7-3064adc8c3ec] to /Users/mason/.julia/compiled/v1.3/JuliaVariables/ViR92_SzssL.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1274
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
[6] include at ./boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1105
[8] include(::Module, ::String) at ./Base.jl:31
[9] top-level scope at none:2
[10] eval at ./boot.jl:330 [inlined]
[11] eval(::Expr) at ./client.jl:433
[12] top-level scope at ./none:3
in expression starting at /Users/mason/.julia/packages/GG/Fa6NT/src/GG.jl:3
ERROR: Failed to precompile GG [6b9d7cbe-bcb9-11e9-073f-15a7a543e2eb] to /Users/mason/.julia/compiled/v1.3/GG/1AXdM_SzssL.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1274
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
Any other information I can provide?
Oh, your environment seems okay. However I cannot find a syntax bug from
https://github.com/thautwarm/JuliaVariables.jl/blob/master/src/JuliaVariables.jl#L72
Have no idea...
@MasonProtter @thautwarm The same issue in Julia v1.3 rc 1.0, but it runs well under Julia v1.2
It's a proper chance to open an issue for Julia itself @MasonProtter