3D classification (beta) error message


this error comes up during the new 3D classification (beta) job.
Any idea what might be the problem?

All the best and thank you for this new feature!

[CPU: 5.09 GB]   Finished iteration 86 in 434.885s. Total time so far 11238.738s
[CPU: 6.26 GB]   Zipping files...
[CPU: 3.31 GB]   Traceback (most recent call last):
  File "cryosparc_worker/cryosparc_compute/run.py", line 85, in cryosparc_compute.run.main
  File "cryosparc_worker/cryosparc_compute/jobs/class3D/run.py", line 635, in cryosparc_compute.jobs.class3D.run.run_class_3D
  File "/home/cryosparcuser/cryosparc/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/subprocess.py", line 411, in check_output
  File "/home/cryosparcuser/cryosparc/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/subprocess.py", line 488, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/home/cryosparcuser/cryosparc/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/subprocess.py", line 800, in __init__
    restore_signals, start_new_session)
  File "/home/cryosparcuser/cryosparc/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/subprocess.py", line 1551, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'zip': 'zip'

just a guess, but looks like you are missing a dependency required for zipping outputs. Try installing zip using apt-get, yum, or the appropriate package manager for your system.

1 Like

Hi @gha,

+1 to @olibclarke’s suggestion above! Another thought: we use the same internal zipping procedure for the volume series output in the 3D Variability Display job. If that throws a similar error, then it’s almost certainly the zip dependency.

1 Like

Hi, the zip package was indeed missing on my worker. It is working now. Thank you!