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

please provide installer.py not only the install_driver.exe in release pack #99

Open
CrystalRays opened this issue Oct 5, 2022 · 1 comment

Comments

@CrystalRays
Copy link

CrystalRays commented Oct 5, 2022

if there is any chinese character in steamvr.vrsettings, it raises an exception like this.

exception:

Traceback (most recent call last):
  File "installer.py", line 60, in <module>
  File "json\__init__.py", line 293, in load
UnicodeDecodeError: 'gbk' codec can't decode byte 0xac in position 1031: illegal multibyte sequence
[13936] Failed to execute script installer

the exception occour on line 59 in installer.py

with open(config) as f:
    config_data = load(f)

we need change these lines to fix it as below

with open(config,encoding="utf-8") as f:
    config_data = load(f)
@CrystalRays
Copy link
Author

pls also update mediapipe project

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

No branches or pull requests

1 participant