Traceback (most recent call last):


 "/home/apn/sw/lib/python3.7/site-packages/prompt_toolkit/application/application.py", line 652, in _run_async2

result = yield f


 "/home/apn/sw/lib/python3.7/site-packages/prompt_toolkit/eventloop/coroutine.py", line 86, in step_next

new_f = coroutine.send(None)


 "/home/apn/sw/lib/python3.7/site-packages/prompt_toolkit/application/application.py", line 595, in _run_async

self._redraw()


 "/home/apn/sw/lib/python3.7/site-packages/prompt_toolkit/application/application.py", line 444, in _redraw

self.renderer.render(self, self.layout)


 "/home/apn/sw/lib/python3.7/site-packages/prompt_toolkit/renderer.py", line 530, in render

size = output.get_size()


 "/home/apn/sw/lib/python3.7/site-packages/prompt_toolkit/output/vt100.py", line 429, in get_size

rows, columns = _get_size(stdout.fileno())


 "/home/apn/sw/lib/python3.7/site-packages/prompt_toolkit/output/vt100.py", line 364, in _get_size

buf = array.array(b'h' if six.PY2 else u'h', [0, 0, 0, 0])
AttributeError: module 'array' has no attribute 'array'

Traceback (most recent call last):


 "/var/task/handler.py", line 505, in lambda_handler

return LambdaHandler.lambda_handler(event, context)


 "/var/task/handler.py", line 239, in lambda_handler

handler = cls()


 "/var/task/handler.py", line 134, in __init__

wsgi_app_function = getattr(self.app_module, self.settings.APP_FUNCTION)
AttributeError: module 'main' has no attribute 'flask_app'
