pitivi-git-environment.sh script messes up Python3 libpeas gedit plugins
@jeff
Submitted by Jeff F.T. Assigned to Alex Băluț @aleb
Description
It also affects the behavior of gitg (settings are not remembered etc), but that's the least of my problems.
My core problem is that whenever I launch gedit while inside the PTV git environment shell, it will choke loading some plugins and will reset the enabled/disabled state of all gedit plugins.
In that case, here's what you see being printed in the terminal...
libpeas-WARNING **: Error initializing Python Plugin Loader:
PyGObject initialization failed
ImportError: could not import gobject (error was: ImportError('/lib64/libpyglib-gi-2.0-python.so.0: undefined symbol: _Py_ZeroStruct',))
libpeas-WARNING **: Please check the installation of all the
Python related packages required by libpeas and try again
libpeas-WARNING **: Loader 'python3' is not a valid PeasPluginLoader instance
libpeas-WARNING **: Could not find loader 'python3' for plugin 'codecomment'
libpeas-WARNING **: Could not find loader 'python3' for plugin 'snippets'
libpeas-WARNING **: Could not find loader 'python3' for plugin 'multiedit'
libpeas-WARNING **: Could not find loader 'python3' for plugin 'smartspaces'
libpeas-WARNING **: Could not find loader 'python3' for plugin 'joinlines'
This might also become increasingly relevant to us (especially Mathieu) if we regain a plugin infrastructure using libpeas for Pitivi.
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=726083