Skip to content

UnicodeDecodeError: 'utf8' codec can't decode byte #10

@patric-r

Description

@patric-r
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions