Good call on the py2 fixups, Matt, thanks! There was one more f-string in test_complete_multipart_upload I've fixed up.
Getting an unexpected 500 in test_put_bucket_acl -- server logs have
Dec 13 17:13:05 saio proxy-server: __str__ returned non-string (type NoneType):
Traceback (most recent call last):
File "/vagrant/swift/swift/common/middleware/s3api/s3api.py", line 345, in __call__
resp = self.handle_request(req)
File "/vagrant/swift/swift/common/middleware/s3api/s3api.py", line 383, in handle_request
res = handler(req)
File "/vagrant/swift/swift/common/middleware/s3api/controllers/s3_acl.py", line 65, in PUT
req.get_response(self.app, 'POST')
File "/vagrant/swift/swift/common/middleware/s3api/s3request.py", line 1615, in get_response
resp = self.acl_handler.handle_acl(
File "/vagrant/swift/swift/common/middleware/s3api/acl_handlers.py", line 94, in handle_acl
return getattr(ah, method)(app)
File "/vagrant/swift/swift/common/middleware/s3api/acl_handlers.py", line 291, in POST
'Grant %s %s permission on the bucket /%s' %
TypeError: __str__ returned non-string (type NoneType) (txn: txa58de4ecc14e45f7ac5a0-006398b2a1) (client_ip: 192.168.8.1)
I think I see the problem, but I'll just update the test to avoid it for now and write up a separate bug.
Good call on the py2 fixups, Matt, thanks! There was one more f-string in test_complete_ multipart_ upload I've fixed up.
Getting an unexpected 500 in test_put_bucket_acl -- server logs have
Dec 13 17:13:05 saio proxy-server: __str__ returned non-string (type NoneType): swift/swift/ common/ middleware/ s3api/s3api. py", line 345, in __call__ request( req) swift/swift/ common/ middleware/ s3api/s3api. py", line 383, in handle_request swift/swift/ common/ middleware/ s3api/controlle rs/s3_acl. py", line 65, in PUT get_response( self.app, 'POST') swift/swift/ common/ middleware/ s3api/s3request .py", line 1615, in get_response handler. handle_ acl( swift/swift/ common/ middleware/ s3api/acl_ handlers. py", line 94, in handle_acl swift/swift/ common/ middleware/ s3api/acl_ handlers. py", line 291, in POST 5f7ac5a0- 006398b2a1) (client_ip: 192.168.8.1)
Traceback (most recent call last):
File "/vagrant/
resp = self.handle_
File "/vagrant/
res = handler(req)
File "/vagrant/
req.
File "/vagrant/
resp = self.acl_
File "/vagrant/
return getattr(ah, method)(app)
File "/vagrant/
'Grant %s %s permission on the bucket /%s' %
TypeError: __str__ returned non-string (type NoneType) (txn: txa58de4ecc14e4
I think I see the problem, but I'll just update the test to avoid it for now and write up a separate bug.