#802082 gedit: PYGI causes gedit crash on file opening with git extension

Package:
gedit
Source:
gedit
Description:
popular text editor for the GNOME desktop environment
Submitter:
iain
Date:
2015-10-18 15:18:06 UTC
Severity:
important
#802082#5
Date:
2015-10-17 13:24:18 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?
   Opening a file in gedit either from the file manager or directly in gedit. It seems to happen, as far as I can see, with only with files that use git extension. The same files open file with the git extension disabled.
   * What was the outcome of this action?
   Gedit crashes. If run from terminal:
   sys:1: PyGIWarning: Peas was imported without specifying a version first. Use gi.require_version('Peas', '1.0') before import to ensure that the right version gets loaded.
**
ERROR:../../gi/pygi-cache.c:321:_arg_cache_new_for_interface: code should not be reached
Aborted

This may be a Python bug - I'm not sure.

#802082#10
Date:
2015-10-18 15:15:05 UTC
From:
To:
Yes I can confirm this.


I'm running Debian Testing and get that error when I have gedit open
and at the same time diff something with meld.
Then
meld crashes with:
**
ERROR:../../gi/pygi-cache.c:321:_arg_cache_new_for_interface: code
should not be reached
Aborted


If I use meld without having gedit open, I don't get that error.