Your message dated Fri, 10 Oct 2014 14:06:14 +0200
with message-id 
<cadk7b0nnmfwatrharjpefbphkze19eyopl9a9sl4tuum0d4...@mail.gmail.com>
and subject line Bug #763549: introspection support missing in stable
has caused the Debian Bug report #763549,
regarding libgexiv2-1: Python 3 and GExiv2 ImportError
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
763549: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763549
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgexiv2-1
Version: 0.4.1-3
Severity: normal

Dear Maintainer,

I am trying to use Python 3 and GExiv2 in Debian 7, but I get an import error.
I don't know what am I doing wrong or if there is a bug in Exiv2 or GExiv2
installation.


## Steps to Reproduce

1. Copy the code example in GExiv2 Python Support page. [1]
2. Save the code in a file called ``gexivwrite.py``.
3. Run the code with Python3:

   $ python3 gexivwrite.py


## Expected Behavior

The code should run without error and the metadata should be applied to the
image.


## Unexpected Behavior

An ImportError occurs:

    $ python3 gexivwrite.py
    ERROR:root:Could not find any typelib for GExiv2
    Traceback (most recent call last):
      File "exiv2meta.py", line 3, in <module>
        from gi.repository import GExiv2
    ImportError: cannot import name GExiv2

## Aditional Information

(G)Exiv2 is not referenced in gobject-introspection:

    $ ls /usr/lib/girepository-1.0/
    AccountsService-1.0.typelib  GstNetbuffer-0.10.typelib
    Atk-1.0.typelib              GstPbutils-0.10.typelib
    Atspi-2.0.typelib            GstRiff-0.10.typelib
    cairo-1.0.typelib            GstRtp-0.10.typelib
    Cally-1.0.typelib            GstRtsp-0.10.typelib
    Caribou-1.0.typelib          GstSdp-0.10.typelib
    Clutter-1.0.typelib          GstTag-0.10.typelib
    ClutterGdk-1.0.typelib       GstVideo-0.10.typelib
    ClutterGst-1.0.typelib       Gtk-3.0.typelib
    ClutterX11-1.0.typelib       GtkClutter-1.0.typelib
    Cogl-1.0.typelib             GtkSource-3.0.typelib
    CoglPango-1.0.typelib        GTop-2.0.typelib
    DBus-1.0.typelib             Gucharmap-2.90.typelib
    DBusGLib-1.0.typelib         JSCore-3.0.typelib
    EvinceDocument-3.0.typelib   Json-1.0.typelib
    EvinceView-3.0.typelib       libxml2-2.0.typelib
    Folks-0.6.typelib            MPID-3.0.typelib
    fontconfig-2.0.typelib       NetworkManager-1.0.typelib
    freetype2-2.0.typelib        NMClient-1.0.typelib
    Gck-1.typelib                PanelApplet-4.0.typelib
    GConf-2.0.typelib            Pango-1.0.typelib
    Gcr-3.typelib                PangoCairo-1.0.typelib
    GData-0.0.typelib            PangoFT2-1.0.typelib
    GDesktopEnums-3.0.typelib    PangoXft-1.0.typelib
    Gdk-3.0.typelib              Peas-1.0.typelib
    GdkPixbuf-2.0.typelib        PeasGtk-1.0.typelib
    GdkX11-3.0.typelib           Polkit-1.0.typelib
    Gee-1.0.typelib              PolkitAgent-1.0.typelib
    Gio-2.0.typelib              RB-3.0.typelib
    GIRepository-2.0.typelib     Soup-2.4.typelib
    Gkbd-3.0.typelib             SoupGNOME-2.4.typelib
    GL-1.0.typelib               TelepathyGLib-0.12.typelib
    GLib-2.0.typelib             TelepathyLogger-0.2.typelib
    GMenu-3.0.typelib            Totem-1.0.typelib
    GModule-2.0.typelib          TotemPlParser-1.0.typelib
    GnomeBluetooth-1.0.typelib   Tracker-0.14.typelib
    GnomeKeyring-1.0.typelib     TrackerExtract-0.14.typelib
    Goa-1.0.typelib              TrackerMiner-0.14.typelib
    GObject-2.0.typelib          UPowerGlib-1.0.typelib
    Gst-0.10.typelib             Vte-2.90.typelib
    GstApp-0.10.typelib          WebKit-3.0.typelib
    GstAudio-0.10.typelib        Wnck-3.0.typelib
    GstBase-0.10.typelib         xfixes-4.0.typelib
    GstCheck-0.10.typelib        xft-2.0.typelib
    GstController-0.10.typelib   Xkl-1.0.typelib
    GstFft-0.10.typelib          xlib-2.0.typelib
    GstInterfaces-0.10.typelib   xrandr-1.3.typelib
    GstNet-0.10.typelib


[1]: https://wiki.gnome.org/Projects/gexiv2/PythonSupport

-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=es_CO.utf8, LC_CTYPE=es_CO.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libgexiv2-1 depends on:
ii  libc6         2.13-38+deb7u4
ii  libexiv2-12   0.23-1
ii  libgcc1       1:4.7.2-5
ii  libglib2.0-0  2.33.12+really2.32.4-5

libgexiv2-1 recommends no packages.

libgexiv2-1 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi Luis,

GObject introspection support has been introduced since version 0.5.0.
Given Debian 7 currently has version 0.4.1, it's not currently
possible to execute the simple code provided by the page you
mentioned.

Either you have to upgrade to Jessie, or use a backported version of GExiv2.

Cheers,
Luca

--- End Message ---

Reply via email to