JuliaGizmos / Interact.jl

Interactive widgets to play with your Julia code
Other
522 stars 76 forks source link

Bulma not defined when compiling Interact #310

Closed AnneCCollin closed 5 years ago

AnneCCollin commented 5 years ago

Hi,

I'm getting the following error when I try "using Interact" (both in the REPL and with Jupyter)

ERROR: LoadError: UndefVarError: Bulma not defined Stacktrace: [1] getproperty(::Module, ::Symbol) at ./sysimg.jl:13 [2] top-level scope at none:0 [3] include at ./boot.jl:326 [inlined] [4] include_relative(::Module, ::String) at ./loading.jl:1038 [5] include(::Module, ::String) at ./sysimg.jl:29 [6] top-level scope at none:2 [7] eval at ./boot.jl:328 [inlined] [8] eval(::Expr) at ./client.jl:404 [9] top-level scope at ./none:3 in expression starting at /Users/annecollin/.julia/packages/Interact/65HWE/src/Interact.jl:22 ERROR: Failed to precompile Interact [c601a237-2ae4-5e1e-952c-7a85b0c7eef1] to /Users/annecollin/.julia/compiled/v1.1/Interact/XmYW4.ji. Stacktrace: [1] error(::String) at ./error.jl:33 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1197 [3] _require(::Base.PkgId) at ./loading.jl:960 [4] require(::Base.PkgId) at ./loading.jl:858 [5] require(::Module, ::Symbol) at ./loading.jl:853

I'm on Julia 1.1, MacOS Mojave.

I used to be able to use Interact perfectly before, on 1.0 even as far as I recall. What do you advise I do?

Best, Anne

piever commented 5 years ago

Thanks for reporting. Not sure what it could be, could you post your:

(v1.1) pkg> status

(in particular the line about Interact).

AnneCCollin commented 5 years ago

(v1.1) pkg> status Status ~/.julia/environments/v1.1/Project.toml [ad839575] Blink v0.10.1 [a9c8d775] CPUTime v0.1.0 [336ed68f] CSV v0.4.3 [159f3aea] Cairo v0.5.6 [5ae59095] Colors v0.9.5 [a81c6b42] Compose v0.7.2 [a93c6f00] DataFrames v0.17.1 [1313f7d8] DataFramesMeta v0.4.1 [186bb1d3] Fontconfig v0.2.0 [38e38edf] GLM v1.1.0 [c91e804a] Gadfly v1.0.1 [c27321d9] Glob v1.2.0 [7073ff75] IJulia v1.16.0 [c601a237] Interact v0.9.0 [e1d29d7a] Missings v0.4.0 [58dd65bb] Plotly v0.2.0 [91a5bcdd] Plots v0.23.0 [438e738f] PyCall v1.18.5 [2913bbd2] StatsBase v0.27.0 [f3b207a7] StatsPlots v0.10.1 [112f6efa] VegaLite v0.5.3 [37e2e46d] LinearAlgebra [de0858da] Printf [2f01184e] SparseArrays [10745b16] Statistics

piever commented 5 years ago

I see the problem now, this should be fixed by updating Interact:

(v1.1) pkg> up Interact

After this you should hopefully have version 0.10.2 of Interact and things should restart working.

AnneCCollin commented 5 years ago

Yes, now it works, should have ran the classic update before posting! Thanks