-
-
Notifications
You must be signed in to change notification settings - Fork 915
Description
Report from "astekolshchikov" on s3tools-bugs:
Invoked as: ./s3cmd-2.0.1/s3cmd setacl --acl-revoke=read:m3rouser s3://test --recursive
Problem: AttributeError: 'NoneType' object has no attribute 'lower'
S3cmd: 2.0.1
python: 2.7.3 (default, Mar 13 2014, 11:03:55)
[GCC 4.7.2]
environment LANG=ru_RU.UTF-8
Traceback (most recent call last):
File "./s3cmd-2.0.1/s3cmd", line 3073, in
rc = main()
File "./s3cmd-2.0.1/s3cmd", line 2989, in main
rc = cmd_func(args)
File "./s3cmd-2.0.1/s3cmd", line 1921, in cmd_setacl
update_acl(s3, uri, seq_label)
File "./s3cmd-2.0.1/s3cmd", line 2550, in update_acl
acl.revoke(**revoke)
File "/root/s3cmd-2.0.1/S3/ACL.py", line 191, in revoke
self.grantees = [g for g in self.grantees if not ((g.display_name.lower() == name and g.permission.upper() == permission)
AttributeError: 'NoneType' object has no attribute 'lower'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please try reproducing the error using
the latest s3cmd code from the git master
branch found at:
...
and have a look at the known issues list:
...
If the error persists, please report the
above lines (removing any private
info as necessary) to:
s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!