in Pluto.jl it gives the following error. I just updated to the latest version. Before that all it would do is load continually, without an error message.
Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to C:\Users\Brett\.julia\compiled\v1.5\Plots\ld3vC_mOjfj.ji.
error(::String)@error.jl:33
compilecache(::Base.PkgId, ::String)@loading.jl:1305
_require(::Base.PkgId)@loading.jl:1030
require(::Base.PkgId)@loading.jl:928
require(::Module, ::Symbol)@loading.jl:923
top-level scope@Local: 1
From worker 3: Installed Homebrew βββββββββββββββββββ v0.7.1
From worker 3: Installed HTTPClient βββββββββββββββββ v0.2.1
From worker 3: Installed ApplicationBuilderAppUtils β v0.1.1
From worker 3: Installed ColorTypes βββββββββββββββββ v0.8.0
From worker 3: Installed BinDeps ββββββββββββββββββββ v0.8.10
From worker 3: Installed JSON βββββββββββββββββββββββ v0.20.0
From worker 3: Installed SimpleDirectMediaLayer βββββ v0.1.1
From worker 3: Installed Glob βββββββββββββββββββββββ v1.2.0
From worker 3: Installed LibCURL ββββββββββββββββββββ v0.5.2
From worker 3: Installed ArgParse βββββββββββββββββββ v0.6.2
From worker 3: ERROR: LoadError: UndefVarError: XRGB not defined
From worker 3: Stacktrace:
From worker 3: [1] top-level scope at C:\Users\Brett\.julia\packages\Colors\kc2v8\src\Colors.jl:7 (repeats
2 times)
From worker 3: [2] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 3: [3] include(::Module, ::String) at .\Base.jl:368
From worker 3: [4] top-level scope at none:2
From worker 3: [5] eval at .\boot.jl:331 [inlined]
From worker 3: [6] eval(::Expr) at .\client.jl:467
From worker 3: [7] top-level scope at .\none:3
From worker 3: in expression starting at C:\Users\Brett.julia\packages\Colors\kc2v8\src\Colors.jl:7
From worker 3: ERROR: LoadError: Failed to precompile Colors [5ae59095-9a9b-59fe-a467-6f913c188581] to C:\Users\Brett.julia\compiled\v1.5\Colors\NKjaT_mOjfj.ji.
From worker 3: Stacktrace:
From worker 3: [1] error(::String) at .\error.jl:33
From worker 3: [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
From worker 3: [3] _require(::Base.PkgId) at .\loading.jl:1030
From worker 3: [4] require(::Base.PkgId) at .\loading.jl:928
From worker 3: [5] require(::Module, ::Symbol) at .\loading.jl:923
From worker 3: [6] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 3: [7] include(::Module, ::String) at .\Base.jl:368
From worker 3: [8] top-level scope at none:2
From worker 3: [9] eval at .\boot.jl:331 [inlined]
From worker 3: [10] eval(::Expr) at .\client.jl:467
From worker 3: [11] top-level scope at .\none:3
From worker 3: in expression starting at C:\Users\Brett.julia\packages\ColorSchemes\R4W4Y\src\ColorSchemes.jl:15
From worker 3: ERROR: LoadError: Failed to precompile ColorSchemes [35d6a980-a343-548e-a6ea-1d62b119f2f4] to C:\Users\Brett.julia\compiled\v1.5\ColorSchemes\EO5fj_mOjfj.ji.
From worker 3: Stacktrace:
From worker 3: [1] error(::String) at .\error.jl:33
From worker 3: [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
From worker 3: [3] _require(::Base.PkgId) at .\loading.jl:1030
From worker 3: [4] require(::Base.PkgId) at .\loading.jl:928
From worker 3: [5] require(::Module, ::Symbol) at .\loading.jl:923
From worker 3: [6] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 3: [7] include(::Module, ::String) at .\Base.jl:368
From worker 3: [8] top-level scope at none:2
From worker 3: [9] eval at .\boot.jl:331 [inlined]
From worker 3: [10] eval(::Expr) at .\client.jl:467
From worker 3: [11] top-level scope at .\none:3
From worker 3: in expression starting at C:\Users\Brett.julia\packages\PlotUtils\3Ttrk\src\PlotUtils.jl:3
From worker 3: ERROR: LoadError: Failed to precompile PlotUtils [995b91a9-d308-5afd-9ec6-746e21dbc043] to C:\Users\Brett.julia\compiled\v1.5\PlotUtils\YveHG_mOjfj.ji.
From worker 3: Stacktrace:
From worker 3: [1] error(::String) at .\error.jl:33
From worker 3: [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
From worker 3: [3] _require(::Base.PkgId) at .\loading.jl:1030
From worker 3: [4] require(::Base.PkgId) at .\loading.jl:928
From worker 3: [5] require(::Module, ::Symbol) at .\loading.jl:923
From worker 3: [6] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 3: [7] include(::Module, ::String) at .\Base.jl:368
From worker 3: [8] top-level scope at none:2
From worker 3: [9] eval at .\boot.jl:331 [inlined]
From worker 3: [10] eval(::Expr) at .\client.jl:467
From worker 3: [11] top-level scope at .\none:3
From worker 3: in expression starting at C:\Users\Brett.julia\packages\Plots\vsE7b\src\Plots.jl:20
From worker 3: ERROR: LoadError: UndefVarError: XRGB not defined
From worker 3: Stacktrace:
From worker 3: [1] top-level scope at C:\Users\Brett.julia\packages\Colors\kc2v8\src\Colors.jl:7 (repeats
2 times)
From worker 3: [2] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 3: [3] include(::Module, ::String) at .\Base.jl:368
From worker 3: [4] top-level scope at none:2
From worker 3: [5] eval at .\boot.jl:331 [inlined]
From worker 3: [6] eval(::Expr) at .\client.jl:467
From worker 3: [7] top-level scope at .\none:3
From worker 3: in expression starting at C:\Users\Brett.julia\packages\Colors\kc2v8\src\Colors.jl:7
From worker 3: ERROR: LoadError: Failed to precompile Colors [5ae59095-9a9b-59fe-a467-6f913c188581] to C:\Users\Brett.julia\compiled\v1.5\Colors\NKjaT_mOjfj.ji.
From worker 3: Stacktrace:
From worker 3: [1] error(::String) at .\error.jl:33
From worker 3: [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
From worker 3: [3] _require(::Base.PkgId) at .\loading.jl:1030
From worker 3: [4] require(::Base.PkgId) at .\loading.jl:928
From worker 3: [5] require(::Module, ::Symbol) at .\loading.jl:923
From worker 3: [6] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 3: [7] include(::Module, ::String) at .\Base.jl:368
From worker 3: [8] top-level scope at none:2
From worker 3: [9] eval at .\boot.jl:331 [inlined]
From worker 3: [10] eval(::Expr) at .\client.jl:467
From worker 3: [11] top-level scope at .\none:3
From worker 3: in expression starting at C:\Users\Brett.julia\packages\ColorSchemes\R4W4Y\src\ColorSchemes.jl:15
From worker 3: ERROR: LoadError: Failed to precompile ColorSchemes [35d6a980-a343-548e-a6ea-1d62b119f2f4] to C:\Users\Brett.julia\compiled\v1.5\ColorSchemes\EO5fj_mOjfj.ji.
From worker 3: Stacktrace:
From worker 3: [1] error(::String) at .\error.jl:33
From worker 3: [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
From worker 3: [3] _require(::Base.PkgId) at .\loading.jl:1030
From worker 3: [4] require(::Base.PkgId) at .\loading.jl:928
From worker 3: [5] require(::Module, ::Symbol) at .\loading.jl:923
From worker 3: [6] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 3: [7] include(::Module, ::String) at .\Base.jl:368
From worker 3: [8] top-level scope at none:2
From worker 3: [9] eval at .\boot.jl:331 [inlined]
From worker 3: [10] eval(::Expr) at .\client.jl:467
From worker 3: [11] top-level scope at .\none:3
From worker 3: in expression starting at C:\Users\Brett.julia\packages\PlotUtils\3Ttrk\src\PlotUtils.jl:3
From worker 3: ERROR: LoadError: Failed to precompile PlotUtils [995b91a9-d308-5afd-9ec6-746e21dbc043] to C:\Users\Brett.julia\compiled\v1.5\PlotUtils\YveHG_mOjfj.ji.
From worker 3: Stacktrace:
From worker 3: [1] error(::String) at .\error.jl:33
From worker 3: [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
From worker 3: [3] _require(::Base.PkgId) at .\loading.jl:1030
From worker 3: [4] require(::Base.PkgId) at .\loading.jl:928
From worker 3: [5] require(::Module, ::Symbol) at .\loading.jl:923
From worker 3: [6] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 3: [7] include(::Module, ::String) at .\Base.jl:368
From worker 3: [8] top-level scope at none:2
From worker 3: [9] eval at .\boot.jl:331 [inlined]
From worker 3: [10] eval(::Expr) at .\client.jl:467
From worker 3: [11] top-level scope at .\none:3
From worker 3: in expression starting at C:\Users\Brett.julia\packages\Plots\vsE7b\src\Plots.jl:20
^C
Sounds like a bigger problem, but Iβm not completely sure I understand. Is the problem with Julia, that Pluto is incompatible with REPL, something to do with paths, or something to do with colors?
I updated to the latest version of Pluto, and Plots, Iβm not sure what the issue is. Should I try to update some of these packages not loading right?
Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to C:\Users\Brett\.julia\compiled\v1.5\Plots\ld3vC_mOjfj.ji.
error(::String)@error.jl:33
compilecache(::Base.PkgId, ::String)@loading.jl:1305
_require(::Base.PkgId)@loading.jl:1030
require(::Base.PkgId)@loading.jl:928
require(::Module, ::Symbol)@loading.jl:923
top-level scope@Local: 1
From worker 2: ERROR: LoadError: UndefVarError: XRGB not defined
From worker 2: Stacktrace:
From worker 2: [1] top-level scope at C:\Users\Brett\.julia\packages\Colors\kc2v8\src\Colors.jl:7 (repeats
2 times)
From worker 2: [2] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 2: [3] include(::Module, ::String) at .\Base.jl:368
From worker 2: [4] top-level scope at none:2
From worker 2: [5] eval at .\boot.jl:331 [inlined]
From worker 2: [6] eval(::Expr) at .\client.jl:467
From worker 2: [7] top-level scope at .\none:3
From worker 2: in expression starting at C:\Users\Brett\.julia\packages\Colors\kc2v8\src\Colors.jl:7
From worker 2: ERROR: LoadError: Failed to precompile Colors [5ae59095-9a9b-59fe-a467-6f913c188581] to C:\Users\Brett\.julia\compiled\v1.5\Colors\NKjaT_mOjfj.ji.
From worker 2: Stacktrace:
From worker 2: [1] error(::String) at .\error.jl:33
From worker 2: [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
From worker 2: [3] _require(::Base.PkgId) at .\loading.jl:1030
From worker 2: [4] require(::Base.PkgId) at .\loading.jl:928
From worker 2: [5] require(::Module, ::Symbol) at .\loading.jl:923
From worker 2: [6] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 2: [7] include(::Module, ::String) at .\Base.jl:368
From worker 2: [8] top-level scope at none:2
From worker 2: [9] eval at .\boot.jl:331 [inlined]
From worker 2: [10] eval(::Expr) at .\client.jl:467
From worker 2: [11] top-level scope at .\none:3
From worker 2: in expression starting at C:\Users\Brett\.julia\packages\ColorSchemes\R4W4Y\src\ColorSchemes.jl:15
From worker 2: ERROR: LoadError: Failed to precompile ColorSchemes [35d6a980-a343-548e-a6ea-1d62b119f2f4] to C:\Users\Brett\.julia\compiled\v1.5\ColorSchemes\EO5fj_mOjfj.ji.
From worker 2: Stacktrace:
From worker 2: [1] error(::String) at .\error.jl:33
From worker 2: [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
From worker 2: [3] _require(::Base.PkgId) at .\loading.jl:1030
From worker 2: [4] require(::Base.PkgId) at .\loading.jl:928
From worker 2: [5] require(::Module, ::Symbol) at .\loading.jl:923
From worker 2: [6] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 2: [7] include(::Module, ::String) at .\Base.jl:368
From worker 2: [8] top-level scope at none:2
From worker 2: [9] eval at .\boot.jl:331 [inlined]
From worker 2: [10] eval(::Expr) at .\client.jl:467
From worker 2: [11] top-level scope at .\none:3
From worker 2: in expression starting at C:\Users\Brett\.julia\packages\Gaston\ctAQy\src\Gaston.jl:18
From worker 2: ERROR: LoadError: UndefVarError: XRGB not defined
From worker 2: Stacktrace:
From worker 2: [1] top-level scope at C:\Users\Brett\.julia\packages\Colors\kc2v8\src\Colors.jl:7 (repeats
2 times)
From worker 2: [2] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 2: [3] include(::Module, ::String) at .\Base.jl:368
From worker 2: [4] top-level scope at none:2
From worker 2: [5] eval at .\boot.jl:331 [inlined]
From worker 2: [6] eval(::Expr) at .\client.jl:467
From worker 2: [7] top-level scope at .\none:3
From worker 2: in expression starting at C:\Users\Brett\.julia\packages\Colors\kc2v8\src\Colors.jl:7
From worker 2: ERROR: LoadError: Failed to precompile Colors [5ae59095-9a9b-59fe-a467-6f913c188581] to C:\Users\Brett\.julia\compiled\v1.5\Colors\NKjaT_mOjfj.ji.
From worker 2: Stacktrace:
From worker 2: [1] error(::String) at .\error.jl:33
From worker 2: [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
From worker 2: [3] _require(::Base.PkgId) at .\loading.jl:1030
From worker 2: [4] require(::Base.PkgId) at .\loading.jl:928
From worker 2: [5] require(::Module, ::Symbol) at .\loading.jl:923
From worker 2: [6] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 2: [7] include(::Module, ::String) at .\Base.jl:368
From worker 2: [8] top-level scope at none:2
From worker 2: [9] eval at .\boot.jl:331 [inlined]
From worker 2: [10] eval(::Expr) at .\client.jl:467
From worker 2: [11] top-level scope at .\none:3
From worker 2: in expression starting at C:\Users\Brett\.julia\packages\ColorSchemes\R4W4Y\src\ColorSchemes.jl:15
From worker 2: ERROR: LoadError: Failed to precompile ColorSchemes [35d6a980-a343-548e-a6ea-1d62b119f2f4] to C:\Users\Brett\.julia\compiled\v1.5\ColorSchemes\EO5fj_mOjfj.ji.
From worker 2: Stacktrace:
From worker 2: [1] error(::String) at .\error.jl:33
From worker 2: [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
From worker 2: [3] _require(::Base.PkgId) at .\loading.jl:1030
From worker 2: [4] require(::Base.PkgId) at .\loading.jl:928
From worker 2: [5] require(::Module, ::Symbol) at .\loading.jl:923
From worker 2: [6] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 2: [7] include(::Module, ::String) at .\Base.jl:368
From worker 2: [8] top-level scope at none:2
From worker 2: [9] eval at .\boot.jl:331 [inlined]
From worker 2: [10] eval(::Expr) at .\client.jl:467
From worker 2: [11] top-level scope at .\none:3
From worker 2: in expression starting at C:\Users\Brett\.julia\packages\PlotUtils\3Ttrk\src\PlotUtils.jl:3
From worker 2: ERROR: LoadError: Failed to precompile PlotUtils [995b91a9-d308-5afd-9ec6-746e21dbc043] to C:\Users\Brett\.julia\compiled\v1.5\PlotUtils\YveHG_mOjfj.ji.
From worker 2: Stacktrace:
From worker 2: [1] error(::String) at .\error.jl:33
From worker 2: [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
From worker 2: [3] _require(::Base.PkgId) at .\loading.jl:1030
From worker 2: [4] require(::Base.PkgId) at .\loading.jl:928
From worker 2: [5] require(::Module, ::Symbol) at .\loading.jl:923
From worker 2: [6] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 2: [7] include(::Module, ::String) at .\Base.jl:368
From worker 2: [8] top-level scope at none:2
From worker 2: [9] eval at .\boot.jl:331 [inlined]
From worker 2: [10] eval(::Expr) at .\client.jl:467
From worker 2: [11] top-level scope at .\none:3
From worker 2: in expression starting at C:\Users\Brett\.julia\packages\Plots\vsE7b\src\Plots.jl:20
I face the same issue and share the exact same questions with you. Am responding here just to reinforce the fact that others face it as well and that we cannot keep on working on Pluto these days, if something of such importance, such as failing to load Plots, happens. Finally, fyi Pluto fails to precompile the HypothesisTests package too, which means that it is probably something of a more general nature.
Any help from the Pluto people is more than welcome!
Itβs not just plots, it seems to be any package that has not already been added to Pluto, I have tried the same thing with other packages. @Syx_Pek 's claim that itβs opening a new session seems to be in agreement with this.
Any news regarding this issue? Iβm facing the same problem with a package that uses DataFrames.
It started to happen only after i upgraded Pluto, Makie and AbstractPlotting to the latest versions. Updating DataFrames and PooledArrays didnβt help.
From worker 2: ERROR: LoadError: UndefVarError: invrefpool not defined
From worker 2: Stacktrace:
From worker 2: [1] getproperty(::Module, ::Symbol) at .\Base.jl:26
From worker 2: [2] top-level scope at C:\Users\rgal\.julia\packages\PooledArrays\4I2sD\src\PooledArrays.jl:162
From worker 2: [3] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 2: [4] include(::Module, ::String) at .\Base.jl:368
From worker 2: [5] top-level scope at none:2
From worker 2: [6] eval at .\boot.jl:331 [inlined]
From worker 2: [7] eval(::Expr) at .\client.jl:467
From worker 2: [8] top-level scope at .\none:3
From worker 2: in expression starting at C:\Users\rgal\.julia\packages\PooledArrays\4I2sD\src\PooledArrays.jl:162
From worker 2: ERROR: LoadError: Failed to precompile PooledArrays [2dfb63ee-cc39-5dd5-95bd-886bf059d720] to C:\Users\rgal\.julia\compiled\v1.5\PooledArrays\vi11X_UUqnl.ji.
From worker 2: Stacktrace:
From worker 2: [1] error(::String) at .\error.jl:33
From worker 2: [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
From worker 2: [3] _require(::Base.PkgId) at .\loading.jl:1030
From worker 2: [4] require(::Base.PkgId) at .\loading.jl:928
From worker 2: [5] require(::Module, ::Symbol) at .\loading.jl:923
From worker 2: [6] include(::Function, ::Module, ::String) at .\Base.jl:380
From worker 2: [7] include(::Module, ::String) at .\Base.jl:368
From worker 2: [8] top-level scope at none:2
From worker 2: [9] eval at .\boot.jl:331 [inlined]
From worker 2: [10] eval(::Expr) at .\client.jl:467
From worker 2: [11] top-level scope at .\none:3
From worker 2: in expression starting at C:\Users\rgal\.julia\packages\DataFrames\oQ5c7\src\DataFrames.jl:4
Note that you have to do this inside Pluto, and not in the Julia terminal that hosts it. Pluto creates new environment for each notebook, so thatβs necessary. This is still very much a bug, though.