Open leonidliu opened 3 years ago
Did you create the p039_fa_meta/
prefix manually in the console? I have encountered similar errors and I think they are due to the fact that S3 must create that empty file as a placeholder, so the 'directory' can exist in S3 without any files. Deleting that empty file fixed this error for me.
Since this is avoidable by just deleting the empty file or just uploading your files via an S3 client rather than creating directories manually, you could argue this isn't a high priority to fix in the package. It would be nice in some cases however.
If you want to reproduce yourself, simply 1) create a "directory" in the AWS console 2) try to sync with s3sync
, observe the error about a file path ending with a period and the empty file in the bucket contents.
Can confirm that this happened to me as well with a bucket created through the console. I believe that it would be worth fixing, and would be happy to contribute a fix if this project is still active!
Possible bug. I'm trying to 'download' from
s3sync()
while supplying a prefix. The download fails on the first 'file' it tries to download, which appears to be an empty string.Code:
Last few lines of output, including the error:
Traceback:
Session Info: