Traceback (most recent call last):


 "calibre_plugins.dedrm.__init__", line 203, in ePubDecrypt


 "calibre_plugins.dedrm.zipfix", line 50, in __init__


 "calibre_plugins.dedrm.zipfilerugged", line 683, in __init__


 "calibre_plugins.dedrm.zipfilerugged", line 709, in _GetContents


 "calibre_plugins.dedrm.zipfilerugged", line 752, in _RealGetContents


 "calibre_plugins.dedrm.zipfilerugged", line 289, in __init__
TypeError: a bytes-like object is required, not 'str'

Traceback (most recent call last):


 "/home/bird/miniconda3/envs/sb2018/lib/python3.6/site-packages/distributed/utils.py", line 623, in log_errors

yield


 "/home/bird/miniconda3/envs/sb2018/lib/python3.6/site-packages/distributed/client.py", line 904, in _handle_report

six.reraise(*clean_exception(**msg))


 "/home/bird/miniconda3/envs/sb2018/lib/python3.6/site-packages/six.py", line 692, in reraise

raise value.with_traceback(tb)


 "/home/bird/miniconda3/envs/sb2018/lib/python3.6/site-packages/distributed/comm/tcp.py", line 202, in read

msg = yield from_frames(frames, deserialize=self.deserialize)


 "/home/bird/miniconda3/envs/sb2018/lib/python3.6/site-packages/tornado/gen.py", line 1099, in run

value = future.result()


 "/home/bird/miniconda3/envs/sb2018/lib/python3.6/site-packages/tornado/gen.py", line 315, in wrapper

yielded = next(result)


 "/home/bird/miniconda3/envs/sb2018/lib/python3.6/site-packages/distributed/comm/utils.py", line 75, in from_frames

res = _from_frames()


 "/home/bird/miniconda3/envs/sb2018/lib/python3.6/site-packages/distributed/comm/utils.py", line 61, in _from_frames

return protocol.loads(frames, deserialize=deserialize)


 "/home/bird/miniconda3/envs/sb2018/lib/python3.6/site-packages/distributed/protocol/core.py", line 96, in loads

msg = loads_msgpack(small_header, small_payload)


 "/home/bird/miniconda3/envs/sb2018/lib/python3.6/site-packages/distributed/protocol/core.py", line 168, in loads_msgpack

payload = decompress(payload)


 "/home/bird/miniconda3/envs/sb2018/lib/python3.6/site-packages/distributed/protocol/compression.py", line 50, in _fixed_snappy_decompress

return snappy.decompress(data)


 "/home/bird/miniconda3/envs/sb2018/lib/python3.6/site-packages/snappy.py", line 91, in uncompress

return _uncompress(data)
TypeError: argument 1 must be read-only bytes-like object, not bytearray
