Coder Social home page Coder Social logo

Comments (7)

jim-easterbrook avatar jim-easterbrook commented on July 23, 2024

The reason it works when you install from git is that you are running SWIG to generate interfaces for the libgphoto2 header files on your machine. When installing with pip you download interfaces I built using SWIG on my Linux box. I had hoped they'd be compatible.
(The error messages from the example are typical of what I get. A lot of the libgphoto2 modules seem to report rather too much, and there's no way to tell errors from warnings in the Python interface.)
Can you find the libgphoto2 header files on your machine, zip/tar them and email them to me? I'd like to see where they differ from what I've got.

from python-gphoto2.

jim-easterbrook avatar jim-easterbrook commented on July 23, 2024

Thanks for sending me the headers. I suspect the difference is libgphoto2 v2.5.7 (yours) vs 2.5.5 (mine) rather than a Mac vs Linux problem. The gp_log_data function signature has changed, acquiring a format string and variable arguments - not good news for a Python interface.
I don't think there's any need to call this function from within Python, so it might solve the problem if it's added to the 'ignore' list when building the interfaces.

from python-gphoto2.

Nepomuk avatar Nepomuk commented on July 23, 2024

Sounds good. If I should try again with pip, let me know.

from python-gphoto2.

jim-easterbrook avatar jim-easterbrook commented on July 23, 2024

I'd like to try and sort out bug #7 before the next release, so give me a day or two.
I'd also like to work out what's going on with the excessive verbosity.

from python-gphoto2.

Nepomuk avatar Nepomuk commented on July 23, 2024

Ah, don't worry. It's working for me now, so at this point it's just helping you to solve the installation bug.

from python-gphoto2.

jim-easterbrook avatar jim-easterbrook commented on July 23, 2024

Release 0.11.1 should have fixed this bug.

from python-gphoto2.

Nepomuk avatar Nepomuk commented on July 23, 2024
    $ pip install gphoto2
    […]
    Successfully installed gphoto2-0.11.1

It works, thank you!

from python-gphoto2.

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.