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

[Crash] UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbc in position 4608: invalid start byte #453

Closed
OldDragon88 opened this issue Sep 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@OldDragon88
Copy link

Please fill out following when reporting a new bug:

Describe the bug
When I tried to launch ProtonUp-Qt it shows the following error and won't launch:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/app/lib/python3.11/site-packages/pupgui2/__main__.py", line 2, in <module>
    main()
  File "/app/lib/python3.11/site-packages/pupgui2/pupgui2.py", line 588, in main
    MainWindow()
  File "/app/lib/python3.11/site-packages/pupgui2/pupgui2.py", line 115, in __init__
    self.update_ui()
  File "/app/lib/python3.11/site-packages/pupgui2/pupgui2.py", line 249, in update_ui
    global_ctool_name: str = get_steam_global_ctool_name(install_loc.get('vdf_dir'))
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/pupgui2/steamutil.py", line 221, in get_steam_global_ctool_name
    d = get_steam_vdf_compat_tool_mapping(vdf.load(open(config_vdf_file)))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/vdf/__init__.py", line 211, in load
    return parse(fp, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/vdf/__init__.py", line 97, in parse
    for lineno, line in enumerate(fp, 1):
  File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbc in position 4608: invalid start byte

To Reproduce
Steps to reproduce the behavior:

  1. flatpak run net.davidotek.pupgui2
  2. Error as described

Desktop (please complete the following information):

  • Platform: PC
  • System: Arch
  • Version: ProtonUp-Qt 2.10.0
  • How did you install ProtonUp-Qt?: Flatpak
@OldDragon88 OldDragon88 added the bug Something isn't working label Sep 11, 2024
@DavidoTek
Copy link
Owner

It seems to be a duplicate of #424. I will reopen issue 424 to continue the discussion there as it appears to be still a problem.

Error in 424: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfd in position 2170: invalid start byte
Your error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbc in position 4608: invalid start byte

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants