Sema4AI / vscode-extension

Sema4.ai extension for VS Code: AI Actions and Automation development for Python
https://sema4.ai/docs/platform/vs-code
Apache License 2.0
3 stars 0 forks source link

Error : Unable to activate Robocorp Code extension because python executable from RCC environment was not provided. #20

Open kariharju opened 3 weeks ago

kariharju commented 3 weeks ago

Issue by shihabkb Thursday May 05, 2022 at 12:29 GMT Originally opened as https://github.com/robocorp/robotframework-lsp/issues/671


Describe the bug I am getting an error when I tried to do the “Robocorp: Create Robot” as mentioned in the tutorial Install Robocorp's RPA software - Visual Studio Code with Robocorp Code extension.

I tried the same steps from my Macbook and its my personal pc. There is no firewall or antivirus installed here.

The same error is getting when I am trying from my official windows laptop which has some proxy in it. Anyone can help?

To Reproduce Steps to reproduce the behavior: I 've tried to do the “Robocorp: Create Robot” as mentioned in the tutorial Install Robocorp's RPA software - Visual Studio Code with Robocorp Code extension.

Error

Users/shihabkb/.vscode/extensions/robocorp.robocorp-code-0.32.0/bin/create_env/conda_vscode_darwin_amd64.yaml --controller RobocorpCode
Error code: undefined
Error: error
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
[Error - 6:15:12 PM] Starting client failed
[object Object]
Error initializing Robocorp code.

Expected behavior

Screenshots If applicable, add screenshots to help explain your problem.

Versions:

kariharju commented 3 weeks ago

Comment by fabioz Thursday May 05, 2022 at 17:08 GMT


Can you provide the full contents of the output tabs below?

OUTPUT > Robot Framework OUTPUT > Robocorp Code

kariharju commented 3 weeks ago

Comment by shihabkb Thursday May 05, 2022 at 17:12 GMT


Activating Robocorp Code extension.
Error disabling python terminal activate environment.
    Unable to write to Workspace Settings because python.terminal.activateEnvironment is not a registered configuration.
    Error: Unable to write to Workspace Settings because python.terminal.activateEnvironment is not a registered configuration.
        at b.toConfigurationEditingError (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/86059557-CF70-44D1-B9D4-497DE960E820/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2611:12734)
        at b.validate (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/86059557-CF70-44D1-B9D4-497DE960E820/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2611:15602)
        at b.doWriteConfiguration (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/86059557-CF70-44D1-B9D4-497DE960E820/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2611:9059)
        at Object.factory (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/86059557-CF70-44D1-B9D4-497DE960E820/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2611:8915)
        at T.consume (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/86059557-CF70-44D1-B9D4-497DE960E820/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:71:15885)
        at vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/86059557-CF70-44D1-B9D4-497DE960E820/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:71:15700
        at new Promise (<anonymous>)
        at T.queue (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/86059557-CF70-44D1-B9D4-497DE960E820/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:71:15624)
        at b.writeConfiguration (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/86059557-CF70-44D1-B9D4-497DE960E820/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2611:8884)
        at O.writeConfigurationValue (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/86059557-CF70-44D1-B9D4-497DE960E820/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2611:41744)
        at vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/86059557-CF70-44D1-B9D4-497DE960E820/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2611:27470
        at Array.map (<anonymous>)
        at O.updateValue (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/86059557-CF70-44D1-B9D4-497DE960E820/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2611:27458)
        at processTicksAndRejections (node:internal/process/task_queues:96:5)
