Traceback (most recent call last):


 "/home/hummingbot/miniconda3/envs/hummingbot/lib/python3.8/site-packages/prompt_toolkit/layout/controls.py", line 714, in get_processed_line

return cache[i]
KeyError: 153

Traceback (most recent call last):

 "/home/pablo/pch/virtual-envs/bouncer/local/lib/python2.7/site-packages/moto/core/models.py", line 61, in wrapper
result = func(*args, **kwargs)

 "/home/pablo/pch/bouncer/poc.py", line 19, in test_poc
instance.modify_attribute('blockDeviceMapping', {'/dev/sda1': True})

 "/home/pablo/pch/virtual-envs/bouncer/local/lib/python2.7/site-packages/boto/ec2/instance.py", line 557, in modify_attribute
dry_run=dry_run

 "/home/pablo/pch/virtual-envs/bouncer/local/lib/python2.7/site-packages/boto/ec2/connection.py", line 1233, in modify_instance_attribute
return self.get_status('ModifyInstanceAttribute', params, verb='POST')

 "/home/pablo/pch/virtual-envs/bouncer/local/lib/python2.7/site-packages/boto/connection.py", line 1152, in get_status
response = self.make_request(action, params, path, verb)

 "/home/pablo/pch/virtual-envs/bouncer/local/lib/python2.7/site-packages/boto/connection.py", line 1059, in make_request
return self._mexe(http_request)

 "/home/pablo/pch/virtual-envs/bouncer/local/lib/python2.7/site-packages/boto/connection.py", line 898, in _mexe
response = connection.getresponse()

 "/usr/lib/python2.7/httplib.py", line 1043, in getresponse
response = self.response_class(*args, **kwds)

 "/home/pablo/pch/virtual-envs/bouncer/local/lib/python2.7/site-packages/boto/connection.py", line 392, in __init__
httplib.HTTPResponse.__init__(self, *args, **kwargs)

 "/usr/lib/python2.7/httplib.py", line 346, in __init__
self.fp = sock.makefile('rb', 0)

 "/home/pablo/pch/virtual-envs/bouncer/local/lib/python2.7/site-packages/httpretty/core.py", line 314, in makefile
self._entry.fill_filekind(self.fd)

 "/home/pablo/pch/virtual-envs/bouncer/local/lib/python2.7/site-packages/httpretty/core.py", line 564, in fill_filekind
status, headers, self.body = self.callable_body(self.request, self.info.full_url(), headers)

 "/home/pablo/pch/virtual-envs/bouncer/local/lib/python2.7/site-packages/moto/core/responses.py", line 43, in dispatch
return self.call_action()

 "/home/pablo/pch/virtual-envs/bouncer/local/lib/python2.7/site-packages/moto/core/responses.py", line 56, in call_action
body, new_headers = responseTypeError: 'NoneType' object is not iterable