-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
using Plots
fails on julia 0.7
#1560
Comments
Plots.jl is a dependency for visual regression tests in many packages. It would be nice to have a working version of the framework now that Julia 0.7 beta is out. Femtocleaner is working again, have you tried running it in the Plots.jl packages yet? |
See #1579 |
Julia is too fragmented. A lot of packages doesn't work anymore. Very sad |
it should work on the master branch ( |
Precompiling Plots.jl fails with this message:
The corresponding source code in components.jl is:
|
I get the same error |
on master? |
I wasn't on master, sorry for the confusion. Everything works there. |
I removed my old installation, freshly installed Julia 0.7 release, removed everything under /.julia, then re-installed Plots. It again failed on precompiling. Am I missing some cleanup step? Why is this not pulling from the Master when I'm installing it afresh? Here is the output:
|
Well the working version isn't out yet, that requires someone to merge the PR on Metadata. Until then, |
> using LinearAlgebra, SpecialFunctions, Plots, ApproxFun
[ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
ERROR: InitError: LoadError: MethodError: no method matching show(::Base.TTY, ::MIME{Symbol("text/html")}, ::String)
Closest candidates are:
show(::IO, ::MIME{Symbol("text/plain")}, ::Any) at sysimg.jl:195
show(::IO, ::MIME{Symbol("text/html")}, ::Method; kwtype) at methodshow.jl:241
show(::IO, ::MIME{Symbol("text/html")}, ::Base.MethodList) at methodshow.jl:290
...
Stacktrace:
[1] display(::TextDisplay, ::MIME{Symbol("text/html")}, ::String) at ./multimedia.jl:211
[2] display(::MIME{Symbol("text/html")}, ::String) at ./multimedia.jl:301
[3] display(::String, ::String) at ./multimedia.jl:179
[4] top-level scope at /home/ian/.julia/packages/Plots/ex9On/src/backends/plotly.jl:95
[5] include at ./boot.jl:317 [inlined]
[6] include_relative(::Module, ::String) at ./loading.jl:1038
[7] include at ./sysimg.jl:29 [inlined]
[8] include at /home/ian/.julia/packages/Plots/ex9On/src/Plots.jl:1 [inlined]
[9] __init__() at /home/ian/.julia/packages/Plots/ex9On/src/init.jl:2
[10] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:627
[11] _require_from_serialized(::String) at ./loading.jl:678
[12] macro expansion at ./logging.jl:317 [inlined]
[13] _require(::Base.PkgId) at ./loading.jl:941
[14] require(::Base.PkgId) at ./loading.jl:852
[15] macro expansion at ./logging.jl:311 [inlined]
[16] require(::Module, ::Symbol) at ./loading.jl:834
in expression starting at /home/ian/.julia/packages/Plots/ex9On/src/backends/plotly.jl:94
during initialization of module Plots |
@m4r35n357 this issue is closed and the working version is out. If you have consistent issues, could you try just |
I'm not yet a "proper" Julia user, so I don't know how to use Plots - I was just cutting and pasting examples from module docs, but have never managed to plot anything over the last 4 months because of bad builds and dependencies. In other words, I can't help here . . . :( |
@m4r35n357 I think what @mkborregaard meant is if you coul run julia> using Plots in Julia and post the error you get from just this call. Also you could post the output of julia> versioninfo() and julia> using Pkg
julia> Pkg.status() |
Just retried it after blowing away ~/.julia (again). Plots seems to build on its own. I guess the problem is caused by building along with other stuff, but then that is what most of the module docs say to do . . . Anyway, looks like this is no longer an issue so I'll get off your cases ;) I'll maybe be able to get further now (want to try DifferentialEquations.jl examples). Cheers. [UPDATE] just managed to get an example running and plotting for the first time! |
Oh, I've never had to delete |
The first error message is:
ERROR: LoadError: LoadError: UndefVarError: Date not defined
Full session:
The text was updated successfully, but these errors were encountered: