You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is some non-utf8(like GBK) character, here will throw exception, then make thread exit.
I want to make a pr, but I am not good at pyhon, can't fix it.
Thx
The text was updated successfully, but these errors were encountered:
[2022-01-19 03:59:16] [ ERROR] --- 'utf-8' codec can't decode byte 0xb6 in position 424: invalid start byte (log_consumer.py:79)
Traceback (most recent call last):
File "/chiadog/src/chia_log/log_consumer.py", line 76, in _consume_loop
for log_line in Pygtail(self._expanded_log_path, read_from_end=True, offset_file=self._offset_path):
File "/chiadog/venv/lib/python3.10/site-packages/pygtail/core.py", line 136, in __next__
return self.next()
File "/chiadog/venv/lib/python3.10/site-packages/pygtail/core.py", line 108, in next
line = self._get_next_line()
File "/chiadog/venv/lib/python3.10/site-packages/pygtail/core.py", line 280, in _get_next_line
line = self._filehandle().readline()
File "/usr/local/lib/python3.10/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 424: invalid start byte
chiadog/src/chia_log/log_consumer.py
Line 75 in 99cf0bb
If there is some non-utf8(like GBK) character, here will throw exception, then make thread exit.
I want to make a pr, but I am not good at pyhon, can't fix it.
Thx
The text was updated successfully, but these errors were encountered: