Working with Python 2.7, not Python 3.3:

    python3 -c "from gi.repository.GExiv2 import Metadata;
Metadata(path='my_image.png')"

In Python 3.3:

    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    TypeError: gobject `GExiv2Metadata' doesn't support property `path'

A workaround:

    python3 -c "from gi.repository.GExiv2 import Metadata; m =
Metadata(); m.open_path('my_image.png')"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1277894

Title:
  GExiv2 python wrapper broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gexiv2/+bug/1277894/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to