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

Cannot dsync s3 folders to local #125

Closed
dogenius01 opened this issue Jul 18, 2018 · 5 comments
Closed

Cannot dsync s3 folders to local #125

dogenius01 opened this issue Jul 18, 2018 · 5 comments
Assignees

Comments

@dogenius01
Copy link

dogenius01 commented Jul 18, 2018

i get error messages, when try to dsync s3 folders(empty) to local.

"[Runtime Failure] The obj "images" does not exists."
The images is a folder in s3 and not exist in local.

But, with sync not dsync operation it copies the folder.

@dogenius01
Copy link
Author

dogenius01 commented Jul 18, 2018

and i found one more thing.

dsync a directory(empty) in the local to s3 does not work, too.

@navinpai
Copy link
Contributor

navinpai commented Aug 2, 2018

Hey,
How did you install s4cmd? I have a feeling this is related to the zero-file size issue which was fixed recently (but is pending release).

Can you list out the commands you used which are failing?

@dogenius01
Copy link
Author

Hi,

I installed s4cmd in this way => $ pip install s4cmd.

Failed command list
$ s4cmd dsync s3://xxx/some/path/dir1/ /data/s4cmd_test/dir1/

@navinpai
Copy link
Contributor

navinpai commented Aug 3, 2018

Yes, this looks to be the same issue which was fixed in #66. Tests have also been updated to test for this case. For a fix, you can either wait for a release, which should happen soon and then update through pip itself or simply make the required change in s4cmd.py on your local machine (The fix is just 2-3 lines: https://github.com/bloomreach/s4cmd/pull/81/files).

Closing this issue as fixed, since the fix is in master and pending release.

@navinpai navinpai closed this as completed Aug 3, 2018
@navinpai navinpai self-assigned this Aug 3, 2018
@dogenius01
Copy link
Author

Great, thank you for the feedback.

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

2 participants