Error when running two bots in parallel with rcc

I tried to run a robot in my machine when there was already another one running via ‘rcc run’ command. However the second bot didn’t run and threw error messages. Not sure how to solve this issue and have two bots(or more) in parallel via rcc run.

Error: Failed to restore blueprint "channels:\n- conda-forge\ndependencies:\n- p
ython=3.7.5\n- pip=20.1\n- tesseract=4.1.1\n- pip:\n - rpaframework==12.8.1\n

  • google-cloud-vision==2.6.2\n - nepali-datetime==1.0.7\n - pandas==1.3.5\n -
    xlsx2csv==0.7.8\n - numpy==1.21.5\n - xlsxwriter==3.0.3", reason: Failed to r
    estore directories → There has been 15 failures. See messages above.

Recovering “process” #1: Rename failure [dropfile, rcc.user, user, target], reas
on: rename C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\L
ibrary\bin\libssl-1_1-x64.dll.part#6.10844_b6d C:\Users\appuser\AppData\Local\ro
bocorp\holotree\5a1fac3c5_9fcd2534\Library\bin\libssl-1_1-x64.dll: Access is den
ied.
Recovering “process” #2: Rename failure [dropfile, rcc.user, user, target], reas
on: rename C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\L
ibrary\bin\libcrypto-1_1-x64.dll.part#4.10844_666 C:\Users\appuser\AppData\Local
\robocorp\holotree\5a1fac3c5_9fcd2534\Library\bin\libcrypto-1_1-x64.dll: Access
is denied.
Recovering “process” #0: Rename failure [dropfile, rcc.user, user, target], reas
on: rename C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\L
ib\site-packages\pywin32_system32\pythoncom37.dll.part#266.10844_b41 C:\Users\ap
puser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\Lib\site-packages\pywin
32_system32\pythoncom37.dll: Access is denied.
Recovering “process” #1: Rename failure [dropfile, rcc.user, user, target], reas
on: rename C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\L
ib\site-packages\pywin32_system32\pywintypes37.dll.part#268.10844_f78 C:\Users\a
ppuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\Lib\site-packages\pywi
n32_system32\pywintypes37.dll: Access is denied.
Recovering “process” #2: Rename failure [dropfile, rcc.user, user, target], reas
on: rename C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\L
ib\site-packages\google\protobuf\pyext_message.cp37-win_amd64.pyd.part#491.1084
4_a6a C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\Lib\si
te-packages\google\protobuf\pyext_message.cp37-win_amd64.pyd: Access is denied.
Recovering “process” #0: Rename failure [dropfile, rcc.user, user, target], reas
on: rename C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\L
ib\site-packages\google\protobuf\internal_api_implementation.cp37-win_amd64.pyd
.part#493.10844_f23 C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9
fcd2534\Lib\site-packages\google\protobuf\internal_api_implementation.cp37-win_
amd64.pyd: Access is denied.
Recovering “process” #1: Rename failure [dropfile, rcc.user, user, target], reas
on: rename C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\L
ib\site-packages\pythonwin\win32ui.pyd.part#690.10844_3d2 C:\Users\appuser\AppDa
ta\Local\robocorp\holotree\5a1fac3c5_9fcd2534\Lib\site-packages\pythonwin\win32u
i.pyd: Access is denied.
Recovering “process” #2: Rename failure [dropfile, rcc.user, user, target], reas
on: rename C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\L
ib\site-packages\win32_win32sysloader.pyd.part#975.10844_2fa C:\Users\appuser\A
ppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\Lib\site-packages\win32_win32
sysloader.pyd: Access is denied.
Recovering “process” #0: Rename failure [dropfile, rcc.user, user, target], reas
on: rename C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\L
ib\site-packages\win32\win32api.pyd.part#993.10844_8dc C:\Users\appuser\AppData
Local\robocorp\holotree\5a1fac3c5_9fcd2534\Lib\site-packages\win32\win32api.pyd:
Access is denied.
Recovering “process” #1: Rename failure [dropfile, rcc.user, user, target], reas
on: rename C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\L
ib\site-packages\win32\win32clipboard.pyd.part#996.10844_6d7 C:\Users\appuser\Ap
pData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\Lib\site-packages\win32\win32cl
ipboard.pyd: Access is denied.
Recovering “process” #2: Rename failure [dropfile, rcc.user, user, target], reas
on: rename C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\L
ib\site-packages\win32\win32event.pyd.part#1005.10844_388 C:\Users\appuser\AppDa
ta\Local\robocorp\holotree\5a1fac3c5_9fcd2534\Lib\site-packages\win32\win32event
.pyd: Access is denied.
Recovering “process” #0: Rename failure [dropfile, rcc.user, user, target], reas
on: rename C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\L
ib\site-packages\win32\win32gui.pyd.part#1012.10844_276 C:\Users\appuser\AppData
\Local\robocorp\holotree\5a1fac3c5_9fcd2534\Lib\site-packages\win32\win32gui.pyd
: Access is denied.
Recovering “process” #1: Rename failure [dropfile, rcc.user, user, target], reas
on: rename C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\L
ib\site-packages\win32\win32process.pyd.part#1034.10844_ef0 C:\Users\appuser\App
Data\Local\robocorp\holotree\5a1fac3c5_9fcd2534\Lib\site-packages\win32\win32pro
cess.pyd: Access is denied.
Recovering “process” #2: Rename failure [dropfile, rcc.user, user, target], reas
on: rename C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\L
ib\site-packages\win32\win32security.pyd.part#1037.10844_abe C:\Users\appuser\Ap
pData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\Lib\site-packages\win32\win32se
curity.pyd: Access is denied.
Recovering “process” #2: RemoveAll failure [directory, rcc.user, user], reason:
remove C:\Users\appuser\AppData\Local\robocorp\holotree\5a1fac3c5_9fcd2534\Lib\s
ite-packages\cv2\cv2.pyd: Access is denied.

Progress: 13/13 v11.4.3 14.476s Fresh holotree done [with 3 workers].

Due to windows file locking, you cannot run two robots concurrently in same space. You must use different spaces for each concurrent run.

You can do that by giving option --space for you robot runs with unique value:

  • first robot rcc run --space first
  • second robot rcc run --space second
  • and so on (so that you manage spaces that are given to robots)

Thank you so much for quick reply. Will try this. So the space name can be anything alphanumeric but unique for the space?