Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 576: invalid start byte #7050

Closed
sentry-io bot opened this issue Oct 19, 2020 · 0 comments · Fixed by #7057
Closed

Comments

@sentry-io
Copy link

sentry-io bot commented Oct 19, 2020

Sentry Issue: RASA-OPEN-SOURCE-T7

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 576: invalid start byte
  File "rasa/shared/nlu/training_data/loading.py", line 134, in guess_format
    content = rasa.shared.utils.io.read_file(filename)
  File "rasa/shared/utils/io.py", line 118, in read_file
    return f.read()

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 576: invalid start byte
(15 additional frame(s) were not displayed)
...
  File "rasa/shared/importers/multi_project.py", line 106, in _init_from_directory
    elif rasa.shared.data.is_nlu_file(full_path):
  File "rasa/shared/data.py", line 201, in is_nlu_file
    return nlu_loading.guess_format(file_path) != nlu_loading.UNK
  File "rasa/shared/nlu/training_data/loading.py", line 137, in guess_format
    if MarkdownReader.is_markdown_nlu_file(filename):
  File "rasa/shared/nlu/training_data/formats/markdown.py", line 177, in is_markdown_nlu_file
    content = rasa.shared.utils.io.read_file(filename)
  File "rasa/shared/utils/io.py", line 118, in read_file
    return f.read()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant