-
Notifications
You must be signed in to change notification settings - Fork 35
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Python Error: 'utf-8' codec can't decode byte #24
Comments
Require version 3.1 of vdf library. Might fix parsing issue.
I pushed a potential fix to
and test if it solves the issue. |
@Matoking, I ran the command, restarted the terminal, error remains unchanged:
|
I'm getting this same error while trying to run commands like: EDIT: Typo |
This was the output in my case:
EDIT: Formatting |
@Anomalyzero @cyro666 Thanks for the reports. Seems like the "proper" Could you make a copy of the file in |
@Matoking, file has been sent |
@Anomalyzero Thanks for sending me the appinfo.vdf file. I've managed to reproduce the bug. It seems that some entries in appinfo.vdf can contain invalid UTF-8 strings. Sites like SteamDB seem to ignore the faulty characters, while the vdf Python library we're using crashes trying to parse those strings. I've submitted an upstream bug report at ValvePython/vdf#20. For now, we can work around this by simply skipping the VDF entries that we can't parse, since we're only interested in the SteamPlay manifests. I've updated the vdf_update branch, so please run the following command again and check if Protontricks works now:
|
I'm afraid I'm still not seeing any difference:
|
I got it! I had to uninstall protontricks first, then run the force install command.
I don't know if it's useful or relevant, but I do get this warning after the last command
|
I had to uninstall as well, but the fix works. :) Thanks Matoking. :) |
Agreed thanks for the prompt attention. I'm having different issues now, but I don't know if they belong here or not :/ |
Thanks for helping solve the issue. I've pushed the fix to master and also released a new version 1.2.4 with the bug fix in place. |
I encounter the following error when attempting to run protontricks:
This is on a fresh install of python3, pip and protontools. I installed protontools by following the instructions in the README. I tried removing the python packages and reinstalling from scratch, I tried updating everything on my machine, both with
pipx
and standardpip
, no luck.The text was updated successfully, but these errors were encountered: