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

Nondeterministic error in CI saying there is no writable folder in the load path #169

Closed
gdalle opened this issue Jan 13, 2024 · 5 comments

Comments

@gdalle
Copy link

gdalle commented Jan 13, 2024

Hi there,
I recently encountered a weird error in the CI of a package calling DataDeps.jl:

┌ Error: No writable path exists to save the data. Make sure there exists as writable path in your DataDeps Load Path.
│ See https://www.oxinabox.net/DataDeps.jl/stable/z10-for-end-users/#The-Load-Path-1
│ The current load path contains:
│   cands =8-element Vector{String}:"/home/runner/.julia/datadeps""/opt/hostedtoolcache/julia/1.10.0/x64/local/share/julia/datadeps""/opt/hostedtoolcache/julia/1.10.0/x64/share/julia/datadeps""/home/runner/datadeps""/scratch/datadeps""/staging/datadeps""/usr/share/datadeps""/usr/local/share/datadeps"
└ @ DataDeps ~/.julia/packages/DataDeps/1KjBt/src/locations.jl:116
Benchmarks: Error During Test at /home/runner/work/MultiAgentPathFinding.jl/MultiAgentPathFinding.jl/test/runtests.jl:22
  Got exception outside of a @test
  LoadError: DataDeps.NoValidPathError("No writable path exists to save the data.")

Here's the CI log. The weird thing about it is:

  • this was the first time this ever happened to me (in this package or others)
  • I resolved it by re-running CI (the last commit in this PR fixed it by changing an unrelated typo)

Any idea what this could be?

@oxinabox
Copy link
Owner

That's weird.
It either means no directory on inm the listed load path exists,
or if they existed then they had read-only permissions.

I would guess, some kinda transient but with the CI runner, maybe it initialized wrong some how.

I wouldn't worry about it unless it reoccurs

@gdalle gdalle closed this as completed Jan 15, 2024
@gdalle
Copy link
Author

gdalle commented Jan 15, 2024

@gdalle gdalle reopened this Jan 15, 2024
@oxinabox
Copy link
Owner

I am hopeful that this will have been fixed by #167

@IanButterworth
Copy link
Contributor

This is likely due to the cache action. Yeah that PR should fix it I guess

@oxinabox
Copy link
Owner

closing this, reopen if it reoccurs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants