Open monarrk opened 5 years ago
I got the same (with Python 3.5) inside the docker container
I got the same error using different base images for python (arm) inside a docker container. Any tipps how to resolve it? @tomisilander
Same on Ubuntu 19 with Logitech Gamepad F310.
The problem seems to be caused by the library not being able to match the indexes of the gamepad and the LED.
The gamepad has index 1.
The LED device is /sys/class/leds/xpad0
- index 0.
I worked-around the problem by changing the post-init function like this:
def _post_init(self):
self._match_device()
self._character_device_path = self.gamepad.get_char_device_path() if self.gamepad else None
Same on Linux 19.2, Python 3.6.9 with Logitech F710
I'm running a script for Anki Vector on a machine with Linux Mint Tessa 19.
When I don't have a gamepad plugged in, everything acts normally: it runs as far as it can without the lib and then throws an error when it can't find a gamepad. However, when the gamepad is plugged in, it immediately throws this long error message: