You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a "hello world" introduction to plotting in Pluto notebooks locally https://featured.plutojl.org/plot/plots.jl , I get an error when installing the Plots dependency . It prevents all cells from running.
I can reproduce the same error logs by running ] precompile Plots in the REPL.
Click expand for full error message.
ERROR: The following 1 direct dependency failed to precompile:
Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to "/Users/cameron.yick/.julia/compiled/v1.10/Plots/jl_4puoUQ".
ERROR: LoadError: Failed to precompile Glib_jll [7746bdde-850d-59dc-9ae8-88ece973131d] to "/Users/cameron.yick/.julia/compiled/v1.10/Glib_jll/jl_AzODk1".
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
@ Base ./loading.jl:2468
[3] compilecache
@ ./loading.jl:2340 [inlined]
[4] (::Base.var"#968#969"{Base.PkgId})()
@ Base ./loading.jl:1974
[5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:93
[6] #mkpidlock#6
@ /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:88 [inlined]
[7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:111
[8] #invokelatest#2
@ ./essentials.jl:894 [inlined]
[9] invokelatest
@ ./essentials.jl:889 [inlined]
[10] maybe_cachefile_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base ./loading.jl:2983
[11] maybe_cachefile_lock
@ ./loading.jl:2980 [inlined]
[12] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:1970
[13] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1812
[14] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[15] invoke_in_world
@ ./essentials.jl:923 [inlined]
[16] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1803
[17] macro expansion
@ ./loading.jl:1790 [inlined]
[18] macro expansion
@ ./lock.jl:267 [inlined]
[19] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1753
[20] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[21] invoke_in_world
@ ./essentials.jl:923 [inlined]
[22] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1746
[23] include(mod::Module, _path::String)
@ Base ./Base.jl:495
[24] top-level scope
@ ~/.julia/packages/JLLWrappers/pG9bm/src/toplevel_generators.jl:192
[25] include
@ ./Base.jl:495 [inlined]
[26] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
@ Base ./loading.jl:2222
[27] top-level scope
@ stdin:3
in expression starting at /Users/cameron.yick/.julia/packages/Cairo_jll/a0woY/src/wrappers/aarch64-apple-darwin.jl:4
in expression starting at /Users/cameron.yick/.julia/packages/Cairo_jll/a0woY/src/Cairo_jll.jl:2
in expression starting at stdin:3
The error repeats for several other libraries with similar text (omitted for brevity), and persists after retrying/restarting the server.
hydrosquall
changed the title
[BUG] Plots fails to precompile on MacOS
[BUG] Plots fails to precompile on MacOS for Julia 1.10.4
Aug 2, 2024
hydrosquall
changed the title
[BUG] Plots fails to precompile on MacOS for Julia 1.10.4
[BUG] Plots fails to precompile on MacOS Apple Silicon with Julia 1.10.4
Aug 2, 2024
I don't know what changed since I already tried restarting the Julia session several times yesterday, but I restarted my computer last night, and the notebook fully works today! Apologies for the noise.
Details
When running a "hello world" introduction to plotting in Pluto notebooks locally https://featured.plutojl.org/plot/plots.jl , I get an error when installing the Plots dependency . It prevents all cells from running.
I can reproduce the same error logs by running
] precompile Plots
in the REPL.Click expand for full error message.
The error repeats for several other libraries with similar text (omitted for brevity), and persists after retrying/restarting the server.
Backends
This bug occurs on ( insert
x
below )Versions
Plots.jl version:
v1.40.5
Backend version (
]st -m PlotlyJS
):v0.18.13
Output of
versioninfo()
:Related
1.10.4
instead of1.10.3
The text was updated successfully, but these errors were encountered: