Traceback (most recent call last):


 "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

Traceback (most recent call last):


 "/usr/local/lib/python3.6/dist-packages/IPython/core/interactiveshell.py", line 2828, in run_ast_nodes

if self.run_code(code, result):


 "/usr/local/lib/python3.6/dist-packages/IPython/core/interactiveshell.py", line 2899, in run_code

self.showtraceback()


 "/usr/local/lib/python3.6/dist-packages/IPython/core/interactiveshell.py", line 1826, in showtraceback

value, tb, tb_offset=tb_offset)


 "/usr/local/lib/python3.6/dist-packages/IPython/core/ultratb.py", line 1411, in structured_traceback

self, etype, value, tb, tb_offset, number_of_lines_of_context)


 "/usr/local/lib/python3.6/dist-packages/IPython/core/ultratb.py", line 1319, in structured_traceback

self, etype, value, tb, tb_offset, number_of_lines_of_context


 "/usr/local/lib/python3.6/dist-packages/IPython/core/ultratb.py", line 1182, in structured_traceback

formatted_exceptions += self.prepare_chained_exception_message(evalue.__cause__)
TypeError: must be str, not list
