Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git SCM issue ... #78809

Closed
hemantwithu opened this issue Aug 9, 2019 · 6 comments
Closed

Git SCM issue ... #78809

hemantwithu opened this issue Aug 9, 2019 · 6 comments
Assignees

Comments

@hemantwithu
Copy link

hemantwithu commented Aug 9, 2019

git-SCM-issue
Issue Type: Bug

This issue has been occured multiple times showing a message "No source control providers registered" under source control. Though I can do the few git operation using command line but the basic featues on the files couldn't be done using command line such as file revision history and compare files.

I would really appreciate your help on this fix .

VS Code version: Code 1.37.0 (036a6b1, 2019-08-08T02:33:50.993Z)
OS version: Windows_NT x64 10.0.17134

@vscodebot vscodebot bot added the new release label Aug 9, 2019
@gjsjohnmurray
Copy link
Contributor

Maybe info in #61491 (comment) can help you?

@joaomoreno
Copy link
Member

joaomoreno commented Aug 12, 2019

What does Git: Show Git Output show you?

You can also change the Log Level to Debug and see what Git tells you in the Output.

@matmel
Copy link

matmel commented Aug 12, 2019

Hi there, I have the same problem as @hemantwithu. My laptop is on windows but connect via remote-ssh to a linux server. When I open a directory which contains a git repository, I have the No source control providers registered message.

The output of Git: Show Git Output is an error popup which says command 'Git.showOuput' not found

image

I have not the same problem with the insider version. As you can see the regular vscode is updated to the very new July release 1.37.0.

Other issues I am experiencing are regular disconnection from ssh and my python extension that won't start either. All those issues came at the same time as my git problem.

@joaomoreno
Copy link
Member

joaomoreno commented Aug 13, 2019

@matmel It seems your extension host isn't running at all. Can you run Developer: Toggle Developer Tools and check whether there are errors in the console?

@hemantwithu Still waiting on your answer.

@matmel
Copy link

matmel commented Aug 13, 2019

@joaomoreno Thanks for getting back at me. Here is the ouput of the developer tools console:

Extension Host
extensionHost.ts:202 Debugger attached.
remoteAgentConnection.ts:345 A permanent connection error occurred
(anonymous) @ remoteAgentConnection.ts:345
remoteAgentConnection.ts:346 Error: Connection error: Unknown reconnection token.
    at f (remoteAgentConnection.ts:443)
    at i.onControlMessage.o (remoteAgentConnection.ts:177)
    at d.fire (event.ts:572)
    at a (ipc.net.ts:421)
    at e (ipc.net.ts:428)
    at d.fire (event.ts:572)
    at S._receiveMessage (ipc.net.ts:718)
    at _socketDisposables.push._socketReader.onMessage.e (ipc.net.ts:670)
    at d.fire (event.ts:572)
    at g.acceptChunk (ipc.net.ts:236)
    at _register._socket.onData.e (ipc.net.ts:197)
    at Socket.t (ipc.net.ts:28)
    at Socket.emit (events.js:182)
    at addChunk (_stream_readable.js:283)
    at readableAddChunk (_stream_readable.js:264)
    at Socket.Readable.push (_stream_readable.js:219)
    at TCP.onStreamRead (internal/stream_base_commons.js:94)
(anonymous) @ remoteAgentConnection.ts:346
abstractExtensionService.ts:154 Extension host terminated unexpectedly. Code:  0  Signal:  null
_onExtensionHostCrashed @ abstractExtensionService.ts:154
extensionHost.ts:201 Extension Host
extensionHost.ts:202 Waiting for the debugger to disconnect...

I am not sure but I may have corrupted somehow the remote host vscode server configuration when I changed my default git version by sourcing automatically in my bashrc the CentOS software collection sclo-git25. In other words, before the automatic sourcing I had:

[user@host] $ which git
/usr/bin/git
[user@host] $ git --version
git version 1.8.3.1

and now:

[user@host] $ which git
/opt/rh/sclo-git25/root/usr/bin/git
[user@host] $ git --version
git version 2.5.5

@matmel
Copy link

matmel commented Aug 16, 2019

FWIW, I deleted ~/.vscode-server on the remote host, and after re-installing all extensions it works again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants