Python bindings broken due to changes in GObject overrides API
Bug #1312457 reported by
Robert Bruce Park
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gexiv2 |
Fix Released
|
Critical
|
|||
gexiv2 (Ubuntu) |
Fix Released
|
Undecided
|
Robert Bruce Park | ||
Trusty |
Fix Released
|
Undecided
|
Robert Bruce Park |
Bug Description
[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:
Related branches
Changed in gexiv2 (Ubuntu): | |
assignee: | nobody → Robert Bruce Park (robru) |
status: | New → In Progress |
description: | updated |
Changed in gexiv2 (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in gexiv2: | |
importance: | Unknown → Critical |
status: | Unknown → Fix Released |
To post a comment you must log in.
Here's the simplest reproducer:
$ python3 Metadata( 'IMG_2411. JPG')
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.
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)