Comment 8 for bug 1277894

Revision history for this message
Simon Feltman (s-feltman) wrote :

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 'gi.overrides.Gtk' from '/usr/lib64/python3.3/site-packages/gi/overrides/'>

If you do the same thing with GExiv2, you should get a similar result in terms of output. It may also be a good idea to look at the result of to ensure the directory found with "locate" is in the same place:
python3 -c "from gi.repository import GExiv2; print(GExiv2._overrides_module)"
<module 'gi.overrides.GExiv2' from '/usr/lib64/python3.3/site-packages/gi/overrides/'>

Also note Python2 and 3 will require separate installs of the overrides to their respective site-packages/dist-packages directory.