-
-
Notifications
You must be signed in to change notification settings - Fork 902
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
Exception when running s3cmd sync #1363
Labels
Comments
add a / at the end of /tmp/archives |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When copying files from one bucket to a local drive, I saw this exception
Reproduction
I'm not yet able to write a reproducer that gets to that code path, but I looked at the code and traced the exception to this line which was written years ago.
remote_list.keys()
creates a dictionary view which cannot be indexed directly.You would need to construct a list first using
list()
then get the first value.Environment
S3cmd: 2.4.0
python: 3.12.1
The text was updated successfully, but these errors were encountered: