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

Error running VSCode from Windows terminal #62

Open
masht18 opened this issue Oct 31, 2023 · 0 comments
Open

Error running VSCode from Windows terminal #62

masht18 opened this issue Oct 31, 2023 · 0 comments

Comments

@masht18
Copy link

masht18 commented Oct 31, 2023

VSCode fails with following error when I run mila code . from a Windows terminal. There's no issue if I run it from a WSL Ubuntu terminal instead.

[15:32:33.704] Log Level: 2
[15:32:33.714] SSH Resolver called for "ssh-remote+cn-f002.server.mila.quebec", attempt 1
[15:32:33.714] "remote.SSH.useLocalServer": false
[15:32:33.714] "remote.SSH.useExecServer": false
[15:32:33.714] "remote.SSH.showLoginTerminal": false
[15:32:33.714] "remote.SSH.remotePlatform": {"cn-f001.server.mila.quebec":"linux","mila":"linux"}
[15:32:33.714] "remote.SSH.path": undefined
[15:32:33.714] "remote.SSH.configFile": undefined
[15:32:33.715] "remote.SSH.useFlock": true
[15:32:33.715] "remote.SSH.lockfilesInTmp": false
[15:32:33.715] "remote.SSH.localServerDownload": auto
[15:32:33.715] "remote.SSH.remoteServerListenOnSocket": false
[15:32:33.715] "remote.SSH.showLoginTerminal": false
[15:32:33.715] "remote.SSH.defaultExtensions": []
[15:32:33.715] "remote.SSH.loglevel": 2
[15:32:33.715] "remote.SSH.enableDynamicForwarding": true
[15:32:33.715] "remote.SSH.enableRemoteCommand": false
[15:32:33.715] "remote.SSH.serverPickPortsFromRange": {}
[15:32:33.715] "remote.SSH.serverInstallPath": {}
[15:32:33.720] VS Code version: 1.83.1
[15:32:33.720] Remote-SSH version: [email protected]
[15:32:33.720] win32 x64
[15:32:33.721] SSH Resolver called for host: cn-f002.server.mila.quebec
[15:32:33.721] Setting up SSH remote "cn-f002.server.mila.quebec"
[15:32:33.724] Using commit id "f1b07bd25dfad64b0167beb15359ae573aecd2cc" and quality "stable" for server
[15:32:33.726] Install and start server if needed
[15:33:11.188] Checking ssh with "C:\Users\masht\anaconda3\ssh.exe -V"
[15:33:11.191] Got error from ssh: spawn C:\Users\masht\anaconda3\ssh.exe ENOENT
[15:33:11.191] Checking ssh with "C:\Users\masht\anaconda3\Library\mingw-w64\bin\ssh.exe -V"
[15:33:11.192] Got error from ssh: spawn C:\Users\masht\anaconda3\Library\mingw-w64\bin\ssh.exe ENOENT
[15:33:11.192] Checking ssh with "C:\Users\masht\anaconda3\Library\usr\bin\ssh.exe -V"
[15:33:11.221] > OpenSSH_8.0p1, OpenSSL 1.1.1c  28 May 2019

[15:33:11.223] Running script with connection command: "C:\Users\masht\anaconda3\Library\usr\bin\ssh.exe" -T -D 64557 "cn-f002.server.mila.quebec" bash
[15:33:11.224] Terminal shell path: C:\Windows\System32\cmd.exe
[15:33:11.625] > kex_exchange_identification: write: Broken pipe�]0;C:\Windows\System32\cmd.exe�
[15:33:11.625] Got some output, clearing connection timeout
[15:33:11.641] > 
> The process tried to write to a nonexistent pipe.
[15:33:12.886] "install" terminal command done
[15:33:12.886] Install terminal quit with output: kex_exchange_identification: write: Broken pipe�]0;C:\Windows\System32\cmd.exe�
[15:33:12.886] Received install output: kex_exchange_identification: write: Broken pipe�]0;C:\Windows\System32\cmd.exe�
[15:33:12.887] Failed to parse remote port from server output
[15:33:12.888] Resolver error: Error: 
	at g.Create (c:\Users\masht\.vscode\extensions\ms-vscode-remote.remote-ssh-0.106.5\out\extension.js:2:640937)
	at t.handleInstallOutput (c:\Users\masht\.vscode\extensions\ms-vscode-remote.remote-ssh-0.106.5\out\extension.js:2:638303)
	at t.tryInstall (c:\Users\masht\.vscode\extensions\ms-vscode-remote.remote-ssh-0.106.5\out\extension.js:2:760218)
	at async c:\Users\masht\.vscode\extensions\ms-vscode-remote.remote-ssh-0.106.5\out\extension.js:2:720757
	at async t.withShowDetailsEvent (c:\Users\masht\.vscode\extensions\ms-vscode-remote.remote-ssh-0.106.5\out\extension.js:2:724063)
	at async I (c:\Users\masht\.vscode\extensions\ms-vscode-remote.remote-ssh-0.106.5\out\extension.js:2:717728)
	at async t.resolve (c:\Users\masht\.vscode\extensions\ms-vscode-remote.remote-ssh-0.106.5\out\extension.js:2:721434)
	at async c:\Users\masht\.vscode\extensions\ms-vscode-remote.remote-ssh-0.106.5\out\extension.js:2:905238
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant