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

Reintroduce #221 #250

Merged
merged 2 commits into from
Mar 5, 2014
Merged

Reintroduce #221 #250

merged 2 commits into from
Mar 5, 2014

Conversation

jamesls
Copy link
Member

@jamesls jamesls commented Mar 4, 2014

Fixes aws/aws-cli#614.

The fix for botocore was good. Looking into this issue, the problem was that the accompanying CLI PR was encoding the copy source name to utf-8 when all of that logic is moved into botocore. This meant that was were utf-8 encoding the source twice, which is what was causing the test failures with unicode chars.

Also see: aws/aws-cli#688

@toastdriven
Copy link
Contributor

Looks good. :shipit:

@garnaat
Copy link
Member

garnaat commented Mar 5, 2014

I ran both unit and integration tests for botocore and awscli (in conjunction with aws/aws-cli#688) as well as some ad hoc tests. All good.

However, when trying the ad hoc tests from #221 the:

aws s3 cp s3://bucketname/✓ s3://otherbucket/✓  # This fails with a key does not exist.

is still failing for me. Do you see that?

@jamesls
Copy link
Member Author

jamesls commented Mar 5, 2014

Hmm, just doubled checked, and I'm not seeing that issue:

$ aws s3 cp s3://bucket/checkmark/✓  s3://bucket/checkmark/3/✓
copy: s3://bucket/checkmark/✓ to s3://bucket/checkmark/3/✓

$ aws s3 ls bucket/checkmark/3/
2014-03-05 10:18:56          0 ✓

@jamesls
Copy link
Member Author

jamesls commented Mar 5, 2014

Ahh, I was using an empty file. Using something large enough to trigger multipart copies shows the issue. Looking...

@jamesls
Copy link
Member Author

jamesls commented Mar 5, 2014

Too many things at once, I was using the develop branch when I ran the multipart copy test in my previous comment.

Using the proper branches of botocore/CLI, I can confirm I see no issues with unicode chars copies for both small/large files. Sorry for the noise.

@garnaat
Copy link
Member

garnaat commented Mar 5, 2014

I must have the same problem. I just went through and made sure my botocore and awscli were on the right branch and installed properly and tried again and couldn't reproduce that copy error.

LGTM

@jamesls jamesls merged commit 7bd14dd into boto:develop Mar 5, 2014
@jamesls jamesls deleted the plus-s3-copy branch June 23, 2014 18:20
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

Successfully merging this pull request may close these issues.

Multipart COPY operation fails when source filename contains + character
3 participants