Bug#889691: gedit-plugin-git: AttributeError calling get_repository on None

Carl Suster carl at contraflo.ws
Tue Feb 6 01:11:21 UTC 2018


Package: gedit-plugin-git
Version: 3.22.0-4
Severity: normal

The system logs for gedit contain lines like the following coming from the git
plugin:

Feb  6 11:21:47 colt org.gnome.gedit[1326]: Traceback (most recent call last):
Feb  6 11:21:47 colt org.gnome.gedit[1326]:   File "/usr/lib/x86_64-linux-gnu/gedit/plugins/git/windowactivatable.py", line 291, in root_changed
Feb  6 11:21:47 colt org.gnome.gedit[1326]:     repo = self.get_repository(location, True)
Feb  6 11:21:47 colt org.gnome.gedit[1326]:   File "/usr/lib/x86_64-linux-gnu/gedit/plugins/git/windowactivatable.py", line 282, in get_repository
Feb  6 11:21:47 colt org.gnome.gedit[1326]:     return self.app_activatable.get_repository(location, is_dir)
Feb  6 11:21:47 colt org.gnome.gedit[1326]: AttributeError: 'NoneType' object has no attribute 'get_repository'
Feb  6 11:21:47 colt org.gnome.gedit[1326]: Traceback (most recent call last):
Feb  6 11:21:47 colt org.gnome.gedit[1326]:   File "/usr/lib/x86_64-linux-gnu/gedit/plugins/git/windowactivatable.py", line 298, in inserted
Feb  6 11:21:47 colt org.gnome.gedit[1326]:     repo = self.get_repository(location, msg.is_directory)
Feb  6 11:21:47 colt org.gnome.gedit[1326]:   File "/usr/lib/x86_64-linux-gnu/gedit/plugins/git/windowactivatable.py", line 282, in get_repository
Feb  6 11:21:47 colt org.gnome.gedit[1326]:     return self.app_activatable.get_repository(location, is_dir)
Feb  6 11:21:47 colt org.gnome.gedit[1326]: AttributeError: 'NoneType' object has no attribute 'get_repository'

Incidentally, the version of the plugin included in the debian package seems to
be very old. The copyright information installed with the package is a decade
behind the latest release, though the year in the plugin's about dialog is only
about 3 years behind upstream.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gedit-plugin-git depends on:
ii  gedit                 3.22.1-3
ii  gedit-plugins-common  3.22.0-4
ii  gir1.2-ggit-1.0       0.26.2-1
ii  gir1.2-glib-2.0       1.54.1-4
ii  gir1.2-gtk-3.0        3.22.26-2
ii  gir1.2-gtksource-3.0  3.24.6-1
ii  python3               3.6.4-1
ii  python3-gi            3.26.1-2
ii  python3-gi-cairo      3.26.1-2

gedit-plugin-git recommends no packages.

gedit-plugin-git suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list