Failed to execute script 'server' due to unhandled exception: VIGEM_ERROR_BUS_NOT_FOUND
Closed this issue · 2 comments
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:
- Run server.exe
- see error
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/
That fixed it, thanks!