Traceback (most recent call last):

 "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()

 "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/prompt_toolkit/interface.py", line 836, in run [F2] Menu - CPython 2.7.12
completions = list(buffer.completer.get_completions(document, complete_event))

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/ptpython/completer.py", line 127, in get_completions
completions = script.completions()

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/jedi/api/__init__.py", line 192, in completions
for call_sig in self.call_signatures():

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/jedi/api/__init__.py", line 521, in call_signatures
self.source, self._pos)

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/jedi/cache.py", line 93, in wrapper
value = next(generator)

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/jedi/cache.py", line 115, in cache_call_signatures
yield evaluator.eval_element(call)

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/jedi/evaluate/cache.py", line 41, in wrapper
rv = function(obj, *args, **kwargs)

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 187, in eval_element
types = self.eval_trailer(types, trailer)

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 257, in eval_trailer
new_types += self.find_types(typ, node)

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 120, in find_types
return f.find(scopes, search_global)

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/jedi/debug.py", line 52, in wrapper
result = func(*args, **kwargs)

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/jedi/evaluate/finder.py", line 86, in find
names = self.filter_name(scopes)

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/jedi/evaluate/finder.py", line 177, in filter_name
names = self.names_dict_lookup(names_dict, position)

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/jedi/evaluate/finder.py", line 119, in names_dict_lookup
names = names_dict[search_str]

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/jedi/cache.py", line 160, in wrapper
result = method(self, *args, **kwargs)

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/jedi/evaluate/compiled/__init__.py", line 263, in __getitem__
getattr(self._compiled_obj.obj, name)

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 500, in __get__
return type.query_class(mapper, session=self.sa.session())

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/sqlalchemy/orm/scoping.py", line 78, in __call__
return self.registry()

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/sqlalchemy/util/_collections.py", line 990, in __call__
return self.registry.setdefault(key, self.createfunc())

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 771, in create_session
return SignallingSession(self, **options)

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 153, in __init__
self.app = app = db.get_app()

 "/Users/janne/.virtualenvs/python-prompt-toolkit/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 922, in get_app
raise RuntimeError('application not registered on db 'RuntimeError: application not registered on db instance and no application bound to current context
Traceback (most recent call last):


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/awslogs/bin.py", line 178, in main

getattr(logs, options.func)()


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/awslogs/core.py", line 223, in list_logs

consumer()


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/awslogs/core.py", line 164, in consumer

for event in generator():


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/awslogs/core.py", line 151, in generator

response = self.client.filter_log_events(**kwargs)


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/botocore/client.py", line 320, in _api_call

return self._make_api_call(operation_name, kwargs)


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/botocore/client.py", line 611, in _make_api_call

operation_model, request_dict)


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/botocore/endpoint.py", line 102, in make_request

return self._send_request(request_dict, operation_model)


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/botocore/endpoint.py", line 132, in _send_request

request = self.create_request(request_dict, operation_model)


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/botocore/endpoint.py", line 116, in create_request

operation_name=operation_model.name)


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/botocore/hooks.py", line 356, in emit

return self._emitter.emit(aliased_event_name, **kwargs)


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/botocore/hooks.py", line 228, in emit

return self._emit(event_name, kwargs)


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/botocore/hooks.py", line 211, in _emit

response = handler(**kwargs)


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/botocore/signers.py", line 90, in handler

return self.sign(operation_name, request)


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/botocore/signers.py", line 149, in sign

auth = self.get_auth_instance(**kwargs)


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/botocore/signers.py", line 229, in get_auth_instance

frozen_credentials = self._credentials.get_frozen_credentials()


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/botocore/credentials.py", line 518, in get_frozen_credentials

self._refresh()


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/botocore/credentials.py", line 413, in _refresh

self._protected_refresh(is_mandatory=is_mandatory_refresh)


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/botocore/credentials.py", line 429, in _protected_refresh

metadata = self._refresh_using()


 "/usr/local/Cellar/awslogs/0.11.0/libexec/lib/python3.7/site-packages/botocore/credentials.py", line 175, in __call__

raise RefreshWithMFAUnsupportedError()
botocore.exceptions.RefreshWithMFAUnsupportedError: Cannot refresh credentials: MFA token required.
