Hello,

First of all, thank you for taking the time to experiment with the Python bindings to GExiv2 that i wrote. I'm glad to see adoption is increasing ;-)

The error message about __init__ taking 0 arguments clearly indicates that the Python overrides have not been installed. Without the overrides, you are accessing the raw C API directly. While GExiv2 can technically function in this manner, the API is quite ugly and non-pythonic, which is why I wrote the overrides: To add all that beautiful syntactic sugar that Python programmers are accustomed to.

So, check that GExiv2.py is installed:

$ locate GExiv2.py
/usr/lib/python2.7/dist-packages/gi/overrides/GExiv2.py
/usr/lib/python3/dist-packages/gi/overrides/GExiv2.py

Most likely you don't have it. Whoever made the faulty package likely overlooked it in the .install file for gir1.2-gexiv2-0.4. As you can see here, Ubuntu provides this file correctly:

http://packages.ubuntu.com/quantal/amd64/gir1.2-gexiv2-0.4/filelist

If the experimental package can be updated to include GExiv2.py, then everything should begin working as you expect.


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to