I need to delete a job from a deleted project. All job related data have been deleted at the filesystem level: the project was created on incorrect filesystem location and then was deleted after job submission.
I tried the cli command:
cryosparcm cli "set_job_status('P1', 'J2', 'killed')"
Encountered error for method "set_job_status" with params ('P1', 'J2', 'killed'):
ServerError: validation error: lock file for P1 not found at /home_local/cryosparc/username/P1/cs.lock
Traceback (most recent call last):
File "/home_local/cryosparc/cryosparc2_master/cryosparc_command/commandcommon.py", line 139, in wrapper
res = func(*args, **kwargs)
File "/home_local/cryosparc/cryosparc2_master/cryosparc_command/commandcommon.py", line 191, in wrapper
lockfile_path_abs), f"validation error: lock file for {project_uid} not found at {lockfile_path_abs}"
AssertionError: validation error: lock file for P1 not found at /home_local/cryosparc/username/P1/cs.lock
Creating cs.lock file is obviously insufficient to remove it as well.
Is there any low level database command to solve this ?
Thank you
JC