Unable to activate Robocorp Code extension

I have installed the two extensions in VS .NET on Mac, but I get the following error.
Executing: /Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/bin/rcc configure diagnostics -j --controller RobocorpCode
Error executing: /Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/bin/rcc configure diagnostics -j --controller RobocorpCode
Error getting RCC diagnostics.

I have checked the Firewall settings from the Network and it is disabled.

Thanks.

Hello, would it be possible for you to add a log from Robocorp extension?
image
You could also submit it from VS code, that way we get all the logs
image

I can’t sent the report

You are then most likely in corporate settings. Robocorp tooling needs to be able to communicate with endpoints listed in this document Firewall and network proxy requirements | Robocorp documentation

It is a personal computer, I have checked the configuration and the firewall is disabled.

Could you paste the report from OUTPUT that is indicated on your screenshot?

Activating Robocorp Code extension.
Waiting for Robocorp Code (python) language server to finish activating…
Listening for Robo Tasks Output connections on: {“address”:“::”,“family”:“IPv6”,“port”:49179}
ROBOCORP_HOME: /Users/user1/.robocorp
Executing: /Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/bin/rcc configure diagnostics -j --controller RobocorpCode
Error executing: /Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/bin/rcc configure diagnostics -j --controller RobocorpCode
Error getting RCC diagnostics.
spawn Unknown system error -86
Error: spawn Unknown system error -86
at ChildProcess.spawn (node:internal/child_process:413:11)
at spawn (node:child_process:817:9)
at execFile (node:child_process:360:17)
at t. (node:electron/js2c/asar_bundle:2:2265)
at /Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/subprocess.js:9:57
at new Promise ()
at _execFileAsPromise (/Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/subprocess.js:8:12)
at execFilePromise (/Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/subprocess.js:56:22)
at runConfigDiagnostics (/Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/rcc.js:341:75)
at getLanguageServerPythonInfoUncached (/Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/extensionCreateEnv.js:515:69)
at async getLanguageServerPythonInfo (/Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/extension.js:609:28)
at async serverOptions (/Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/extension.js:87:28)

Took 0.0s to obtain diagnostics.
Unable to activate Robocorp Code extension because python executable from RCC environment was not provided.
– Most common reason is that the environment couldn’t be created due to network connectivity issues.
– Please fix the error and restart VSCode.
Error getting Python
Cannot read properties of undefined (reading ‘stdout’)
TypeError: Cannot read properties of undefined (reading ‘stdout’)
at runConfigDiagnostics (/Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/rcc.js:374:38)
at async basicValidations (/Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/extensionCreateEnv.js:251:26)
at async createDefaultEnv (/Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/extensionCreateEnv.js:365:36)
at async /Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/extensionCreateEnv.js:539:16
[Error - 19:49:07] Starting client failed
TypeError: Cannot read properties of undefined (reading ‘stdout’)
at runConfigDiagnostics (/Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/rcc.js:374:38)
at async basicValidations (/Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/extensionCreateEnv.js:251:26)
at async createDefaultEnv (/Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/extensionCreateEnv.js:365:36)
at async /Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/extensionCreateEnv.js:539:16
Error initializing Robocorp code.
Cannot read properties of undefined (reading ‘stdout’)
TypeError: Cannot read properties of undefined (reading ‘stdout’)
at runConfigDiagnostics (/Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/rcc.js:374:38)
at async basicValidations (/Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/extensionCreateEnv.js:251:26)
at async createDefaultEnv (/Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/extensionCreateEnv.js:365:36)
at async /Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/vscode-client/out/extensionCreateEnv.js:539:16
Robocorp Code initialization finished. Took: 0.0s
Error executing: /Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/bin/rcc feedback metric -t vscode -n vscode.code.error -v RCC_DIAGNOSTICS
Error executing: /Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/bin/rcc feedback metric -t vscode -n vscode.code.error -v INIT_PYTHON_ERR
Error executing: /Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/bin/rcc feedback metric -t vscode -n vscode.code.error -v ERROR_INITIALIZING_ROBOCORP_CODE_LANG_SERVER
Error getting children
command ‘robocorp.getLinkedAccountInfo.internal’ not found
Error: command ‘robocorp.getLinkedAccountInfo.internal’ not found
at y.n (vscode-file://vscode-app/Users/user1/Desktop/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1528:12299)
at y.executeCommand (vscode-file://vscode-app/Users/user1/Desktop/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1528:12228)
Error executing: /Users/user1/.vscode/extensions/robocorp.robocorp-code-1.10.0/bin/rcc feedback metric -t vscode -n vscode.code.error -v VIEWS_CLOUD_COMPUTE_ROOTS

Hello,
From log – Most common reason is that the environment couldn’t be created due to network connectivity issues. There can be other limiting factors other than your firewall. Could try to download our cli tool RCC and run the command rcc configuration netdiagnostics From the result you will see if all the necessary endpoints are available for you.

All solved, thank you very much.

2 Likes