helloparthshah / StadiaWireless

Stadia Wireless enables you to use your stadia controller wirelessly. Not just with stadia, but with any game.
MIT License
447 stars 26 forks source link

Failed to execute script 'server' due to unhandled exception: VIGEM_ERROR_BUS_NOT_FOUND #15

Closed XanderL99 closed 2 years ago

XanderL99 commented 2 years ago

When launching the "server.exe" I get a popup with following error:

title error screen: "Unhandled exception in script" Failed to execute script 'server' due to unhandled exception: VIGEM_ERROR_BUS_NOT_FOUND Traceback (most recent call last): File "server.py", line 4, in File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module File "vgamepad__init__.py", line 1, in from vgamepad.win.virtual_gamepad import VX360Gamepad, VDS4Gamepad File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module File "vgamepad\win\virtual_gamepad.py", line 49, in VBUS = VBus() File "vgamepad\win\virtual_gamepad.py", line 38, in init check_err(vcli.vigem_connect(self._busp)) File "vgamepad\win\virtual_gamepad.py", line 15, in check_err raise Exception(vcom.VIGEM_ERRORS(err).name) Exception: VIGEM_ERROR_BUS_NOT_FOUND

Steps to reproduce the behavior:

  1. Run server.exe
  2. see error

Screenshots image

helloparthshah commented 2 years ago

Could you try installing vgamepad by doing pip install vgamepad

If that still doesn't work then could you try installing https://vigem.org/Downloads/

XanderL99 commented 2 years ago

That fixed it, thanks!