GithubHelp home page GithubHelp logo

The LibUSB locating code is looking up the wrong library name on linux according to documentation and fails on Debian 12+ about python-elgato-streamdeck HOT 2 CLOSED

cpw avatar cpw commented on June 18, 2024
The LibUSB locating code is looking up the wrong library name on linux according to documentation and fails on Debian 12+

from python-elgato-streamdeck.

Comments (2)

brimston3 avatar brimston3 commented on June 18, 2024

It "works" because the result to ctypes.util.find_library() is not used and "libhidapi-libusb.so.0" is passed through to ctypes.cdll.LoadLibrary() directly. Either way there should be exception handling around find_library() because it can except. I don't generate the exception with find_library() on debian12 so I'm not sure the difference between our configurations.

edit: after looking into it a little more, the exception consistently happens when you have the static library libhidapi-libusb.a installed.

from python-elgato-streamdeck.

abcminiuser avatar abcminiuser commented on June 18, 2024

Should be resolved with 7bc21c8.

from python-elgato-streamdeck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.