This is not a bug. Calling GObject.Type() is the general GObject
constructor which you can only call with initializing properties, as
keyword arguments. What you want is to explicitly call a constructor of
the Metadata class. In that case there is only one,
gexiv2_metadata_new(), which translates as
GExiv2.Metadata.new('foo.png'), but in many cases there are several (e.
g. Gtk.Button.new_with_label('label').

This might be confusing as a lot of the standard Gtk widgets *can* be
called like that, as they have overrides. However, these have been
deprecated at last, as they are confusing, error prone, and ambiguous
(https://wiki.gnome.org/action/show/Projects/PyGObject/InitializerDeprecations).

** Changed in: gexiv2 (Ubuntu)
       Status: New => Invalid

-- 
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