2020-06-09T11:04:42:ERROR:localstack.services.plugins: Error checking state of local environment (after some retries): Traceback (most recent call last):


 "/opt/code/localstack/localstack/services/plugins.py", line 94, in check_infra

check_service_health(api=name, print_error=print_error)


 "/opt/code/localstack/localstack/services/plugins.py", line 113, in check_service_health

raise e


 "/opt/code/localstack/localstack/services/plugins.py", line 109, in check_service_health

plugin.check(expect_shutdown=expect_shutdown, print_error=print_error)


 "/opt/code/localstack/localstack/services/plugins.py", line 45, in check

return self.check_function(expect_shutdown=expect_shutdown, print_error=print_error)


 "/opt/code/localstack/localstack/services/dynamodb/dynamodb_starter.py", line 32, in check_dynamodb

assert isinstance(out['TableNames'], list)
TypeError: 'NoneType' object is not subscriptable

Traceback (most recent call last):


 "c:\users\dwebe\.conda\envs\libertem\lib\site-packages\tornado\ioloop.py", line 741, in _run_callback

ret = callback()


 "c:\users\dwebe\.conda\envs\libertem\lib\site-packages\tornado\ioloop.py", line 765, in _discard_future_result

future.result()


 "c:\users\dwebe\.conda\envs\libertem\lib\site-packages\distributed\worker.py", line 990, in handle_scheduler

await self.handle_stream(


 "c:\users\dwebe\.conda\envs\libertem\lib\site-packages\distributed\core.py", line 554, in handle_stream

msgs = await comm.read()


 "c:\users\dwebe\.conda\envs\libertem\lib\site-packages\distributed\comm\inproc.py", line 199, in read

msg = nested_deserialize(msg)


 "c:\users\dwebe\.conda\envs\libertem\lib\site-packages\distributed\protocol\serialize.py", line 609, in nested_deserialize

return replace_inner(x)


 "c:\users\dwebe\.conda\envs\libertem\lib\site-packages\distributed\protocol\serialize.py", line 601, in replace_inner

x[k] = replace_inner(v)


 "c:\users\dwebe\.conda\envs\libertem\lib\site-packages\distributed\protocol\serialize.py", line 594, in replace_inner

x[k] = deserialize(v.header, v.frames)


 "c:\users\dwebe\.conda\envs\libertem\lib\site-packages\distributed\protocol\serialize.py", line 384, in deserialize

return loads(header, frames)


 "c:\users\dwebe\.conda\envs\libertem\lib\site-packages\distributed\protocol\serialize.py", line 77, in pickle_loads

buffers[i] = memoryview(bytearray(mv)).cast(mv.format, mv.shape)
TypeError: 'tuple' object does not support item assignment
