arkfind icon indicating copy to clipboard operation
arkfind copied to clipboard

UnicodeDecodeError: 'utf8' codec can't decode byte

Open patric-r opened this issue 1 year ago • 0 comments

Traceback (most recent call last):
  File "./arkfind", line 623, in <module>
    json=args.json
  File "./arkfind", line 577, in main
    archive_search(Path.os(base_path), search_func, reporter)
  File "./arkfind", line 558, in archive_search
    to_process.extendleft(node.contents)
  File "./arkfind", line 175, in contents
    yield TarWalker.from_path(fpath, archive_mode)
  File "./arkfind", line 230, in from_path
    return cls(archive, (path,))
  File "./arkfind", line 254, in __init__
    self._populate()
  File "./arkfind", line 273, in _populate
    nested_paths = self.paths + (self.member_path(member),)
  File "./arkfind", line 347, in member_path
    return Path.posix(member.name.decode(self.ENCODING))
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 40: invalid continuation byte

patric-r avatar May 24 '23 23:05 patric-r