Open kwsiah opened 4 years ago
Hmm, I have something similar but not the same:
all git commands stop working and the git message in the status bar doesn't update any more, but it still shows (index: bla, working: foo
). Problem goes away after restarting sublime.
Additional observations:
Putting the machine to sleep flushes all git commands I did (and (sometimes?) shows a bad file descriptor
popup) and fixes all problems.
OS: Ubuntu 18.04.04
Still the same after updating to Ubuntu 20.04.
Forgot to mention that the commands do show up in the status bar, like /usr/bin/get status --porcelain
for the git_status
command.
Commands after which a bad file descriptor
dialog box popped up:
git_add_selected_hunk
(adding didn't go through after suspending and waking)git_quick_commit
(committing went well after suspending and waking)git_add_choice
(the overlay to choose what to add showed up as normal after suspending and waking)An example of the log I get (when sublime.log_commands(True)
):
command: git_add_choice # the command
command: move {"by": "lines", "forward": true} # me finding out it didn't work
# suspend machine and wake up again
OSError [Errno 9] Bad file descriptor
error: Bad file descriptor
As said, the command worked just fine.
What's the status on this? I confirm experiencing the same issue.
Git plugin: 1.0.8 OS: macOS 11.0.1 SublimeText: 3.2.2 Build 3211
Experiencing the same issue. Works fine until it doesn't. Sublime console shows the command that is being requested, e.g. ['git', 'add', '-A']
when it is working, and does just the same when it isn't. Sadly no obvious way to see any further debug information on what might be failing. Certainly os.getcwd()
is still a git project when it is in a failing state. I am working with multiple git projects concurrently within one sublime project and wonder whether this is a cause?
I am working with multiple git projects concurrently within one sublime project and wonder whether this is a cause?
It's not. I've experienced this working on a single repo.
Hi, I've been using sublime-text-git on sublimetext3 for quite awhile. It works really well. However, sometimes it just stops working---I can enter a commit message for git quick commit but the git-output doesn't come up as usual to show that the commit has been registered. The problem goes away only after I restart sublimetext.
Usually the bar at the bottom of the sublimetext window has "Git branch: master, index: (tick), working: (tick), ...". This goes away when it stops working. I can't figure out the source of this problem. Is anyone else facing this problem?