abcminiuser / python-elgato-streamdeck

Python library to control the Elgato Stream Deck.
Other
919 stars 137 forks source link

Handle exception when find_library fails #123

Closed brimston3 closed 1 year ago

brimston3 commented 1 year ago

ctypes.util.find_library() can except if libhidapi-usblib.a is installed. See abcminiuser/python-elgato-streamdeck#120

I don't consider this a resolution to the defect described in 120, but as gcc detection is complicated, there are other reasons this could fail and continuing will be valid. LoadLibrary() is the drop-dead point for library loading.

abcminiuser commented 1 year ago

Thanks! I should have checked for exceptions here all along.