Comment 9 for bug 1312457

Revision history for this message
Jason Moore (moorepants) wrote :

This same bug is occurring for me on yakkety. This is the package I have installed:

moorepants@garuda:~$ aptitude show gir1.2-gexiv2-0.10
Package: gir1.2-gexiv2-0.10
Version: 0.10.4-1~jensge1~yakkety3
State: installed
Automatically installed: no
Priority: extra
Section: introspection
Maintainer: Jens Georg <email address hidden>
Architecture: amd64
Uncompressed Size: 25.6 k
Conflicts: gir1.2-gexiv2-0.10, gir1.2-gexiv2-0.10:i386, gir1.2-gexiv2-0.10:i386
Replaces: gir1.2-gexiv2-0.10, gir1.2-gexiv2-0.10:i386
Description: GObject introspection data for the GExiv2 library.
 This package contains introspection data for GExiV2.

 It can be used by packages using the GIRepository format to generate dynamic bindings.

moorepants@garuda:~$ /usr/bin/ipython
Python 2.7.12+ (default, Sep 17 2016, 12:08:02)
Type "copyright", "credits" or "license" for more information.

IPython 2.4.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.

In [2]: from gi.repository import GExiv2
/usr/bin/ipython:1: PyGIWarning: GExiv2 was imported without specifying a version first. Use gi.require_version('GExiv2', '0.10') before import to ensure that the right version gets loaded.
  #! /usr/bin/python

In [3]: GExiv2.get_version()
Out[3]: 1004

In [4]: GExiv2.MAJOR_VERSION
Out[4]: 0

In [5]: GExiv2.MICRO_VERSION
Out[5]: 4

In [6]: GExiv2.MINOR_VERSION
Out[6]: 10

In [7]: m = GExiv2.Metadata('/home/moorepants/Pictures/2017/02/19/')
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-7-2accd458efa5> in <module>()
----> 1 m = GExiv2.Metadata('/home/moorepants/Pictures/2017/02/19/')

TypeError: GObject.__init__() takes exactly 0 arguments (1 given)