Waiting for Robocorp Code (python) language server to finish activating...
ROBOCORP_HOME: /Users/shihabkb/.robocorp
Executing: /Users/shihabkb/.vscode/extensions/robocorp.robocorp-code-0.32.0/bin/rcc configure diagnostics -j --controller RobocorpCode
RCC Diagnostics:
Stdout:
{
  "details": {
    "RCC_VERBOSE_ENVIRONMENT_BUILDING": "false",
    "ROBOCORP_HOME": "/Users/shihabkb/.robocorp",
    "ROBOCORP_OVERRIDE_SYSTEM_REQUIREMENTS": "false",
    "config-active-profile": "default",
    "config-http-proxy": "",
    "config-https-proxy": "",
    "config-micromambarc-used": "false",
    "config-piprc-used": "false",
    "config-settings-yaml-used": "false",
    "config-ssl-no-revoke": "false",
    "config-ssl-verify": "true",
    "controller": "rcc.robocorpcode",
    "cpus": "8",
    "executable": "/Users/shihabkb/.vscode/extensions/robocorp.robocorp-code-0.32.0/bin/rcc",
    "installationId": "9be5b744-8abf-c6c3-b682-2d558125e641",
    "micromamba": "signal: abort trap",
    "os": "darwin_amd64",
    "rcc": "v11.9.16",
    "stats": "2 requests, 0 merges, 0 hits, 0 dirty, 0 misses, 2 failures | 9be5b744-8abf-c6c3-b682-2d558125e641",
    "telemetry-enabled": "true",
    "tempdir": "/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/",
    "uid:gid": "501:20",
    "user-agent": "rcc/v11.9.16 (darwin amd64) rcc.robocorpcode",
    "user-cache-dir": "/Users/shihabkb/Library/Caches",
    "user-config-dir": "/Users/shihabkb/Library/Application Support",
    "user-home-dir": "/Users/shihabkb",
    "when": "2022-05-02T18:15:09+05:30 (IST)",
    "working-dir": "/Users/shihabkb/.vscode/extensions/robocorp.robocorp-code-0.32.0/bin"
  },
  "checks": [
    {
      "type": "RPA",
      "status": "ok",
      "message": "ROBOCORP_HOME (/Users/shihabkb/.robocorp) is good enough.",
      "url": "https://robocorp.com/docs/troubleshooting"
    },
    {
      "type": "OS",
      "status": "ok",
      "message": "PYTHONPATH is not set, which is good.",
      "url": "https://robocorp.com/docs/troubleshooting"
    },
    {
      "type": "OS",
      "status": "ok",
      "message": "PLAYWRIGHT_BROWSERS_PATH is not set, which is good.",
      "url": "https://robocorp.com/docs/troubleshooting"
    },
    {
      "type": "OS",
      "status": "ok",
      "message": "NODE_OPTIONS is not set, which is good.",
      "url": "https://robocorp.com/docs/troubleshooting"
    },
    {
      "type": "OS",
      "status": "ok",
      "message": "NODE_PATH is not set, which is good.",
      "url": "https://robocorp.com/docs/troubleshooting"
    },
    {
      "type": "OS",
      "status": "ok",
      "message": "Supports long enough paths.",
      "url": "https://robocorp.com/docs/troubleshooting/windows-long-path"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "api.eu1.robocorp.com found: [34.248.7.248 54.77.66.188 52.49.107.171 52.211.203.96 34.248.183.211 54.75.84.34]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "cloud.robocorp.com found: [34.249.245.73 63.33.139.38 108.128.173.184]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "conda.anaconda.org found: [104.17.93.24 104.17.92.24 2606:4700::6811:5d18 2606:4700::6811:5c18]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "downloads.robocorp.com found: [13.33.146.54 13.33.146.39 13.33.146.106 13.33.146.15 2600:9000:20bd:2400:18:cd0d:3c00:93a1 2600:9000:20bd:d800:18:cd0d:3c00:93a1 2600:9000:20bd:e800:18:cd0d:3c00:93a1 2600:9000:20bd:a600:18:cd0d:3c00:93a1 2600:9000:20bd:9c00:18:cd0d:3c00:93a1 2600:9000:20bd:9800:18:cd0d:3c00:93a1 2600:9000:20bd:ce00:18:cd0d:3c00:93a1 2600:9000:20bd:d000:18:cd0d:3c00:93a1]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "files.pythonhosted.org found: [151.101.1.63 151.101.65.63 151.101.129.63 151.101.193.63 2a04:4e42:fd3::319]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "github.com found: [13.234.210.38]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "id.robocorp.com found: [13.33.146.24 13.33.146.10 13.33.146.3 13.33.146.7 2600:9000:20bd:a800:8:29ad:bc00:93a1 2600:9000:20bd:de00:8:29ad:bc00:93a1 2600:9000:20bd:3c00:8:29ad:bc00:93a1 2600:9000:20bd:d600:8:29ad:bc00:93a1 2600:9000:20bd:aa00:8:29ad:bc00:93a1 2600:9000:20bd:ca00:8:29ad:bc00:93a1 2600:9000:20bd:9400:8:29ad:bc00:93a1 2600:9000:20bd:2a00:8:29ad:bc00:93a1]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "pypi.org found: [151.101.64.223 151.101.192.223 151.101.128.223 151.101.0.223 2a04:4e42:400::223 2a04:4e42:200::223 2a04:4e42:600::223 2a04:4e42::223]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "robocorp.com found: [104.22.41.65 172.67.7.153 104.22.40.65 2606:4700:10::6816:2941 2606:4700:10::ac43:799 2606:4700:10::6816:2841]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "telemetry.robocorp.com found: [104.22.41.65 172.67.7.153 104.22.40.65 2606:4700:10::ac43:799 2606:4700:10::6816:2941 2606:4700:10::6816:2841]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "Canary download successful: https://downloads.robocorp.com/canary.txt",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "PyPI canary download successful: https://pypi.org/jupyterlab-pygments/",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "Conda canary download successful: https://conda.anaconda.org/conda-forge/linux-64/repodata.json",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "Settings",
      "status": "ok",
      "message": "Toplevel settings are ok.",
      "url": ""
    }
  ]
}

Stderr:
dyld: Symbol not found: __ZNSt19bad_optional_accessD1Ev
  Referenced from: /Users/shihabkb/.robocorp/bin/micromamba
  Expected in: /usr/lib/libc++.1.dylib
 in /Users/shihabkb/.robocorp/bin/micromamba
OK.

Took 1.2s to obtain diagnostics.
Executing: /Users/shihabkb/.vscode/extensions/robocorp.robocorp-code-0.32.0/bin/rcc holotree variables --space vscode-base-v01-e1583d --json /Users/shihabkb/.vscode/extensions/robocorp.robocorp-code-0.32.0/bin/create_env/conda_vscode_darwin_amd64.yaml --controller RobocorpCode
####  Progress: 01/13  v11.9.16     0.003s  Fresh holotree environment 9be5b744-8abf-c6c3-b682-2d558125e641.
####  Progress: 02/13  v11.9.16     0.000s  Holotree blueprint is "757e16c5c6df1f7a".
####  Progress: 03/13  v11.9.16     0.000s  Cleanup holotree stage for fresh install.
####  Progress: 04/13  v11.9.16     0.000s  Build environment into holotree stage.
FINAL union conda environment descriptor:
---
channels:
- conda-forge
dependencies:
- python=3.8.10
- pip=20.1
- python.app=1.3
- pip:
  - robocorp-inspector==0.6.5
  - robotframework==4.1
