New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Julia 1.0.0 support? #1185

Closed
kippjohnson opened this Issue Aug 19, 2018 · 9 comments

Comments

Projects
None yet
8 participants
@kippjohnson

kippjohnson commented Aug 19, 2018

I apologize if this issue has already been raised or is well known, but I can't seem to install Gadfly on Julia 1.0.0.

I'm new to Julia, so I'm not sure exactly what's causing this to fail.

Possibly related to this?
JuliaLang/julia#27554

Using Julia version 1.0.0 on Ubuntu 18.04, kernel 4.15.0-29-generic if that matters.

julia> Pkg.add("Gadfly")
 Resolving package versions...
  Updating `~/.julia/environments/v1.0/Project.toml`
 [no changes]
  Updating `~/.julia/environments/v1.0/Manifest.toml`
 [no changes]

julia> using Gadfly
[ Info: Precompiling Gadfly [c91e804a-d5a3-530f-b6f0-dfbca275c004]
ERROR: LoadError: syntax: try without catch or finally
Stacktrace:
 [1] include at ./boot.jl:317 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1038
 [3] include(::Module, ::String) at ./sysimg.jl:29
 [4] top-level scope at none:2
 [5] eval at ./boot.jl:319 [inlined]
 [6] eval(::Expr) at ./client.jl:389
 [7] top-level scope at ./none:3
in expression starting at /home/kwj/.julia/packages/Gadfly/SqXyE/src/Gadfly.jl:961
ERROR: Failed to precompile Gadfly [c91e804a-d5a3-530f-b6f0-dfbca275c004] to /home/kwj/.julia/compiled/v1.0/Gadfly/DvECm.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] macro expansion at ./logging.jl:313 [inlined]
 [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1184
 [4] macro expansion at ./logging.jl:311 [inlined]
 [5] _require(::Base.PkgId) at ./loading.jl:941
 [6] require(::Base.PkgId) at ./loading.jl:852
 [7] require(::Module, ::Symbol) at ./logging.jl:311
@bjarthur

This comment has been minimized.

Show comment
Hide comment
@bjarthur

bjarthur Aug 19, 2018

Contributor

we're working on it. in the meantime, gadfly works on julia 0.6.4. sorry for the delay but only recently have all the dependencies worked on 1.0.

Contributor

bjarthur commented Aug 19, 2018

we're working on it. in the meantime, gadfly works on julia 0.6.4. sorry for the delay but only recently have all the dependencies worked on 1.0.

@flare9x

This comment has been minimized.

Show comment
Hide comment
@flare9x

flare9x Aug 19, 2018

Great - Looking forward to 1.0!

flare9x commented Aug 19, 2018

Great - Looking forward to 1.0!

@tiago-peres

This comment has been minimized.

Show comment
Hide comment
@tiago-peres

tiago-peres Sep 6, 2018

Going through the same problem using Julia 1.0.0 on W10,
ERROR: Failed to precompile Gadfly

tiago-peres commented Sep 6, 2018

Going through the same problem using Julia 1.0.0 on W10,
ERROR: Failed to precompile Gadfly

@tlnagy

This comment has been minimized.

Show comment
Hide comment
@tlnagy

tlnagy Sep 7, 2018

Member

So I just merged 1.0 support over on GiovineItalia/Compose.jl#282 so this is really close, so we just need to wrap up #1189

Member

tlnagy commented Sep 7, 2018

So I just merged 1.0 support over on GiovineItalia/Compose.jl#282 so this is really close, so we just need to wrap up #1189

@crazy0713

This comment has been minimized.

Show comment
Hide comment
@crazy0713

crazy0713 Sep 10, 2018

win10
julia1.0
Gadfly 0.8.0

ERROR: LoadError: syntax: try without catch or finally
Stacktrace:
[1] include at .\boot.jl:317 [inlined]
[2] include_relative(::Module, ::String) at .\loading.jl:1038
[3] include(::Module, ::String) at .\sysimg.jl:29
[4] top-level scope at none:2
[5] eval at .\boot.jl:319 [inlined]
[6] eval(::Expr) at .\client.jl:389
[7] top-level scope at .\none:3
in expression starting at C:\Users\vtchen.julia\packages\Compose\y7cU7\src\Compose.jl:207
ERROR: LoadError: Failed to precompile Compose [a81c6b42-2e10-5240-aca2-a61377ecd94b] to C:\Users\vtchen.julia\compiled\v1.0\Compose\sbiEw.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] macro expansion at .\logging.jl:313 [inlined]
[3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
[4] _require(::Base.PkgId) at .\logging.jl:311
[5] require(::Base.PkgId) at .\loading.jl:852
[6] macro expansion at .\logging.jl:311 [inlined]
[7] require(::Module, ::Symbol) at .\loading.jl:834
[8] include at .\boot.jl:317 [inlined]
[9] include_relative(::Module, ::String) at .\loading.jl:1038
[10] include(::Module, ::String) at .\sysimg.jl:29
[11] top-level scope at none:2
[12] eval at .\boot.jl:319 [inlined]
[13] eval(::Expr) at .\client.jl:389
[14] top-level scope at .\none:3
in expression starting at C:\Users\vtchen.julia\packages\Gadfly\p8TXc\src\Gadfly.jl:7
ERROR: Failed to precompile Gadfly [c91e804a-d5a3-530f-b6f0-dfbca275c004] to C:\Users\vtchen.julia\compiled\v1.0\Gadfly\DvECm.ji.
Stacktrace:
[1] macro expansion at .\logging.jl:313 [inlined]
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
[3] macro expansion at .\logging.jl:311 [inlined]
[4] _require(::Base.PkgId) at .\loading.jl:941
[5] require(::Base.PkgId) at .\loading.jl:852
[6] macro expansion at .\logging.jl:311 [inlined]
[7] require(::Module, ::Symbol) at .\loading.jl:834

crazy0713 commented Sep 10, 2018

win10
julia1.0
Gadfly 0.8.0

ERROR: LoadError: syntax: try without catch or finally
Stacktrace:
[1] include at .\boot.jl:317 [inlined]
[2] include_relative(::Module, ::String) at .\loading.jl:1038
[3] include(::Module, ::String) at .\sysimg.jl:29
[4] top-level scope at none:2
[5] eval at .\boot.jl:319 [inlined]
[6] eval(::Expr) at .\client.jl:389
[7] top-level scope at .\none:3
in expression starting at C:\Users\vtchen.julia\packages\Compose\y7cU7\src\Compose.jl:207
ERROR: LoadError: Failed to precompile Compose [a81c6b42-2e10-5240-aca2-a61377ecd94b] to C:\Users\vtchen.julia\compiled\v1.0\Compose\sbiEw.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] macro expansion at .\logging.jl:313 [inlined]
[3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
[4] _require(::Base.PkgId) at .\logging.jl:311
[5] require(::Base.PkgId) at .\loading.jl:852
[6] macro expansion at .\logging.jl:311 [inlined]
[7] require(::Module, ::Symbol) at .\loading.jl:834
[8] include at .\boot.jl:317 [inlined]
[9] include_relative(::Module, ::String) at .\loading.jl:1038
[10] include(::Module, ::String) at .\sysimg.jl:29
[11] top-level scope at none:2
[12] eval at .\boot.jl:319 [inlined]
[13] eval(::Expr) at .\client.jl:389
[14] top-level scope at .\none:3
in expression starting at C:\Users\vtchen.julia\packages\Gadfly\p8TXc\src\Gadfly.jl:7
ERROR: Failed to precompile Gadfly [c91e804a-d5a3-530f-b6f0-dfbca275c004] to C:\Users\vtchen.julia\compiled\v1.0\Gadfly\DvECm.ji.
Stacktrace:
[1] macro expansion at .\logging.jl:313 [inlined]
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
[3] macro expansion at .\logging.jl:311 [inlined]
[4] _require(::Base.PkgId) at .\loading.jl:941
[5] require(::Base.PkgId) at .\loading.jl:852
[6] macro expansion at .\logging.jl:311 [inlined]
[7] require(::Module, ::Symbol) at .\loading.jl:834

@essenciary

This comment has been minimized.

Show comment
Hide comment
@essenciary

essenciary Sep 14, 2018

Looking forward to it!

I'm working on a Julia book and I use Gadfly in one of the chapters. The book is about Julia v1 and it is weeks away from publishing. Sadly, I can't retest Gadfly on v1 yet.

I used Julia v0.6 for the code examples. Will the plotting API change?

I'm using these with the Iris flowers dataset (from RDatasets):

julia> plot(iris, x=:SepalLength, y=:PetalLength, color=:Species)
julia> plot(iris, x=:Species, y=:PetalLength, Geom.boxplot)
julia> plot(iris, x=:PetalLength, color=:Species, Geom.histogram)
julia> plot(iris, x=:PetalWidth, y=:PetalLength, color=:Species)

Thanks!

essenciary commented Sep 14, 2018

Looking forward to it!

I'm working on a Julia book and I use Gadfly in one of the chapters. The book is about Julia v1 and it is weeks away from publishing. Sadly, I can't retest Gadfly on v1 yet.

I used Julia v0.6 for the code examples. Will the plotting API change?

I'm using these with the Iris flowers dataset (from RDatasets):

julia> plot(iris, x=:SepalLength, y=:PetalLength, color=:Species)
julia> plot(iris, x=:Species, y=:PetalLength, Geom.boxplot)
julia> plot(iris, x=:PetalLength, color=:Species, Geom.histogram)
julia> plot(iris, x=:PetalWidth, y=:PetalLength, color=:Species)

Thanks!

@bjarthur

This comment has been minimized.

Show comment
Hide comment
@bjarthur

bjarthur Sep 14, 2018

Contributor

#1189 adds support for 1.0. checkout master of Gadfly and Compose until we tag. the API has not changed.

Contributor

bjarthur commented Sep 14, 2018

#1189 adds support for 1.0. checkout master of Gadfly and Compose until we tag. the API has not changed.

@bjarthur bjarthur closed this Sep 14, 2018

@jan-glx

This comment has been minimized.

Show comment
Hide comment
@jan-glx

jan-glx Sep 14, 2018

#1189 adds support for 1.0. checkout master of Gadfly and Compose until we tag. the API has not changed.

For other julia newbies checking out 1.0, you can do this using:

Pkg.add(PackageSpec(url="https://github.com/GiovineItalia/Compose.jl", rev="master"))
Pkg.add(PackageSpec(url="https://github.com/GiovineItalia/Gadfly.jl", rev="master"))

jan-glx commented Sep 14, 2018

#1189 adds support for 1.0. checkout master of Gadfly and Compose until we tag. the API has not changed.

For other julia newbies checking out 1.0, you can do this using:

Pkg.add(PackageSpec(url="https://github.com/GiovineItalia/Compose.jl", rev="master"))
Pkg.add(PackageSpec(url="https://github.com/GiovineItalia/Gadfly.jl", rev="master"))
@essenciary

This comment has been minimized.

Show comment
Hide comment
@essenciary

essenciary Sep 14, 2018

julia> pkg"add Compose#master"
julia> pkg"add Gadfly#master"
julia> pkg"add Hexagons"

also does the trick, thanks!

essenciary commented Sep 14, 2018

julia> pkg"add Compose#master"
julia> pkg"add Gadfly#master"
julia> pkg"add Hexagons"

also does the trick, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment