-
Notifications
You must be signed in to change notification settings - Fork 251
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
Precompiling error #1178
Comments
gadfly doesn't work yet on julia 1.0, but we're working on it. |
Thank you for your reply. |
Have the same problem, my understanding is that you have to go back to v0.6.x as v0.7.0 is essentially equivalent to v1.0.0 save for feature depreciation warnings. Update: This is most likely obvious to everybody in the community but for those who are new as I am, you can safely use both Julia v0.6.4 and Julia v1.0.0 at he same time (at least this works perfectly fine with macOS). To do this (assuming that you use Gadfly with Jupyter and have already updated to v1.0.0):
IJulia will automatically add a separate Jupyter kernel and you should be good to go. |
Also thanks @adyomin for the example of installing Gadfly on Julia v0.6.4 which is the latest supported release. |
Dear community,
I have problem with Gadfly and I don't know how to fix it (I did some code changes but with out success). When I want to plot some data I got this error :
[ 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/imrisek/.julia/packages/Gadfly/ojGNo/src/Gadfly.jl:971
ERROR: LoadError: Failed to precompile Gadfly [c91e804a-d5a3-530f-b6f0-dfbca275c004] to /home/imrisek/.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] macro expansion at ./logging.jl:311 [inlined]
[8] require(::Module, ::Symbol) at ./loading.jl:834
[9] include_string(::Module, ::String, ::String) at ./loading.jl:1002
[10] (::getfield(Atom, Symbol("##120#124")){String,String,Module})() at /home/imrisek/.julia/packages/Atom/jJn7Y/src/eval.jl:117
[11] withpath(::getfield(Atom, Symbol("##120#124")){String,String,Module}, ::String) at /home/imrisek/.julia/packages/CodeTools/8CjYJ/src/utils.jl:30
[12] withpath at /home/imrisek/.julia/packages/Atom/jJn7Y/src/eval.jl:46 [inlined]
[13] #119 at /home/imrisek/.julia/packages/Atom/jJn7Y/src/eval.jl:114 [inlined]
[14] hideprompt(::getfield(Atom, Symbol("##119#123")){String,String,Module}) at /home/imrisek/.julia/packages/Atom/jJn7Y/src/repl.jl:76
[15] macro expansion at /home/imrisek/.julia/packages/Atom/jJn7Y/src/eval.jl:113 [inlined]
[16] (::getfield(Atom, Symbol("##118#122")){Dict{String,Any}})() at ./task.jl:85
in expression starting at /home/imrisek/Dropbox/Julia/Plots/plotFakeData.jl:3
I'm running on Ubuntu 16.04., Julia 1.0.0. If you have some ideas I would be happy.
Martin
The text was updated successfully, but these errors were encountered: