JuliaDataCubes / JuliaDataCubes/ESDLTutorials

Can't launch binder - build error

Open
#1 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
8
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Thanks so much for sharing this content. I'm so excited about this project.

I tried twice to launch the binder via the link in the README (https://mybinder.org/v2/gh/felixcremer/ESDLTutorials/HEAD). Both times it failed with errors that look like

  ✗ ESDLPlots
  292 dependencies successfully precompiled in 290 seconds. 11 already precompiled.
  7 dependencies errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the packages
ERROR: expected package `EarthDataLab [359177bc]` to exist at path `/home/fcremer/.julia/dev/EarthDataLab`
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types /srv/julia/share/julia/stdlib/v1.8/Pkg/src/Types.jl:67
  [2] collect_fixed!(env::Pkg.Types.EnvCache, pkgs::Vector{Pkg.Types.PackageSpec}, names::Dict{Base.UUID, String})
    @ Pkg.Operations /srv/julia/share/julia/stdlib/v1.8/Pkg/src/Operations.jl:269
  [3] resolve_versions!(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, julia_version::VersionNumber)
    @ Pkg.Operations /srv/julia/share/julia/stdlib/v1.8/Pkg/src/Operations.jl:322
  [4] up(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, level::Pkg.Types.UpgradeLevel; skip_writing_project::Bool)
    @ Pkg.Operations /srv/julia/share/julia/stdlib/v1.8/Pkg/src/Operations.jl:1364
  [5] up(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; level::Pkg.Types.UpgradeLevel, mode::Pkg.Types.PackageMode, update_registry::Bool, skip_writing_project::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API /srv/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:341
  [6] #up#55
    @ /srv/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:161 [inlined]
  [7] #resolve#141
    @ /srv/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:347 [inlined]
  [8] resolve
    @ /srv/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:346 [inlined]
  [9] resolve(; io::Base.PipeEndpoint, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API /srv/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:345
 [10] resolve()
    @ Pkg.API /srv/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:345
 [11] top-level scope
    @ none:1
Removing intermediate container f262955f09d6
The command '/bin/sh -c JULIA_PROJECT="" julia -e "using Pkg; Pkg.add(\"IJulia\"); using IJulia; installkernel(\"Julia\", \"--project=${REPO_DIR}\");" && julia --project=${REPO_DIR} -e 'using Pkg; Pkg.instantiate(); Pkg.resolve(); pkg"precompile"'' returned a non-zero code: 1Built image, launching.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Binder link in README and reproduce the build using the Julia environment. Investigate the reported missing EarthDataLab path and the failed Pkg precompilation; done means the Binder image builds and launches the tutorial successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, jupyter-notebook
Domain
build-system, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.