rmst / yoke

Turns your Android device into a customizable gamepad for Windows/Mac/Linux
MIT License
218 stars 24 forks source link

As soon as the app connects the desktop client crashes #55

Closed MatteoKip closed 3 years ago

MatteoKip commented 3 years ago

The desktop client does start, and is recognized by the app but as soon as it tries to connect the desktop client crashes giving these errors:

Shutting down… Traceback (most recent call last): File "/home/matteo/.local/lib/python3.7/site-packages/yoke/service.py", line 364, in run v = self.preprocess(m, len(self.dev.events)) File "/home/matteo/.local/lib/python3.7/site-packages/yoke/service.py", line 288, in preprocess v = tuple([int(m) for m in v]) File "/home/matteo/.local/lib/python3.7/site-packages/yoke/service.py", line 288, in v = tuple([int(m) for m in v]) ValueError: invalid literal for int() with base 10: b' 5.374597 -0.856031 8.157899 0.0 0.0 0.0 0.0'

Steps to reproduce: 1: Install the Yoke app and desktop client using the instructions at https://github.com/rmst/yoke/blob/master/WEBVIEW.md 2: Start the Yoke client and app 3: Connect the app to client

Specifications: PC: Ubuntu 19.10 Phone: Xiaomi Redmi Note 9, MIUI Global 12.0.4 Stable (Android 10)