I am trying to delete the empty project 3 (P3).
Doing that I got an error -
=================================
Unable to delete P3: ServerError: validation error: lock file for P3 at /data/caroline/P3/cs.lock absent or otherwise inaccessible.
=================================
When trying cryosparcm cli "take_over_project('P3')"
The result is
[cryosparc_user@lvx0862 ~]$ cryosparcm cli "take_over_project('P3')"
Error for "take_over_project" with params ('P3',):
ServerError: [Errno 2] No such file or directory: '/data/caroline/P3/cs.lock'
Traceback (most recent call last):
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/cryosparc_command/commandcommon.py", line 200, in wrapper
res = func(*args, **kwargs)
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/cryosparc_command/command_core/__init__.py", line 8200, in take_over_project
write_lockfile(lockfile_path_abs)
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/cryosparc_command/command_core/__init__.py", line 8238, in write_lockfile
with open(lockfile_path_abs, 'w') as lockfile:
FileNotFoundError: [Errno 2] No such file or directory: '/data/caroline/P3/cs.lock'
Briefly, the original idea was to more the data on another drive.
But the moving was done as copy/paste.
And the project was removed from /data/caroline/P3
But is seems that the lock and the project image is still in CS.
Is there a way to fix the lock?
Assign back the data existing on the other drive?