-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Failure when using S3 remote cache #3523
Comments
@helger Could you also show us your |
|
|
Output of |
This happens because we try to create parent when trying to link from cache to workspace (and, here, parent of Lines 380 to 385 in ee26afe
If the file is in I don't think, we need to create parent directories for object-based storages except when checking out directory. Google Cloud Storage should equally be affected here as it's the same logic. |
@skshetry indeed adding another level fixes the issue |
@skshetry It does that as a part of linking, so it is fine. What is actually wrong here is that corner case handling, indeed. |
Trying to run the command
dvc run -d s3://mybucket/data.txt -o s3://mybucket/data_copy.txt aws s3 cp s3://mybucket/data.txt s3://mybucket/data_copy.txt
Using AWS S3 remote cache.
It fails with the error message
ERROR: unexpected error - Parameter validation failed: Invalid length for parameter Key, value: 0, valid range: 1-inf
Attached is the log with
-v
turned on.log.txt
and out of
pip freeze
pip_freeze.txt
The text was updated successfully, but these errors were encountered: