pupil-labs / pyuvc

python binding to libuvc
Other
117 stars 51 forks source link

OpenError on Arch #58

Open ferdavid1 opened 5 years ago

ferdavid1 commented 5 years ago

Hello! I've opened an issue for this because I could find little to no information on this error other than a Windows-only fix. Here is the relevant code: import uvc dev_list = uvc.device_list() print([x['uid'] for x in dev_list]) cam1 = uvc.Capture(dev_list[1]["uid"]) cam2 = uvc.Capture(dev_list[2]['uid'])

Here is the std. out and error message: ['1:3', '1:7', '1:6', '1:5'] Traceback (most recent call last): File "facialrec_opencv.py", line 108, in <module> run_feed() File "facialrec_opencv.py", line 81, in run_feed cam1 = uvc.Capture(dev_list[1]["uid"]) File "uvc.pyx", line 455, in uvc.Capture.__init__ File "uvc.pyx", line 507, in uvc.Capture._init_device uvc.OpenError The last 3 devices in the device_list std. out (1:7, 1:6, 1:5) are pupil labs cameras from the headset. Here they are in output from lsusb:

Bus 001 Device 007: ID 05a3:9230 ARC International Camera Bus 001 Device 006: ID 05a3:9230 ARC International Camera Bus 001 Device 005: ID 05a3:9232 ARC International I'm running Arch Linux, and have compiled pyuvc, libuvc, libjpeg-turbo, and libusb from the pupil-labs repos. I have additionally tried building everything and trying again on a different desktop also running arch, only to get the exact same error. Anything would help, thank you.