GNOME Bugzilla – Bug 686341
Environment variables for gobject introspection don't take system libraries into account
Last modified: 2013-10-14 12:13:05 UTC
If you use "" as MODULES_CORE in pitivi-git-environment.sh (on distros that are recent enough that you don't havet to build glib, gobject-introspection and pygobject), you will not be able to run pitivi: PTV env:~/pitivi-git/pitivi (master)$ pitivi Traceback (most recent call last):
+ Trace 231059
_init_gobject_gtk_gst_ges()
gi.require_version('Gtk', '3.0')
Indeed, if you check with ipython from within that environment, you'll see that the "gi" module does not have require_version nor "repository". The environment variables should be set so that they can fallback to libraries that are already available system-wide.
commit 124c903c7a11e370ea54102a71070516ca7b2027 Author: Thibault Saunier <thibault.saunier@collabora.com> Date: Mon Oct 7 09:13:41 2013 -0300 bin: Make sure the PyGobject path is always first in PYTHONPATH Otherwize we get issue when importing it has it picks the wrong __init__.py file for overrides