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

[7.13-RC1] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1849: ordinal not in range(128) #7343

Closed
sentry-for-tribler bot opened this issue Apr 3, 2023 · 1 comment
Assignees
Milestone

Comments

@sentry-for-tribler
Copy link

Sentry Issue: TRIBLER-14M

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1849: ordinal not in range(128)
  File "tribler/gui/widgets/lazytableview.py", line 133, in mousePressEvent
  File "tribler/gui/widgets/lazytableview.py", line 200, in on_edit_tags_clicked
  File "tribler/gui/dialogs/editmetadatadialog.py", line 49, in __init__
  File "usr/local/Cellar/python@3.8/3.8.4/Frameworks/Python.framework/Versions/3.8/lib/python3.8/encodings/ascii.py", line 26, in decode
@drew2a drew2a changed the title UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1849: ordinal not in range(128) [7.13-RC1] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1849: ordinal not in range(128) Apr 3, 2023
@drew2a drew2a self-assigned this Apr 3, 2023
@drew2a drew2a added this to the 7.13.0 milestone Apr 3, 2023
@drew2a
Copy link
Contributor

drew2a commented Apr 5, 2023

The bug happens when there is an attempt performed to read the languages file in ascii encoding

# Load the languages
with open(get_ui_file_path("languages.json"), "r") as languages_file:
self.languages = json.loads(languages_file.read())

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

No branches or pull requests

1 participant