---
dyld: Symbol not found: __ZNSt19bad_optional_accessD1Ev
  Referenced from: /Users/shihabkb/.robocorp/bin/micromamba
  Expected in: /usr/lib/libc++.1.dylib
 in /Users/shihabkb/.robocorp/bin/micromamba
Downloading micromamba, this may take awhile ...
Making micromamba executable ...
####  Progress: 05/13  v11.9.16     1.330s  Running micromamba phase.
Fatal [Micromamba [-1/-1]]: signal: abort trap
---  installation plan "b9cd51665955cbe9" 2022-05-02T18:15:11+05:30 [force: false, fresh: true| rcc v11.9.16]  ---

---  plan blueprint @0.000s  ---

channels:
- conda-forge
dependencies:
- python=3.8.10
- pip=20.1
- python.app=1.3
- pip:
  - robocorp-inspector==0.6.5
  - robotframework==4.1

---  micromamba plan @0.000s  ---

dyld: Symbol not found: __ZNSt19bad_optional_accessD1Ev
  Referenced from: /Users/shihabkb/.robocorp/bin/micromamba
  Expected in: /usr/lib/libc++.1.dylib
 in /Users/shihabkb/.robocorp/bin/micromamba

[N] Retry! First try failed ... now retrying with debug and force options!
[D] Sending metric as https://telemetry.robocorp.com//metric-v1/rcc.robocorpcode/1651495511788570000/9be5b744-8abf-c6c3-b682-2d558125e641/rcc.env.creation.retry/v11.9.16
[D] Setting up new conda environment using /var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/conda_626fd256.yaml to folder /Users/shihabkb/.robocorp/holotree/h0cc3ca830dec7f56t
[N] ####  Progress: 05/13  v11.9.16     0.082s  Running micromamba phase.
[D] ===  micromamba create phase ===
[D] PID #2432 is "/Users/shihabkb/.robocorp/bin/micromamba create --always-copy --no-env --safety-checks enabled --extra-safety-checks --retry-clean-cache --strict-channel-priority --repodata-ttl 0 -y -f /var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/conda_626fd256.yaml -p /Users/shihabkb/.robocorp/holotree/h0cc3ca830dec7f56t --verbose --no-rc".
[D] PID #2432 finished: signal: abort trap.
[D] BackgroundMetric kind:rcc.robocorpcode name:rcc.env.fatal.micromamba value:-1_-1 send:true
Fatal [Micromamba [-1/-1]]: signal: abort trap
[D] Sending metric as https://telemetry.robocorp.com//metric-v1/rcc.robocorpcode/1651495511841997000/9be5b744-8abf-c6c3-b682-2d558125e641/rcc.env.fatal.micromamba/-1_-1
[N] ---  installation plan "b9cd51665955cbe9" 2022-05-02T18:15:11+05:30 [force: true, fresh: true| rcc v11.9.16]  ---

---  plan blueprint @0.000s  ---

channels:
- conda-forge
dependencies:
- python=3.8.10
- pip=20.1
- python.app=1.3
- pip:
  - robocorp-inspector==0.6.5
  - robotframework==4.1

---  micromamba plan @0.000s  ---

dyld: Symbol not found: __ZNSt19bad_optional_accessD1Ev
  Referenced from: /Users/shihabkb/.robocorp/bin/micromamba
  Expected in: /usr/lib/libc++.1.dylib
 in /Users/shihabkb/.robocorp/bin/micromamba

[N] ####  Progress: 13/13  v11.9.16     0.073s  Fresh holotree done [with 7 workers].
[D] Marked "/Users/shihabkb/.robocorp/temp/4d65822107fcf42f" for recycling.
[N] Failed to create environment, reason Could not create environment..
[D] wait telemetry to complete
[D] #1 PUT https://telemetry.robocorp.com/metric-v1/rcc.robocorpcode/1651495511704158000/9be5b744-8abf-c6c3-b682-2d558125e641/rcc.micromamba.download/v11.9.16 => 202 (ignore)
[D] #2 PUT https://telemetry.robocorp.com/metric-v1/rcc.robocorpcode/1651495511788243000/9be5b744-8abf-c6c3-b682-2d558125e641/rcc.env.fatal.micromamba/-1_-1 => 202 (ignore)
[D] #3 PUT https://telemetry.robocorp.com/metric-v1/rcc.robocorpcode/1651495511704386000/9be5b744-8abf-c6c3-b682-2d558125e641/rcc.micromamba.install/v11.9.16 => 202 (ignore)
[D] #4 PUT https://telemetry.robocorp.com/metric-v1/rcc.robocorpcode/1651495511788570000/9be5b744-8abf-c6c3-b682-2d558125e641/rcc.env.creation.retry/v11.9.16 => 202 (ignore)
[D] #5 PUT https://telemetry.robocorp.com/metric-v1/rcc.robocorpcode/1651495511841997000/9be5b744-8abf-c6c3-b682-2d558125e641/rcc.env.fatal.micromamba/-1_-1 => 202 (ignore)
[D] telemetry sending completed
Error executing: /Users/shihabkb/.vscode/extensions/robocorp.robocorp-code-0.32.0/bin/rcc holotree variables --space vscode-base-v01-e1583d --json /Users/shihabkb/.vscode/extensions/robocorp.robocorp-code-0.32.0/bin/create_env/conda_vscode_darwin_amd64.yaml --controller RobocorpCode
Error code: undefined
Error: error
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
[Error - 6:15:12 PM] Starting client failed
[object Object]
Error initializing Robocorp code.
Robocorp Code initialization finished. Took: 3.6s
kariharju commented 3 weeks ago

