Error starting infrastructure: 'NoneType' object is not subscriptable Traceback (most recent call last):


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

check_service_health(api=name, print_error=print_error)


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

raise e


 "/opt/code/localstack/localstack/services/plugins.py", line 111, 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/secretsmanager/secretsmanager_starter.py", line 129, in check_secretsmanager

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

Traceback (most recent call last):


 "test_big_pickle.py", line 54, in <module>

reduced = reduced.compute(scheduler=dask_client)


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/dask/base.py", line 166, in compute

(result,) = compute(self, traverse=False, **kwargs)


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/dask/base.py", line 437, in compute

results = schedule(dsk, keys, **kwargs)


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/client.py", line 2595, in get

results = self.gather(packed, asynchronous=asynchronous, direct=direct)


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/client.py", line 1893, in gather

asynchronous=asynchronous,


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/client.py", line 780, in sync

self.loop, func, *args, callback_timeout=callback_timeout, **kwargs


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/utils.py", line 348, in sync

raise exc.with_traceback(tb)


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/utils.py", line 332, in f

result[0] = yield future


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/tornado/gen.py", line 735, in run

value = future.result()


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/client.py", line 1781, in _gather

response = await future


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/client.py", line 1832, in _gather_remote

response = await retry_operation(self.scheduler.gather, keys=keys)


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/utils_comm.py", line 391, in retry_operation

operation=operation,


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/utils_comm.py", line 379, in retry

return await coro()


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/core.py", line 757, in send_recv_from_rpc

result = await send_recv(comm=comm, op=key, **kwargs)


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/core.py", line 540, in send_recv

response = await comm.read(deserializers=deserializers)


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/comm/tcp.py", line 212, in read

frames, deserialize=self.deserialize, deserializers=deserializers


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/comm/utils.py", line 75, in from_frames

res = _from_frames()


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/comm/utils.py", line 61, in _from_frames

frames, deserialize=deserialize, deserializers=deserializers


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/protocol/core.py", line 124, in loads

value = _deserialize(head, fs, deserializers=deserializers)


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/protocol/serialize.py", line 268, in deserialize

return loads(header, frames)


 "/home/tpereira/conda/envs/bob.pipelines/lib/python3.7/site-packages/distributed/protocol/serialize.py", line 80, in serialization_error_loads

raise TypeError(msg)
TypeError: Could not serialize object of type list.
