Public bug reported:
I get the following output in console:
dmig@dmig-Inspiron-5379:~$ gedit workspace/howdy-test.py
Traceback (most recent call last):
File "/usr/lib/x86_64-linux-gnu/gedit/plugins/git/appactivatable.py", line
89, in get_repository
repo = self.__git_repos[repo_uri]
KeyError: 'file:///home/dmig/workspace/form-observer/.git'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/x86_64-linux-gnu/gedit/plugins/git/windowactivatable.py", line
298, in inserted
repo = self.get_repository(location, msg.is_directory)
File "/usr/lib/x86_64-linux-gnu/gedit/plugins/git/windowactivatable.py", line
282, in get_repository
return self.app_activatable.get_repository(location, is_dir)
File "/usr/lib/x86_64-linux-gnu/gedit/plugins/git/appactivatable.py", line
95, in get_repository
head = repo.get_head()
gi.repository.GLib.Error: ggit-error: reference 'refs/heads/master' not found
(-9)
The reason is simple ~/workspace/form-observer/ is a local-only
repository, it has no remotes. But it is weird for me, why this plugin
scan subdirectories?
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: gedit-plugin-git 3.30.1-2
Uname: Linux 4.19.2-041902-generic x86_64
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Nov 18 12:18:27 2018
InstallationDate: Installed on 2018-03-27 (235 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180327)
SourcePackage: gedit-plugins
UpgradeStatus: Upgraded to cosmic on 2018-10-19 (29 days ago)
** Affects: gedit-plugins (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug cosmic third-party-packages
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gedit-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1803853
Title:
gedit git plugin crashes on local git repository
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit-plugins/+bug/1803853/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs