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

[BUG] build_all scripts can't download schema #137

Closed
anton-seaice opened this issue Nov 3, 2023 · 1 comment
Closed

[BUG] build_all scripts can't download schema #137

anton-seaice opened this issue Nov 3, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@anton-seaice
Copy link
Collaborator

Describe the bug

When a user submits the bin/build_all.sh to the PBS queue, the build fails if the user doesn't have a cached copy of the assets json schema from https://github.com/ACCESS-NRI/schema (i.e. if the schema version has changed since last run)

To Reproduce

Delete ~/.cache/pooch/

Run qsub -v version=test bin/build_all.sh

Additional context

Workaround is to start a python session on a login node, and run

from access_nri_intake import source, catalog to cache a copy of the schema

@anton-seaice anton-seaice added the bug Something isn't working label Nov 3, 2023
@dougiesquire
Copy link
Collaborator

Thanks @anton-seaice. I know you know, but for others watching this is because the work nodes on Gadi do not have network access and so cannot download the schema if it is not cached. We'll be able to ensure this is avoided once we have the catalog build in the CD (#133), but for now a PR adding a note about this to the docs would be very welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants