Comments (11)
The recent issues may not be related to the original issue, but given that LERC-4.0.0+0
was released three hours ago, that seems like the most likely culprit given my experiments and the resulting log files for the recent reports.
The current issue is very easy to replicate, even on Julia v1.10.3, starting from a completely empty depot.
JULIA_DEPOT_PATH="$(mktemp -d)" julia --eval 'using Pkg' --eval 'Pkg.add("Plots")'
Results down the line in
Precompiling project...
✗ GR_jll
✗ Plots
✗ Plots → UnitfulExt
145 dependencies successfully precompiled in 189 seconds
1 dependency had output during precompilation:
┌ GR
│ ERROR: LoadError: InitError: could not load library "/tmp/tmp.mlvhqn2QeE/artifacts/e18a60e84fd8aefa967cb9f1d11dc6cbd9cac88b/lib/libtiff.so"
│ libLerc.so: cannot open shared object file: No such file or directory
PinningLERC_jll
to v3.0.0 appears to resolve the issue, i.e. the following works
JULIA_DEPOT_PATH="$(mktemp -d)" julia --eval 'using Pkg' --eval 'Pkg.add([PackageSpec(; name="Plots"), PackageSpec(; name="LERC_jll", version="3.0.0")])'
This is all on Ubuntu (23.10) and some other Linux distros.
from plots.jl.
Man, that was a nice catch, @bauglir and @SamuelBrand1. Confirm that downgrading LERC_jll v4.0.0+0 ⇒ v3.0.0+1 resolves the Plots.jl GR issue for me, and a similar set of precompile issues with ImageMagick that “magically" surfaced this morning.
from plots.jl.
I think incompatibility with LERC-4
is the problem, this temporary fix works for me
from plots.jl.
I found that deleting .julia/artifacts
and reinstantiating the environment helped on a similar error
from plots.jl.
i have the same issue on julia 1.10.3 on Ubuntu 24.04
from plots.jl.
I have the same issue on Julia 1.10.3+0.aarch64.apple.darwin14 on macOS 14.4.1.
I deleted the .julia/artifacts
dir and added Plots in the REPL. Then, many errors occurred during precompile, seemingly involving GR;
- The first involves ERROR: LoadError: InitError: could not load library libtiff.5.dylib, and then there appears to be a similar issue with libLerc.dylib.
- In the next block of the stack trace, I get ERROR: LoadError: InitError: UndefVarError:
GR_jll
not defined.
from plots.jl.
from plots.jl.
I'm getting this issue causing a CI failure... so deleting everything and trying again is not a great solution.
from plots.jl.
Hmmm. I just tried the "remove everything" workaround, but I'm still getting the following error message: ERROR: LoadError: InitError: UndefVarError: GR_jll
not defined.
In particular:
- Deleted the
.julia
dir, reinstalled Julia 1.10.3+0.aarch64.apple.darwin14 - Opened the REPL, added the Plots package. However, when I try to use Plots and trigger a precompile ...
- Boom.
It always seems to fail on the precomple step.
from plots.jl.
from plots.jl.
Yeah, could be. Frustrating.
from plots.jl.
Related Issues (20)
- [BUG] Arrow does not work with pgfplotsx
- Warning when loading Plotly backend HOT 2
- [BUG] Huge vertical margin of `plot_title` HOT 8
- [FR] Improve the `xticks!` dosctring
- [FR] savefig("foo.svgz") (gzip-compressed SVG) HOT 1
- [BUG] grouping Measurement data leads to wrong errorbars in plot
- [BUG] PGFPlotsX doesn't colour certain markers in a scatter plot.
- Support for PlotlyKaleido@2
- Feature request: add keyword to make Julia wait until plot window closes
- [FR] Flip yaxis of heatmap HOT 1
- [FR] Better legends for :vline and :hline HOT 1
- [BUG] Plots.jl dependencies are broken, cannot install the package HOT 3
- [FR] Reproducible output with PGFPlotsX backend
- [BUG] Markers not in legend when plotting step functions
- [BUG] Incorrect display of negative signs in tick labels with non-default fonts in PDF outputs
- [BUG] link=:y doesn't work across nested subplots with layout HOT 2
- [BUG] Precompile fails in Julia 1.10.3: Buffer overflow
- Failed to precompile Plots on Julia v1.10.3
- [FR] Avoid gratuitous use of transparency HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plots.jl.