Closed kippjohnson closed 6 years ago
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.
Great - Looking forward to 1.0!
Going through the same problem using Julia 1.0.0 on W10, ERROR: Failed to precompile Gadfly
So I just merged 1.0 support over on https://github.com/GiovineItalia/Compose.jl/pull/282 so this is really close, so we just need to wrap up #1189
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
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!
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"))
julia> pkg"add Compose#master"
julia> pkg"add Gadfly#master"
julia> pkg"add Hexagons"
also does the trick, thanks!
wondering if anyone can help me out here:
julia> using Pkg
julia> Pkg.add(PackageSpec(url="https://github.com/GiovineItalia/Compose.jl", rev="master"))
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Updating git-repo `https://github.com/GiovineItalia/Compose.jl`
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Mamba [5424a776]:
Mamba [5424a776] log:
├─possible versions are: [0.3.8, 0.4.0-0.4.12, 0.5.0-0.5.2, 0.6.0-0.6.3, 0.7.0-0.7.4, 0.8.0-0.8.2, 0.9.0-0.9.2, 0.10.0-0.10.1, 0.11.0-0.11.2] or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions [0.3.8, 0.4.0-0.4.12, 0.5.0-0.5.2, 0.6.0-0.6.3, 0.7.0-0.7.4, 0.8.0-0.8.2, 0.9.0-0.9.2, 0.10.0-0.10.1, 0.11.0-0.11.2]
└─restricted by julia compatibility requirements to versions: uninstalled — no versions left
Stacktrace:
[1] #propagate_constraints!#61(::Bool, ::Function, ::Pkg.GraphType.Graph, ::Set{Int64}) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:1005
[2] propagate_constraints! at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:946 [inlined]
[3] #simplify_graph!#121(::Bool, ::Function, ::Pkg.GraphType.Graph, ::Set{Int64}) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:1460
[4] simplify_graph! at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:1460 [inlined] (repeats 2 times)
[5] macro expansion at ./logging.jl:311 [inlined]
[6] resolve_versions!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:339
[7] #add_or_develop#58(::Array{Base.UUID,1}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1163
[8] #add_or_develop at ./none:0 [inlined]
[9] #add_or_develop#13(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:64
[10] #add_or_develop at ./none:0 [inlined]
[11] #add_or_develop#12 at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:29 [inlined]
[12] #add_or_develop at ./none:0 [inlined]
[13] #add_or_develop#10(::Base.Iterators.Pairs{Symbol,Symbol,Tuple{Symbol},NamedTuple{(:mode,),Tuple{Symbol}}}, ::Function, ::Pkg.Types.PackageSpec) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:27
[14] #add_or_develop at ./none:0 [inlined]
[15] #add#18 at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:69 [inlined]
[16] add(::Pkg.Types.PackageSpec) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:69
[17] top-level scope at none:0
Is v1.01 support Gadfly ? Cannot download it from the package manager !
(JuliaPro_v1.0.1.1) pkg> add Gadfly ERROR: The following package names could not be resolved:
name=uuid
.
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? https://github.com/JuliaLang/julia/issues/27554
Using Julia version 1.0.0 on Ubuntu 18.04, kernel 4.15.0-29-generic if that matters.