Comment by fabioz Thursday May 05, 2022 at 17:50 GMT


It seems something is bad with micromamba when creating the environment.

Note that if you're experiencing the same issue in another OS, it'd be interesting to include that info too (it could be a different problem...).

kariharju commented 3 weeks ago

Comment by shihabkb Friday May 06, 2022 at 02:10 GMT


is there any way to solve the micromamba issue?

On Thu, May 5, 2022 at 11:20 PM Fabio Zadrozny @.***> wrote:

It seems something is bad with micromamba when creating the environment.

Note that if you're experiencing the same issue in another OS, it'd be interesting to include that info too (it could be a different problem...).

— Reply to this email directly, view it on GitHub https://github.com/robocorp/robotframework-lsp/issues/671#issuecomment-1118878873, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKACRYK6L2JZGCQDR5YQDCTVIQC5PANCNFSM5VE5HO4A . You are receiving this because you authored the thread.Message ID: @.***>

kariharju commented 3 weeks ago

Comment by kariharju Friday May 06, 2022 at 06:06 GMT


Hi, This seems odd; the only thing that comes to mind is something broken during the download of the micromamba executable.

So maybe the first test is the micromamba executable working at all:

In any case delete the executable and restart VS Code, RCC will retrieve micromamba if it is missing. If you hit the problem again you should use the Submit Issue to Robocorp function via command-palette, because that will provide us the logs for the extension to see what is going on.

kariharju commented 3 weeks ago

Comment by shihabkb Tuesday May 10, 2022 at 03:38 GMT


Thank you for your response. When I tried the command ./micromamba --version I was getting the below error.

Shihabs-MacBook-Pro-3:bin shihabkb$ ./micromamba --version
dyld: Symbol not found: __ZNSt19bad_optional_accessD1Ev
  Referenced from: /Users/shihabkb/.robocorp/bin/./micromamba
  Expected in: /usr/lib/libc++.1.dylib
 in /Users/shihabkb/.robocorp/bin/./micromamba
Abort trap: 6

after I opened the VS Code and did the same steps mentioned in the tutorial, I an getting the same old error log.

Activating Robocorp Code extension.
Error disabling python terminal activate environment.
    Unable to write to Workspace Settings because python.terminal.activateEnvironment is not a registered configuration.
    Error: Unable to write to Workspace Settings because python.terminal.activateEnvironment is not a registered configuration.
        at b.toConfigurationEditingError (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/A81D3B30-4115-4231-A233-E161E7EAE113/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2611:12734)
        at b.validate (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/A81D3B30-4115-4231-A233-E161E7EAE113/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2611:15602)
        at b.doWriteConfiguration (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/A81D3B30-4115-4231-A233-E161E7EAE113/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2611:9059)
        at Object.factory (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/A81D3B30-4115-4231-A233-E161E7EAE113/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2611:8915)
        at T.consume (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/A81D3B30-4115-4231-A233-E161E7EAE113/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:71:15885)
        at vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/A81D3B30-4115-4231-A233-E161E7EAE113/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:71:15700
        at new Promise (<anonymous>)
        at T.queue (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/A81D3B30-4115-4231-A233-E161E7EAE113/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:71:15624)
        at b.writeConfiguration (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/A81D3B30-4115-4231-A233-E161E7EAE113/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2611:8884)
        at O.writeConfigurationValue (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/A81D3B30-4115-4231-A233-E161E7EAE113/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2611:41744)
        at vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/A81D3B30-4115-4231-A233-E161E7EAE113/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2611:27470
        at Array.map (<anonymous>)
        at O.updateValue (vscode-file://vscode-app/private/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/AppTranslocation/A81D3B30-4115-4231-A233-E161E7EAE113/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2611:27458)
        at processTicksAndRejections (node:internal/process/task_queues:96:5)
Waiting for Robocorp Code (python) language server to finish activating...
ROBOCORP_HOME: /Users/shihabkb/.robocorp
Executing: /Users/shihabkb/.vscode/extensions/robocorp.robocorp-code-0.32.0/bin/rcc configure diagnostics -j --controller RobocorpCode
RCC Diagnostics:
Stdout:
{
  "details": {
    "RCC_VERBOSE_ENVIRONMENT_BUILDING": "false",
    "ROBOCORP_HOME": "/Users/shihabkb/.robocorp",
    "ROBOCORP_OVERRIDE_SYSTEM_REQUIREMENTS": "false",
    "config-active-profile": "default",
    "config-http-proxy": "",
    "config-https-proxy": "",
    "config-micromambarc-used": "false",
    "config-piprc-used": "false",
    "config-settings-yaml-used": "false",
    "config-ssl-no-revoke": "false",
    "config-ssl-verify": "true",
    "controller": "rcc.robocorpcode",
    "cpus": "8",
    "executable": "/Users/shihabkb/.vscode/extensions/robocorp.robocorp-code-0.32.0/bin/rcc",
    "installationId": "9be5b744-8abf-c6c3-b682-2d558125e641",
    "micromamba": "fork/exec /Users/shihabkb/.robocorp/bin/micromamba: no such file or directory",
    "os": "darwin_amd64",
    "rcc": "v11.9.16",
    "stats": "3 requests, 0 merges, 0 hits, 0 dirty, 0 misses, 3 failures | 9be5b744-8abf-c6c3-b682-2d558125e641",
    "telemetry-enabled": "true",
    "tempdir": "/var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/",
    "uid:gid": "501:20",
    "user-agent": "rcc/v11.9.16 (darwin amd64) rcc.robocorpcode",
    "user-cache-dir": "/Users/shihabkb/Library/Caches",
    "user-config-dir": "/Users/shihabkb/Library/Application Support",
    "user-home-dir": "/Users/shihabkb",
    "when": "2022-05-10T08:59:19+05:30 (IST)",
    "working-dir": "/Users/shihabkb/.vscode/extensions/robocorp.robocorp-code-0.32.0/bin"
  },
  "checks": [
    {
      "type": "RPA",
      "status": "ok",
      "message": "ROBOCORP_HOME (/Users/shihabkb/.robocorp) is good enough.",
      "url": "https://robocorp.com/docs/troubleshooting"
    },
    {
      "type": "OS",
      "status": "ok",
      "message": "PYTHONPATH is not set, which is good.",
      "url": "https://robocorp.com/docs/troubleshooting"
    },
    {
      "type": "OS",
      "status": "ok",
      "message": "PLAYWRIGHT_BROWSERS_PATH is not set, which is good.",
      "url": "https://robocorp.com/docs/troubleshooting"
    },
    {
      "type": "OS",
      "status": "ok",
      "message": "NODE_OPTIONS is not set, which is good.",
      "url": "https://robocorp.com/docs/troubleshooting"
    },
    {
      "type": "OS",
      "status": "ok",
      "message": "NODE_PATH is not set, which is good.",
      "url": "https://robocorp.com/docs/troubleshooting"
    },
    {
      "type": "OS",
      "status": "ok",
      "message": "Supports long enough paths.",
      "url": "https://robocorp.com/docs/troubleshooting/windows-long-path"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "api.eu1.robocorp.com found: [54.77.99.246 54.77.124.117 63.34.119.177]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "cloud.robocorp.com found: [108.128.173.184 63.33.139.38 34.249.245.73]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "conda.anaconda.org found: [104.17.92.24 104.17.93.24 2606:4700::6811:5c18 2606:4700::6811:5d18]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "downloads.robocorp.com found: [13.33.146.106 13.33.146.39 13.33.146.54 13.33.146.15 2600:9000:20bd:4c00:18:cd0d:3c00:93a1 2600:9000:20bd:7800:18:cd0d:3c00:93a1 2600:9000:20bd:5200:18:cd0d:3c00:93a1 2600:9000:20bd:f800:18:cd0d:3c00:93a1 2600:9000:20bd:2a00:18:cd0d:3c00:93a1 2600:9000:20bd:a00:18:cd0d:3c00:93a1 2600:9000:20bd:a200:18:cd0d:3c00:93a1 2600:9000:20bd:e400:18:cd0d:3c00:93a1]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "files.pythonhosted.org found: [199.232.253.63 2a04:4e42:fd3::319]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "github.com found: [13.234.176.102]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "id.robocorp.com found: [13.33.146.10 13.33.146.24 13.33.146.7 13.33.146.3 2600:9000:20bd:5800:8:29ad:bc00:93a1 2600:9000:20bd:1600:8:29ad:bc00:93a1 2600:9000:20bd:200:8:29ad:bc00:93a1 2600:9000:20bd:da00:8:29ad:bc00:93a1 2600:9000:20bd:ea00:8:29ad:bc00:93a1 2600:9000:20bd:be00:8:29ad:bc00:93a1 2600:9000:20bd:ce00:8:29ad:bc00:93a1 2600:9000:20bd:4c00:8:29ad:bc00:93a1]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "pypi.org found: [151.101.192.223 151.101.128.223 151.101.64.223 151.101.0.223 2a04:4e42:600::223 2a04:4e42::223 2a04:4e42:400::223 2a04:4e42:200::223]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "robocorp.com found: [104.22.40.65 172.67.7.153 104.22.41.65 2606:4700:10::6816:2841 2606:4700:10::6816:2941 2606:4700:10::ac43:799]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "telemetry.robocorp.com found: [18.202.39.65 34.248.36.69]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "Canary download successful: https://downloads.robocorp.com/canary.txt",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "PyPI canary download successful: https://pypi.org/jupyterlab-pygments/",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "Conda canary download successful: https://conda.anaconda.org/conda-forge/linux-64/repodata.json",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "Settings",
      "status": "ok",
      "message": "Toplevel settings are ok.",
      "url": ""
    }
  ]
}

Stderr:
OK.

Took 2.5s to obtain diagnostics.
Executing: /Users/shihabkb/.vscode/extensions/robocorp.robocorp-code-0.32.0/bin/rcc holotree variables --space vscode-base-v01-e1583d --json /Users/shihabkb/.vscode/extensions/robocorp.robocorp-code-0.32.0/bin/create_env/conda_vscode_darwin_amd64.yaml --controller RobocorpCode
####  Progress: 01/13  v11.9.16     0.003s  Fresh holotree environment 9be5b744-8abf-c6c3-b682-2d558125e641.
####  Progress: 02/13  v11.9.16     0.000s  Holotree blueprint is "757e16c5c6df1f7a".
####  Progress: 03/13  v11.9.16     0.000s  Cleanup holotree stage for fresh install.
####  Progress: 04/13  v11.9.16     0.001s  Build environment into holotree stage.
FINAL union conda environment descriptor:
---
channels:
- conda-forge
dependencies:
- python=3.8.10
- pip=20.1
- python.app=1.3
- pip:
  - robocorp-inspector==0.6.5
  - robotframework==4.1
---
Downloading micromamba, this may take awhile ...
Making micromamba executable ...
####  Progress: 05/13  v11.9.16     2.646s  Running micromamba phase.
Fatal [Micromamba [-1/-1]]: signal: abort trap
---  installation plan "b9cd51665955cbe9" 2022-05-10T08:59:24+05:30 [force: false, fresh: true| rcc v11.9.16]  ---

---  plan blueprint @0.000s  ---

channels:
- conda-forge
dependencies:
- python=3.8.10
- pip=20.1
- python.app=1.3
- pip:
  - robocorp-inspector==0.6.5
  - robotframework==4.1

---  micromamba plan @0.000s  ---

dyld: Symbol not found: __ZNSt19bad_optional_accessD1Ev
  Referenced from: /Users/shihabkb/.robocorp/bin/micromamba
  Expected in: /usr/lib/libc++.1.dylib
 in /Users/shihabkb/.robocorp/bin/micromamba

[N] Retry! First try failed ... now retrying with debug and force options!
[D] Sending metric as https://telemetry.robocorp.com//metric-v1/rcc.robocorpcode/1652153364987081000/9be5b744-8abf-c6c3-b682-2d558125e641/rcc.env.creation.retry/v11.9.16
[D] Setting up new conda environment using /var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/conda_6279dc12.yaml to folder /Users/shihabkb/.robocorp/holotree/h0cc3ca830dec7f56t
[N] ####  Progress: 05/13  v11.9.16     0.169s  Running micromamba phase.
[D] ===  micromamba create phase ===
[D] PID #7164 is "/Users/shihabkb/.robocorp/bin/micromamba create --always-copy --no-env --safety-checks enabled --extra-safety-checks --retry-clean-cache --strict-channel-priority --repodata-ttl 0 -y -f /var/folders/w4/2w4rsdcs70l1hrrspgk_0bzm0000gn/T/conda_6279dc12.yaml -p /Users/shihabkb/.robocorp/holotree/h0cc3ca830dec7f56t --verbose --no-rc".
[D] PID #7164 finished: signal: abort trap.
[D] BackgroundMetric kind:rcc.robocorpcode name:rcc.env.fatal.micromamba value:-1_-1 send:true
Fatal [Micromamba [-1/-1]]: signal: abort trap
[D] Sending metric as https://telemetry.robocorp.com//metric-v1/rcc.robocorpcode/1652153365045474000/9be5b744-8abf-c6c3-b682-2d558125e641/rcc.env.fatal.micromamba/-1_-1
[N] ---  installation plan "b9cd51665955cbe9" 2022-05-10T08:59:24+05:30 [force: true, fresh: true| rcc v11.9.16]  ---

---  plan blueprint @0.000s  ---

channels:
- conda-forge
dependencies:
- python=3.8.10
- pip=20.1
- python.app=1.3
- pip:
  - robocorp-inspector==0.6.5
  - robotframework==4.1

---  micromamba plan @0.000s  ---

dyld: Symbol not found: __ZNSt19bad_optional_accessD1Ev
  Referenced from: /Users/shihabkb/.robocorp/bin/micromamba
  Expected in: /usr/lib/libc++.1.dylib
 in /Users/shihabkb/.robocorp/bin/micromamba

[N] ####  Progress: 13/13  v11.9.16     0.071s  Fresh holotree done [with 7 workers].
[D] Marked "/Users/shihabkb/.robocorp/temp/4d65822107fce6ab" for recycling.
[N] Failed to create environment, reason Could not create environment..
[D] wait telemetry to complete
[D] #1 PUT https://telemetry.robocorp.com/metric-v1/rcc.robocorpcode/1652153364816655000/9be5b744-8abf-c6c3-b682-2d558125e641/rcc.micromamba.download/v11.9.16 => 202 (ignore)
[D] #2 PUT https://telemetry.robocorp.com/metric-v1/rcc.robocorpcode/1652153364816805000/9be5b744-8abf-c6c3-b682-2d558125e641/rcc.micromamba.install/v11.9.16 => 202 (ignore)
[D] #3 PUT https://telemetry.robocorp.com/metric-v1/rcc.robocorpcode/1652153364985973000/9be5b744-8abf-c6c3-b682-2d558125e641/rcc.env.fatal.micromamba/-1_-1 => 202 (ignore)
[D] #4 PUT https://telemetry.robocorp.com/metric-v1/rcc.robocorpcode/1652153364987081000/9be5b744-8abf-c6c3-b682-2d558125e641/rcc.env.creation.retry/v11.9.16 => 202 (ignore)
[D] #5 PUT https://telemetry.robocorp.com/metric-v1/rcc.robocorpcode/1652153365045474000/9be5b744-8abf-c6c3-b682-2d558125e641/rcc.env.fatal.micromamba/-1_-1 => 202 (ignore)
[D] telemetry sending completed
Error executing: /Users/shihabkb/.vscode/extensions/robocorp.robocorp-code-0.32.0/bin/rcc holotree variables --space vscode-base-v01-e1583d --json /Users/shihabkb/.vscode/extensions/robocorp.robocorp-code-0.32.0/bin/create_env/conda_vscode_darwin_amd64.yaml --controller RobocorpCode
Error code: undefined
Error: error
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
[Error - 8:59:25 AM] Starting client failed
[object Object]
Error initializing Robocorp code.
Robocorp Code initialization finished. Took: 5.9s
kariharju commented 3 weeks ago

Comment by fabioz Tuesday May 10, 2022 at 12:55 GMT


@shihabkb what version of Mac OS are you using?

kariharju commented 3 weeks ago

Comment by shihabkb Wednesday May 11, 2022 at 03:11 GMT


Mac OS - 10.12.6 (16G2136)

I have the same issue in my windows10 also.

kariharju commented 3 weeks ago

Comment by fabioz Wednesday May 11, 2022 at 10:00 GMT


Mac OS - 10.12.6 (16G2136)

I have the same issue in my windows10 also.

I believe that'd be a different issue on Windows.

For Mac I believe the version you're using is too old (10.12 is from 2016) -- micromamba is presumably compiled in a much newer version of Mac, thus the incompatibility. @kariharju @vjmp can you confirm whether this is the case...

Can you provide the contents below from Windows 10?

OUTPUT > Robot Framework OUTPUT > Robocorp Code

when it fails on Windows10?

kariharju commented 3 weeks ago

Comment by shihabkb Wednesday May 11, 2022 at 10:10 GMT


Yes, you are right. In windows (my office laptop) I can see a 403 error during downloading micromamba. But when I put the micromamba download URL in the browser, first is asking me to proceed or not. When I click on continue, it downloads micromamba.exe.

Below is the log (windows10) for your reference.

Activating Robocorp Code extension.
Waiting for Robocorp Code (python) language server to finish activating...
Executing: c:\Users\u34415.USTR\.vscode\extensions\robocorp.robocorp-code-0.32.0\bin\rcc.exe configure longpaths
Windows long paths support enabled
ROBOCORP_HOME: C:\Users\u34415.USTR\AppData\Local\robocorp
Executing: c:\Users\u34415.USTR\.vscode\extensions\robocorp.robocorp-code-0.32.0\bin\rcc.exe configure diagnostics -j --controller RobocorpCode
RCC Diagnostics:
Stdout:
{
  "details": {
    "RCC_VERBOSE_ENVIRONMENT_BUILDING": "false",
    "ROBOCORP_HOME": "C:\\Users\\u34415.USTR\\AppData\\Local\\robocorp",
    "ROBOCORP_OVERRIDE_SYSTEM_REQUIREMENTS": "false",
    "config-active-profile": "default",
    "config-http-proxy": "",
    "config-https-proxy": "",
    "config-micromambarc-used": "false",
    "config-piprc-used": "false",
    "config-settings-yaml-used": "false",
    "config-ssl-no-revoke": "false",
    "config-ssl-verify": "true",
    "controller": "rcc.robocorpcode",
    "cpus": "8",
    "executable": "c:\\Users\\u34415.USTR\\.vscode\\extensions\\robocorp.robocorp-code-0.32.0\\bin\\rcc.exe",
    "installationId": "5925c67c-5dee-9159-0d53-07ae9c1f0d45",
    "micromamba": "exec: \"C:\\\\Users\\\\u34415.USTR\\\\AppData\\\\Local\\\\robocorp\\\\bin\\\\micromamba.exe\": file does not exist",
    "os": "windows_amd64",
    "rcc": "v11.9.16",
    "stats": "5 requests, 0 merges, 0 hits, 0 dirty, 0 misses, 0 failures | 5925c67c-5dee-9159-0d53-07ae9c1f0d45",
    "telemetry-enabled": "true",
    "tempdir": "C:\\Users\\U34415~1.UST\\AppData\\Local\\Temp",
    "uid:gid": "S-1-5-21-3314194823-2298894341-969725918-409886:S-1-5-21-3314194823-2298894341-969725918-513",
    "user-agent": "rcc/v11.9.16 (windows amd64) rcc.robocorpcode",
    "user-cache-dir": "C:\\Users\\u34415.USTR\\AppData\\Local",
    "user-config-dir": "C:\\Users\\u34415.USTR\\AppData\\Roaming",
    "user-home-dir": "C:\\Users\\u34415.USTR",
    "when": "2022-05-11T15:32:24+05:30 (IST)",
    "working-dir": "c:\\Users\\u34415.USTR\\.vscode\\extensions\\robocorp.robocorp-code-0.32.0\\bin"
  },
  "checks": [
    {
      "type": "RPA",
      "status": "ok",
      "message": "ROBOCORP_HOME (C:\\Users\\u34415.USTR\\AppData\\Local\\robocorp) is good enough.",
      "url": "https://robocorp.com/docs/troubleshooting"
    },
    {
      "type": "OS",
      "status": "ok",
      "message": "PYTHONPATH is not set, which is good.",
      "url": "https://robocorp.com/docs/troubleshooting"
    },
    {
      "type": "OS",
      "status": "ok",
      "message": "PLAYWRIGHT_BROWSERS_PATH is not set, which is good.",
      "url": "https://robocorp.com/docs/troubleshooting"
    },
    {
      "type": "OS",
      "status": "ok",
      "message": "NODE_OPTIONS is not set, which is good.",
      "url": "https://robocorp.com/docs/troubleshooting"
    },
    {
      "type": "OS",
      "status": "ok",
      "message": "NODE_PATH is not set, which is good.",
      "url": "https://robocorp.com/docs/troubleshooting"
    },
    {
      "type": "OS",
      "status": "ok",
      "message": "Supports long enough paths.",
      "url": "https://robocorp.com/docs/troubleshooting/windows-long-path"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "api.eu1.robocorp.com found: [34.248.7.248 54.75.84.34 54.77.66.188 52.49.107.171 52.211.203.96 34.248.183.211]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "cloud.robocorp.com found: [34.249.245.73 108.128.173.184 63.33.139.38]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "conda.anaconda.org found: [104.17.93.24 104.17.92.24]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "downloads.robocorp.com found: [108.158.251.109 108.158.251.81 108.158.251.70 108.158.251.121]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "files.pythonhosted.org found: [151.101.157.63]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "github.com found: [13.234.210.38]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "id.robocorp.com found: [13.33.146.10 13.33.146.3 13.33.146.24 13.33.146.7]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "pypi.org found: [151.101.192.223 151.101.128.223 151.101.0.223 151.101.64.223]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "robocorp.com found: [104.22.41.65 104.22.40.65 172.67.7.153]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "telemetry.robocorp.com found: [34.248.36.69 18.202.39.65]",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "Canary download successful: https://downloads.robocorp.com/canary.txt",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "PyPI canary download successful: https://pypi.org/jupyterlab-pygments/",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "network",
      "status": "ok",
      "message": "Conda canary download successful: https://conda.anaconda.org/conda-forge/linux-64/repodata.json",
      "url": "https://robocorp.com/docs/troubleshooting/firewall-and-proxies"
    },
    {
      "type": "Settings",
      "status": "ok",
      "message": "Toplevel settings are ok.",
      "url": ""
    }
  ]
}

Stderr:
OK.

Took 6.3s to obtain diagnostics.
Executing: c:\Users\u34415.USTR\.vscode\extensions\robocorp.robocorp-code-0.32.0\bin\rcc.exe holotree variables --space vscode-base-v01-e6a801 --json c:\Users\u34415.USTR\.vscode\extensions\robocorp.robocorp-code-0.32.0\bin\create_env\conda_vscode_windows_amd64.yaml --controller RobocorpCode
####  Progress: 01/13  v11.9.16     0.052s  Fresh holotree environment 5925c67c-5dee-9159-0d53-07ae9c1f0d45.
####  Progress: 02/13  v11.9.16     0.002s  Holotree blueprint is "2d95df0bd92d1b9d".
####  Progress: 03/13  v11.9.16     0.002s  Cleanup holotree stage for fresh install.
####  Progress: 04/13  v11.9.16     0.004s  Build environment into holotree stage.
FINAL union conda environment descriptor:
---
channels:
- conda-forge
dependencies:
- python=3.8.10
- pip=20.1
- pywin32=303
- pip:
  - robocorp-inspector==0.6.5
  - robotframework==4.1
---
Downloading micromamba, this may take awhile ...
Fatal [Download]: Downloading "https://downloads.robocorp.com/micromamba/v0.22.0/windows64/micromamba.exe" failed, reason: "403 Forbidden"!
Downloading micromamba, this may take awhile ...
Fatal [Download]: Downloading "https://downloads.robocorp.com/micromamba/v0.22.0/windows64/micromamba.exe" failed, reason: "403 Forbidden"!
Downloading micromamba, this may take awhile ...
Fatal [Download]: Downloading "https://downloads.robocorp.com/micromamba/v0.22.0/windows64/micromamba.exe" failed, reason: "403 Forbidden"!
####  Progress: 13/13  v11.9.16     6.446s  Fresh holotree done [with 7 workers].
Failed to create environment, reason Could not get micromamba installed..
Error executing: c:\Users\u34415.USTR\.vscode\extensions\robocorp.robocorp-code-0.32.0\bin\rcc.exe holotree variables --space vscode-base-v01-e6a801 --json c:\Users\u34415.USTR\.vscode\extensions\robocorp.robocorp-code-0.32.0\bin\create_env\conda_vscode_windows_amd64.yaml --controller RobocorpCode
Error code: undefined
Error: error
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
[Error - 3:32:37 pm] Starting client failed
[object Object]
Error initializing Robocorp code.
Robocorp Code initialization finished. Took: 14.4s
kariharju commented 3 weeks ago

Comment by SebCoding007 Saturday May 21, 2022 at 00:52 GMT


I'm also facing this issue on Windows 10.0.19044 after installing Robocorp.

I've tried using the pre-release versions of both Robocorp and Robot Framework Language Server, but it didn't change anything. I've also tried to manually update micromamba and rcc, but without any success.

After several hours, I finally solved my issue by setting custom values for channels , default_channels , and ssl_verify in %USERPROFILE%\.vscode\extensions\robocorp.robocorp-code-0.32.1\bin\create_env\conda_vscode_windows_amd64.yaml.

I also tried adding my custom values into these files, but the settings were ignored:

Note that these configuration files are ignored when Robocorp is installing:

I've also tried to set robocorp.rcc.config_location in .vscode\settings.json but it didn't work.

It would be important to be able to override default channel configuration used by Robocorp. I would like to deploy a default config with the project's sources.

Robocorp Log

Robocorp.log

Robot Framework Language Server Logs

Robot Framework.log

I hope this helps.

kariharju commented 3 weeks ago

Comment by Dhavalc2012 Thursday Feb 09, 2023 at 04:13 GMT


Symbol issue might be refering to unicode issue in general. See if following helps you : https://robocorp.com/docs/troubleshooting/windows-codepage