Ran into this issue about 5 times, not sure how to consistently reproduce it.
-> 1078 box.children = (*new_children, log_explorer(self))
1079
1080 buttons["cancel jobs"].on_click(cancel)
~/conda/envs/qms/lib/python3.7/site-packages/adaptive_scheduler/widgets.py in log_explorer(run_manager)
97
98 fnames = _get_fnames(run_manager, only_running=False)
---> 99 text = _read_file(fnames[0]) if fnames else ""
100 textarea = Textarea(text, layout=dict(width="auto"), rows=20)
101 dropdown = Dropdown(options=fnames)
~/conda/envs/qms/lib/python3.7/site-packages/adaptive_scheduler/widgets.py in _read_file(fname)
19 def _read_file(fname: Path) -> str:
20 with fname.open() as f:
---> 21 return "".join(f.readlines())
22
23
~/conda/envs/qms/lib/python3.7/codecs.py in decode(self, input, final)
320 # decode input (taking the buffer into account)
321 data = self.buffer + input
--> 322 (result, consumed) = self._buffer_decode(data, self.errors, final)
323 # keep undecoded input until the next call
324 self.buffer = data[consumed:]
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte