Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhelpful error message for ClimaArtifact #106

Closed
Sbozzolo opened this issue Sep 6, 2024 · 0 comments · Fixed by #139
Closed

Unhelpful error message for ClimaArtifact #106

Sbozzolo opened this issue Sep 6, 2024 · 0 comments · Fixed by #139
Assignees
Labels
documentation 📄 Improvements or additions to documentation

Comments

@Sbozzolo
Copy link
Member

Sbozzolo commented Sep 6, 2024

Suppose an artifact is undownloadable (too big). The error message when the file is not available would look like

ERROR: LoadError: Artifact "era5_land_forcing_data2021" was not found by looking in the paths:
  ~/.julia/artifacts/ec424296df6b60cfe273ac8f981701fbbed0bd8a
  ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/local/share/julia/artifacts/ec424296df6b60cfe273ac8f981701fbbed0bd8a
  ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/artifacts/ec424296df6b60cfe273ac8f981701fbbed0bd8a
Try `using Pkg; Pkg.instantiate()` to re-install all missing resources if the artifact is part of a package or call `Pkg.ensure_artifact_installed` (https://pkgdocs.julialang.org/v1/api/#Pkg.Artifacts.ensure_artifact_installed) if not.
...

This doesn't tell the user that it is their responsability to download that file.

@Sbozzolo Sbozzolo added the documentation 📄 Improvements or additions to documentation label Sep 6, 2024
@ph-kev ph-kev self-assigned this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation 📄 Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants