From: Richard B. <ra...@lu...> - 2014-12-10 14:42:43
|
Actually, that didn't resolve the issue. It's still occurring just perhaps not as often. So is the consensus that this is the result of calling libusb_get_device_list() multiple times? It seems like a pretty big limitation that this function cannot be called more than once... On Wed, Dec 3, 2014 at 10:29 AM, Richard Bryan <ra...@lu...> wrote: > I think these errors are actually a result of the repeated libusb_init() > and libusb_exit() calls that Tim pointed out. Pyusb reloads libusb each > time the user tries to enumerate devices. I implemented a workaround in my > code and I have not encountered these errors so far. > > > > |