author-tools icon indicating copy to clipboard operation
author-tools copied to clipboard

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 0: invalid start byte

Open sentry-io[bot] opened this issue 3 months ago • 5 comments

Sentry Issue: AUTHOR-TOOLS-36K

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 0: invalid start byte
(8 additional frame(s) were not displayed)
...
  File "at/utils/authentication.py", line 37, in require_api_key
    return f(*args, **kwargs)
  File "at/utils/file.py", line 178, in check_file
    return f(*args, **kwargs)
  File "at/api.py", line 48, in render
    dir_path, filename = process_file(
  File "at/utils/processor.py", line 44, in process_file
    filename = md2xml(filename, logger)
  File "at/utils/processor.py", line 54, in md2xml
    first_line = file.readline().strip()

sentry-io[bot] avatar Mar 07 '24 21:03 sentry-io[bot]