Traceback (most recent call last):

 "/usr/local/bin/cumulus-store", line 35, in <module>
remote.put(cmd[1], cmd[2], open(cmd[3], 'r'))

 "/usr/local/lib/python2.6/dist-packages/cumulus/store/s3.py", line 54, in put
k.set_contents_from_file(fp)

 "/usr/local/lib/python2.6/dist-packages/boto-2.5.2-py2.6.egg/boto/s3/key.py", line 994, in set_contents_from_file
chunked_transfer=chunked_transfer, size=size)

 "/usr/local/lib/python2.6/dist-packages/boto-2.5.2-py2.6.egg/boto/s3/key.py", line 727, in send_file
query_args=query_args)

 "/usr/local/lib/python2.6/dist-packages/boto-2.5.2-py2.6.egg/boto/s3/connection.py", line 472, in make_request
override_num_retries=override_num_retries)

 "/usr/local/lib/python2.6/dist-packages/boto-2.5.2-py2.6.egg/boto/connection.py", line 913, in make_request
return self._mexe(http_request, sender, override_num_retries)

 "/usr/local/lib/python2.6/dist-packages/boto-2.5.2-py2.6.egg/boto/connection.py", line 790, in _mexe
request.body, request.headers)

 "/usr/local/lib/python2.6/dist-packages/boto-2.5.2-py2.6.egg/boto/s3/key.py", line 684, in sender
response.status, response.reason, body)S3ResponseError: S3ResponseError: 400 Bad Request
Traceback (most recent call last):


 "/home/transfusion/aiohttp/aiohttp_issue_4112.py", line 14, in <module>

loop.run_until_complete(test())


 "/usr/lib/python3.7/asyncio/base_events.py", line 579, in run_until_complete

return future.result()


 "/home/transfusion/aiohttp/aiohttp_issue_4112.py", line 10, in test

print(r.get_encoding())


 "/home/transfusion/aiohttp/aiohttp/client_reqrep.py", line 942, in get_encoding

encoding = chardet.detect(self._body)['encoding']


 "/home/transfusion/python37/lib/python3.7/site-packages/cchardet/__init__.py", line 15, in detect

encoding, confidence = _cchardet.detect_with_confidence(msg)


 "src/cchardet/_cchardet.pyx", line 15, in cchardet._cchardet.detect_with_confidence
TypeError: object of type 'NoneType' has no len()
