[Bug 1312457] Re: Python bindings broken due to changes in GObject overrides API
The package you are using is not the package that ships with yakkety. I'm not sure what package that is but you should report this failure to Jens Georgas he's apparently maintaining it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312457 Title: Python bindings broken due to changes in GObject overrides API To manage notifications about this bug go to: https://bugs.launchpad.net/gexiv2/+bug/1312457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312457] Re: Python bindings broken due to changes in GObject overrides API
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 GeorgArchitecture: 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) in () > 1 m = GExiv2.Metadata('/home/moorepants/Pictures/2017/02/19/') TypeError: GObject.__init__() takes exactly 0 arguments (1 given) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312457 Title: Python bindings broken due to changes in GObject overrides API To manage notifications about this bug go to: https://bugs.launchpad.net/gexiv2/+bug/1312457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312457] Re: Python bindings broken due to changes in GObject overrides API
** Changed in: gexiv2 Status: Unknown = Fix Released ** Changed in: gexiv2 Importance: Unknown = Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312457 Title: Python bindings broken due to changes in GObject overrides API To manage notifications about this bug go to: https://bugs.launchpad.net/gexiv2/+bug/1312457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312457] Re: Python bindings broken due to changes in GObject overrides API
** Bug watch added: GNOME Bug Tracker #728909 https://bugzilla.gnome.org/show_bug.cgi?id=728909 ** Also affects: gexiv2 via https://bugzilla.gnome.org/show_bug.cgi?id=728909 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312457 Title: Python bindings broken due to changes in GObject overrides API To manage notifications about this bug go to: https://bugs.launchpad.net/gexiv2/+bug/1312457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312457] Re: Python bindings broken due to changes in GObject overrides API
** Changed in: gexiv2 (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312457 Title: Python bindings broken due to changes in GObject overrides API To manage notifications about this bug go to: https://bugs.launchpad.net/gexiv2/+bug/1312457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312457] Re: Python bindings broken due to changes in GObject overrides API
This bug was fixed in the package gexiv2 - 0.10.0-1ubuntu2 --- gexiv2 (0.10.0-1ubuntu2) trusty-proposed; urgency=low * debian/patches/fix-python-bindings.patch - updates GExiv2.py to match current GObject override API (LP: #1312457) -- Robert Bruce Park robert.p...@canonical.com Thu, 24 Apr 2014 15:37:23 -0700 ** Changed in: gexiv2 (Ubuntu Trusty) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312457 Title: Python bindings broken due to changes in GObject overrides API To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gexiv2/+bug/1312457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312457] Re: Python bindings broken due to changes in GObject overrides API
Hello Robert, or anyone else affected, Accepted gexiv2 into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/gexiv2/0.10.0-1ubuntu2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312457 Title: Python bindings broken due to changes in GObject overrides API To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gexiv2/+bug/1312457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312457] Re: Python bindings broken due to changes in GObject overrides API
** Branch linked: lp:ubuntu/trusty-proposed/gexiv2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312457 Title: Python bindings broken due to changes in GObject overrides API To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gexiv2/+bug/1312457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312457] Re: Python bindings broken due to changes in GObject overrides API
Thanks Brian! I tested this in a fresh VM today and it looks really good, fixes the issue completely. Please accept! ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312457 Title: Python bindings broken due to changes in GObject overrides API To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gexiv2/+bug/1312457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312457] Re: Python bindings broken due to changes in GObject overrides API
I've released gexiv2 0.10.1 with Robert's patch: https://download.gnome.org/sources/gexiv2/0.10/gexiv2-0.10.1.tar.xz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312457 Title: Python bindings broken due to changes in GObject overrides API To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gexiv2/+bug/1312457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312457] Re: Python bindings broken due to changes in GObject overrides API
Thanks Jim. The SRU I started is still in the UNAPPROVED queue: https://launchpad.net/ubuntu/trusty/+queue?queue_state=1queue_text=gexiv2 Just waiting for an SRU team member to accept it to get this fixed in Trusty. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312457 Title: Python bindings broken due to changes in GObject overrides API To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gexiv2/+bug/1312457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312457] Re: Python bindings broken due to changes in GObject overrides API
** Changed in: gexiv2 (Ubuntu) Assignee: (unassigned) = Robert Bruce Park (robru) ** Changed in: gexiv2 (Ubuntu) Status: New = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312457 Title: Python bindings broken due to changes in GObject overrides API To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gexiv2/+bug/1312457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312457] Re: Python bindings broken due to changes in GObject overrides API
** Description changed: - So, GExiv2.py no longer functions because of changes in the GObject - overrides API. I've reported the bug upstream with patch here: + [Impact] + + * GExiv2 python bindings are not functional, this means that python + applications trying to use GExiv2 do not work. + + * This worked in Saucy but regressed in Trusty. + + * The upload fixes the bug by updating GExiv2.py to the new GObject + override API. + + [Test Case] + + 1. Get an application that uses the python bindings to GExiv2, such as + GottenGeography + + 2. Try to open a photo. + + Expected behavior: The photo opens. + + Actual behavior: the program crashes. + + [Regression Potential] + + Very little, the changes are confined to GExiv2.py, which is already + completely broken. This change can't possibly break it any worse than it + already is. + + [Other Info] + + I've reported the bug upstream with patch here: https://bugzilla.gnome.org/show_bug.cgi?id=728909 - - This needs to be SRU'd to Trusty because currently no python3 - applicatons are able to access photo EXIF data (they just crash without - the overrides functioning). - - ProblemType: Bug - DistroRelease: Ubuntu 14.04 - Package: gir1.2-gexiv2-0.10 0.10.0-1ubuntu1 [modified: usr/lib/python3/dist-packages/gi/overrides/GExiv2.py] - ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9 - Uname: Linux 3.13.0-24-generic x86_64 - ApportVersion: 2.14.1-0ubuntu3 - Architecture: amd64 - CurrentDesktop: GNOME - Date: Thu Apr 24 15:29:18 2014 - InstallationDate: Installed on 2013-12-06 (139 days ago) - InstallationMedia: Ubuntu 13.10 Saucy Salamander - Release amd64 (20131016.1) - SourcePackage: gexiv2 - UpgradeStatus: Upgraded to trusty on 2013-12-06 (139 days ago) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312457 Title: Python bindings broken due to changes in GObject overrides API To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gexiv2/+bug/1312457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312457] Re: Python bindings broken due to changes in GObject overrides API
** Also affects: gexiv2 (Ubuntu Trusty) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312457 Title: Python bindings broken due to changes in GObject overrides API To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gexiv2/+bug/1312457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312457] Re: Python bindings broken due to changes in GObject overrides API
Here's the simplest reproducer: $ python3 Python 3.4.0 (default, Apr 11 2014, 13:05:11) [GCC 4.8.2] on linux Type help, copyright, credits or license for more information. from gi.repository import GExiv2 m = GExiv2.Metadata('IMG_2411.JPG') Traceback (most recent call last): File stdin, line 1, in module TypeError: GObject.__init__() takes exactly 0 arguments (1 given) (__init__ is expected to take an argument, but doesn't because the overrides aren't functioning) ** Changed in: gexiv2 (Ubuntu) Status: In Progress = Fix Committed ** Changed in: gexiv2 (Ubuntu Trusty) Status: New = Fix Committed ** Changed in: gexiv2 (Ubuntu Trusty) Assignee: (unassigned) = Robert Bruce Park (robru) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312457 Title: Python bindings broken due to changes in GObject overrides API To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gexiv2/+bug/1312457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs