GithubHelp home page GithubHelp logo

Comments (5)

gotthardp avatar gotthardp commented on May 30, 2024

This is not easy to debug, unfortunately. Would you be able to use the http://www.dependencywalker.com, open the "PYD" file that got installed in the LIB directory of your Python and see if/what DLL dependency is missing?

from python-mercuryapi.

riebschlager avatar riebschlager commented on May 30, 2024

Here's a CSV output from Dependency Walker. It seems to be missing quite a bit. Are all the build dependencies in the installation section of your readme required to run the lib as well?
mercury.csv.txt

from python-mercuryapi.

gotthardp avatar gotthardp commented on May 30, 2024

Hello. The API-MS are false positives, but it seems you are missing the Microsoft C++ libraries. Please install https://www.microsoft.com/en-us/download/details.aspx?id=5555
Then check if it's any better and if not, please rerun the Dependency Walker.

from python-mercuryapi.

riebschlager avatar riebschlager commented on May 30, 2024

That did it! Thanks for your help.

This is probably unrelated, but after creating a Reader object, I seem to be missing a lot of methods.

Here's the output of dir(reader):

['__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'get_model', 'get_supported_regions', 'read', 'set_read_plan', 'set_region', 'start_reading', 'stop_reading']

And the output of reader.get_model() is 'M6e Micro USBPro'

from python-mercuryapi.

gotthardp avatar gotthardp commented on May 30, 2024

Cool. I updated the documentation. Thanks for your help.

Yes, a lot of methods are missing. The python wrapper does not implement all functions that are available in the Mercury API. Feel free to open a new issue if you need a specific method.

from python-mercuryapi.

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.