{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/1850","repository_url":"https://api.github.com/repos/Microsoft/vscode-go","labels_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/1850/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/1850/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/1850/events","html_url":"https://github.com/Microsoft/vscode-go/issues/1850","id":350832277,"node_id":"MDU6SXNzdWUzNTA4MzIyNzc=","number":1850,"title":"Build failing with ENOENT: no such file or directory, uv_os_get_passwd","user":{"login":"ramya-rao-a","id":16890566,"node_id":"MDQ6VXNlcjE2ODkwNTY2","avatar_url":"https://avatars1.githubusercontent.com/u/16890566?v=4","gravatar_id":"","url":"https://api.github.com/users/ramya-rao-a","html_url":"https://github.com/ramya-rao-a","followers_url":"https://api.github.com/users/ramya-rao-a/followers","following_url":"https://api.github.com/users/ramya-rao-a/following{/other_user}","gists_url":"https://api.github.com/users/ramya-rao-a/gists{/gist_id}","starred_url":"https://api.github.com/users/ramya-rao-a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramya-rao-a/subscriptions","organizations_url":"https://api.github.com/users/ramya-rao-a/orgs","repos_url":"https://api.github.com/users/ramya-rao-a/repos","events_url":"https://api.github.com/users/ramya-rao-a/events{/privacy}","received_events_url":"https://api.github.com/users/ramya-rao-a/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-15T14:32:37Z","updated_at":"2018-08-15T14:42:08Z","closed_at":null,"author_association":"MEMBER","body":"_From \r\nhttps://github.com/Microsoft/vscode-go/issues/1844#issuecomment-413186005 by @nboughton_\r\n\r\nBuild on save functionality is completely broken for me in 1.26. Every time I save I get the following in the console:\r\n\r\n\r\n `mainThreadExtensionService.ts:43 [ms-vscode.Go]ENOENT: no such file or directory, uv_os_get_passwd\r\ne.$onExtensionRuntimeError @ mainThreadExtensionService.ts:43\r\ne._doInvokeHandler @ rpcProtocol.ts:261\r\ne._invokeHandler @ rpcProtocol.ts:246\r\ne._receiveRequest @ rpcProtocol.ts:192\r\ne._receiveOneMessage @ rpcProtocol.ts:174\r\n(anonymous) @ rpcProtocol.ts:107\r\n(anonymous) @ rpcProtocol.ts:303\r\ne.fire @ event.ts:140\r\na @ ipc.net.ts:104\r\nn._socketDataListener @ ipc.net.ts:133\r\nemitOne @ events.js:116\r\nemit @ events.js:211\r\naddChunk @ _stream_readable.js:263\r\nreadableAddChunk @ _stream_readable.js:250\r\nReadable.push @ _stream_readable.js:208\r\nonread @ net.js:594\r\nmainThreadExtensionService.ts:44 Error: ENOENT: no such file or directory, uv_os_get_passwd\r\n\tat Object.goBuild (/home/nick/.vscode/extensions/ms-vscode.go-0.6.87/out/src/goBuild.js:71:102)\r\n\tat Object.check (/home/nick/.vscode/extensions/ms-vscode.go-0.6.87/out/src/goCheck.js:75:45)\r\n\tat runBuilds (/home/nick/.vscode/extensions/ms-vscode.go-0.6.87/out/src/goMain.js:334:15)\r\n\tat vscode.workspace.onDidSaveTextDocument.document (/home/nick/.vscode/extensions/ms-vscode.go-0.6.87/out/src/goMain.js:347:9)\r\n\tat e.fire (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:98:218)\r\n\tat e.$acceptModelSaved (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:728:141)\r\n\tat e._doInvokeHandler (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:671:983)\r\n\tat e._invokeHandler (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:671:701)\r\n\tat e._receiveRequest (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:670:767)\r\n\tat e._receiveOneMessage (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:670:536)\r\n\tat /opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:669:452\r\n\tat /opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:672:575\r\n\tat /opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:96:903\r\n\tat e.fire (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:98:218)\r\n\tat a (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:162:713)\r\n\tat Socket._socketDataListener (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:162:932)\r\n\tat emitOne (events.js:116:13)\r\n\tat Socket.emit (events.js:211:7)\r\n\tat addChunk (_stream_readable.js:263:12)\r\n\tat readableAddChunk (_stream_readable.js:250:11)\r\n\tat Socket.Readable.push (_stream_readable.js:208:10)\r\n\tat Pipe.onread (net.js:594:20)`\r\n\r\nAttempting to use the command pallet to build the current workspace also fails with the following error:\r\n\r\n `notificationsAlerts.ts:39` Error: Running the contributed command:'go.build.workspace' failed.\r\n\tat e._executeContributedCommand (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:713:87)\r\n\tat e.$executeContributedCommand (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:713:479)\r\n\tat e._doInvokeHandler (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:671:983)\r\n\tat e._invokeHandler (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:671:701)\r\n\tat e._receiveRequest (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:670:767)\r\n\tat e._receiveOneMessage (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:670:536)\r\n\tat /opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:669:452\r\n\tat /opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:672:575\r\n\tat /opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:96:903\r\n\tat e.fire (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:98:218)\r\n\tat a (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:162:713)\r\n\tat Socket._socketDataListener (/opt/visual-studio-code/resources/app/out/vs/workbench/node/extensionHostProcess.js:162:932)\r\n\tat emitOne (events.js:116:13)\r\n\tat Socket.emit (events.js:211:7)\r\n\tat addChunk (_stream_readable.js:263:12)\r\n\tat readableAddChunk (_stream_readable.js:250:11)\r\n\tat Socket.Readable.push (_stream_readable.js:208:10)\r\n\tat Pipe.onread (net.js:594:20)`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/comments/413219344","html_url":"https://github.com/Microsoft/vscode-go/issues/1850#issuecomment-413219344","issue_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/1850","id":413219344,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzIxOTM0NA==","user":{"login":"ramya-rao-a","id":16890566,"node_id":"MDQ6VXNlcjE2ODkwNTY2","avatar_url":"https://avatars1.githubusercontent.com/u/16890566?v=4","gravatar_id":"","url":"https://api.github.com/users/ramya-rao-a","html_url":"https://github.com/ramya-rao-a","followers_url":"https://api.github.com/users/ramya-rao-a/followers","following_url":"https://api.github.com/users/ramya-rao-a/following{/other_user}","gists_url":"https://api.github.com/users/ramya-rao-a/gists{/gist_id}","starred_url":"https://api.github.com/users/ramya-rao-a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramya-rao-a/subscriptions","organizations_url":"https://api.github.com/users/ramya-rao-a/orgs","repos_url":"https://api.github.com/users/ramya-rao-a/repos","events_url":"https://api.github.com/users/ramya-rao-a/events{/privacy}","received_events_url":"https://api.github.com/users/ramya-rao-a/received_events","type":"User","site_admin":false},"created_at":"2018-08-15T14:42:08Z","updated_at":"2018-08-15T14:42:08Z","author_association":"MEMBER","body":"@nboughton I've pushed a fix to master, can you try the below?\r\n\r\n- Download https://github.com/Microsoft/vscode-go/blob/master/Go-latest.vsix\r\n- Run `code --install-extension Go-latest.vsix` \r\n- If the above fails with `Error: end of central directory record signature not found`, then clone this repo and use the `Go-latest.vsix` file from the cloned repo\r\n- Reload VS Code"}}
{"actor":{"display_login":"ramya-rao-a"}}