-
-
Notifications
You must be signed in to change notification settings - Fork 907
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
TypeError: Unicode-objects must be encoded before hashing in s3cmd sync --cf-invalidate
#1006
Comments
Having the same issue. I tried encoding
|
I also just experienced this problem. |
I can confirm that with the current version (2.0.2) the problem is there, while with the master branch version it's been fixed. |
It's going to take me a bit to figure out how to setup the s3cmd development environment again. But reading through the changes it appears like it should work. |
I got a new error when running this from
|
@blimmer thank you very much for your test. Shame on me, there was a very little bit of code that was forgotten from the previous commit. |
No shame! It worked great this time. Thank you 💯 |
Any idea when this will make it into PyPI please? |
Please deploy this fix. Currently |
This is still broken on fresh installs of OSX using brew to install s3cmd |
here is a drop-in docker-based workaround I set up in the mean time: https://github.com/sam0x17/s3cmd-shim |
also broken installing directly from pip |
Invoked as: /usr/bin/s3cmd ls Traceback (most recent call last): |
Thanks for making s3cmd, it's super useful!
I recently tried to use it with python3 and got the following traceback when using the
--cf-invalidate
flag:Tried on both python3.5.1 and python3.7.0.
The text was updated successfully, but these errors were encountered: