Skip to content

UnicodeDecodeError: 'ascii' codec can't decode byte X in position X: ordinal not in range #4

Description

@raspher

Traceback (most recent call last):
File "ftp_check.py", line 64, in
for line in index.read().splitlines():
File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0x82 in position 232045: ordinal not in range(128)

when gathering info from ftp://ftp.isc.org/ as a single-line file /todo/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions