Better error message for s3fs-mapped files that are in glacier (C4-747), second try #42
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a copy of already-reviewed PR #23 (which got into an odd state).
This addresses SubmitCGAP vague error from awscli (C4-747) by making a specific error message relating to
s3fs
. However, to do that, it requires that the environment variablesCGAP_S3FS_UPLOAD_DIR
andCGAP_S3FS_UPLOAD_BUCKETS
are set.@sbreiff, best would be if we could get the setup script for s3fs into SubmitCGAP as well, so that it can arrange to set those variables. From discussion on the ticket, with env vars adjusted:
The env vars this PR uses are slightly different, so that would have to be adjusted, too. The interaction looks like:
The interaction looks like: