Unable to create robot or run existing process

I haven’t been able to create any new robot or run exiting ones. Every time I try to do so it results in the following error

Robocorp Code: Unable to create environment

There was an error creating the environment for:

“d:\Robot Framework\Signature Status\Test\B_Source Code\Signature Status V1.2\conda.yaml”

The full output to diagnose the issue is shown below.
The most common reasons and fixes for this failure are:

  1. Dependencies specified are not resolvable.

    In this case, open “d:\Robot Framework\Signature Status\Test\B_Source Code\Signature Status V1.2\conda.yaml”
    and update the dependencies accordingly (after saving
    the environment will be automatically updated).

  2. There’s some intermittent network failure or some active firewall.

    In this case, fix the network connectivity issue and chose one of the options below:

    • Retry restarting VSCode using the command:

      “Developer: Reload Window”

    • Clear all environments and restart Robocorp code (advised if you suspect
      that some environment was partially created and is corrupt):

      “Robocorp: Clear Robocorp (RCC) environments and restart Robocorp Code”

If you still can’t get it to work, please submit an issue to Robocorp using the command:

“Robocorp: Submit issue to Robocorp”.

Full error message

Error running: c:\Users\srikanth.ms.vscode\extensions\robocorp.robocorp-code-1.11.2-win32-x64\bin\rcc.exe holotree variables --space vscode-04 “d:\Robot Framework\Signature Status\Test\B_Source Code\Signature Status V1.2\conda.yaml” --json --controller RobocorpCode.
ROBOCORP_HOME: None

Stdout:
Stderr: #### Progress: 01/15 v16.5.0 0.346s Fresh [shared mode] holotree environment ad9fc00e-5ad8-c932-8379-4a0ca6229d39. (parent/pid: 12024/17004)

Progress: 02/15 v16.5.0 0.012s Holotree blueprint is “14fbe7f9ff68b46a” [windows_amd64 with 7 workers on 8 CPUs].

FINAL unified conda environment descriptor:

channels:

  • conda-forge
    dependencies:
  • python=3.9.13
  • pip=23.2.1
  • beautifulsoup4=4.12.2
  • pip:
    • rpaframework==27.2.0
    • rpaframework-dialogs==4.0.4

Progress: 14/15 v16.5.0 0.353s Restore space from library [with 7 workers on 8 CPUs].

Recovering “process” #4: gzip: invalid checksum

Progress: 15/15 v16.5.0 1.348s Holotree restoration failure, see above [with 7 workers on 8 CPUs].

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@ From rcc point of view, “environment creation” was FAILURE, reason: “Failed to restore blueprint "channels:\n- conda-forge\ndependencies:\n- python=3.9.13\n- pip=23.2.1\n- beautifulsoup4=4.12.2\n- pip:\n - rpaframework==27.2.0\n - rpaframework-dialogs==4.0.4", reason: Failed to restore directories → There has been 1 failures. See messages above.”. See details above. @@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Failed to restore blueprint “channels:\n- conda-forge\ndependencies:\n- python=3.9.13\n- pip=23.2.1\n- beautifulsoup4=4.12.2\n- pip:\n - rpaframework==27.2.0\n - rpaframework-dialogs==4.0.4”, reason: Failed to restore directories → There has been 1 failures. See messages above.
[rcc] exit status will be: 6!

Error running: c:\Users\srikanth.ms.vscode\extensions\robocorp.robocorp-code-1.11.2-win32-x64\bin\rcc.exe holotree variables --space vscode-04 “d:\Robot Framework\Signature Status\Test\B_Source Code\Signature Status V1.2\conda.yaml” --json --controller RobocorpCode.
ROBOCORP_HOME: None

Stdout:
Stderr: #### Progress: 01/15 v16.5.0 0.346s Fresh [shared mode] holotree environment ad9fc00e-5ad8-c932-8379-4a0ca6229d39. (parent/pid: 12024/17004)

Progress: 02/15 v16.5.0 0.012s Holotree blueprint is “14fbe7f9ff68b46a” [windows_amd64 with 7 workers on 8 CPUs].

FINAL unified conda environment descriptor:

channels:

  • conda-forge
    dependencies:
  • python=3.9.13
  • pip=23.2.1
  • beautifulsoup4=4.12.2
  • pip:
    • rpaframework==27.2.0
    • rpaframework-dialogs==4.0.4

Progress: 14/15 v16.5.0 0.353s Restore space from library [with 7 workers on 8 CPUs].

Recovering “process” #4: gzip: invalid checksum

Progress: 15/15 v16.5.0 1.348s Holotree restoration failure, see above [with 7 workers on 8 CPUs].

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@ From rcc point of view, “environment creation” was FAILURE, reason: “Failed to restore blueprint "channels:\n- conda-forge\ndependencies:\n- python=3.9.13\n- pip=23.2.1\n- beautifulsoup4=4.12.2\n- pip:\n - rpaframework==27.2.0\n - rpaframework-dialogs==4.0.4", reason: Failed to restore directories → There has been 1 failures. See messages above.”. See details above. @@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Failed to restore blueprint “channels:\n- conda-forge\ndependencies:\n- python=3.9.13\n- pip=23.2.1\n- beautifulsoup4=4.12.2\n- pip:\n - rpaframework==27.2.0\n - rpaframework-dialogs==4.0.4”, reason: Failed to restore directories → There has been 1 failures. See messages above.
[rcc] exit status will be: 6!

This would indicate, that there are now corrupted files in hololib, and they cannot be restored.

Try to run command rcc holotree check --retries 5 from command line, then restart VSCode and see if that fixes the problem.

Thank you! that worked.

This topic was automatically closed 8 hours after the last reply. New replies are no longer allowed.