Giter VIP home page Giter VIP logo

Comments (11)

bauglir avatar bauglir commented on June 7, 2024 3

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.

varnerlab avatar varnerlab commented on June 7, 2024 2

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.

SamuelBrand1 avatar SamuelBrand1 commented on June 7, 2024 1

I think incompatibility with LERC-4 is the problem, this temporary fix works for me

from plots.jl.

BeastyBlacksmith avatar BeastyBlacksmith commented on June 7, 2024

I found that deleting .julia/artifacts and reinstantiating the environment helped on a similar error

from plots.jl.

radudiaconu0 avatar radudiaconu0 commented on June 7, 2024

i have the same issue on julia 1.10.3 on Ubuntu 24.04

from plots.jl.

varnerlab avatar varnerlab commented on June 7, 2024

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.

JuanVargas avatar JuanVargas commented on June 7, 2024

from plots.jl.

SamuelBrand1 avatar SamuelBrand1 commented on June 7, 2024

I'm getting this issue causing a CI failure... so deleting everything and trying again is not a great solution.

from plots.jl.

varnerlab avatar varnerlab commented on June 7, 2024

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:

  1. Deleted the .julia dir, reinstalled Julia 1.10.3+0.aarch64.apple.darwin14
  2. Opened the REPL, added the Plots package. However, when I try to use Plots and trigger a precompile ...
  3. Boom.

It always seems to fail on the precomple step.

from plots.jl.

JuanVargas avatar JuanVargas commented on June 7, 2024

from plots.jl.

varnerlab avatar varnerlab commented on June 7, 2024

Yeah, could be. Frustrating.

from plots.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.