[Bug 1277894] Re: GExiv2 python wrapper broken

2014-04-25 Thread Jim Nelson
*** This bug is a duplicate of bug 1312457 *** https://bugs.launchpad.net/bugs/1312457 As it turns out, this problem (at least, one with the same sympthoms) was discovered en masse with gexiv2 on Trusty. I've just applied a patch that fixes the problem. I'm marking this as a duplicate of

[Bug 1277894] Re: GExiv2 python wrapper broken

2014-04-25 Thread Robert Bruce Park
*** This bug is a duplicate of bug 1312457 *** https://bugs.launchpad.net/bugs/1312457 Bah! I wish I'd seen this bug when it was reported. Totally dropped the ball on this one guys, sorry. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1277894] Re: GExiv2 python wrapper broken

2014-04-24 Thread James
This bug is still present in the final release of 14.04. I can confirm that Alexey's quick hack workaround appears to be successful. -- 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:

[Bug 1277894] Re: GExiv2 python wrapper broken

2014-04-15 Thread Alexey Bazhin
Problem is because overriden GExiv2.py tries to import _glib which doesn't exists and not even needed. Quick hack is to remove string from gi import _glib from /usr/lib/python2.7/dist-packages/gi/overrides/GExiv2.py -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1277894] Re: GExiv2 python wrapper broken

2014-04-11 Thread Simon Feltman
A few debugging tips: You can verify introspection overrides are brought in by looking at the private _overrides_module attribute of a library: (this is on Fedora so Ubuntu will give a different location) python3 -c from gi.repository import Gtk; print(Gtk._overrides_module) module

[Bug 1277894] Re: GExiv2 python wrapper broken

2014-04-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gexiv2 (Ubuntu) Status: New = Confirmed -- 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:

[Bug 1277894] Re: GExiv2 python wrapper broken

2014-04-06 Thread David Fischer
Working with Python 2.7, not Python 3.3: python3 -c from gi.repository.GExiv2 import Metadata; Metadata(path='my_image.png') In Python 3.3: Traceback (most recent call last): File stdin, line 1, in module TypeError: gobject `GExiv2Metadata' doesn't support property `path' A

[Bug 1277894] Re: GExiv2 python wrapper broken

2014-03-03 Thread Jim Nelson
Martin, as I'm not Pythonic, can you hazard a guess why the user is seeing this problem? -- 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

[Bug 1277894] Re: GExiv2 python wrapper broken

2014-02-25 Thread Martin Pitt
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

[Bug 1277894] Re: GExiv2 python wrapper broken

2014-02-25 Thread Martin Pitt
Sorry, I was not aware that gir1.2-gexiv2-0.4 ships an override. So the GExiv2.Metadata('foo.png') syntax ought to work as that would then invoke the override, not the GObject constructor. ** Changed in: gexiv2 (Ubuntu) Status: Invalid = New -- You received this bug notification because

[Bug 1277894] Re: GExiv2 python wrapper broken

2014-02-21 Thread Corey Goldberg
bump. this is still broken in latest Trusty image. -- 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:

[Bug 1277894] Re: GExiv2 python wrapper broken

2014-02-10 Thread Jim Nelson
Robert, do you have any suggestions? -- 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: