Skip to content

Permission denied to conda env while running pipeline.

I was running the pipeline version v0.2.0 and I got the following error:

(base) [marchet@login2 calcium_imaging_pipeline_with_nextflow]$ nextflow run main.nf -profile embl_hd,slurm -params-file
 params.yml -bg
Nextflow 25.04.6 is available - Please consider updating your version to it
(base) [marchet@login2 calcium_imaging_pipeline_with_nextflow]$ N E X T F L O W  ~  version 24.10.4
Launching `main.nf` [elated_monod] DSL2 - revision: 6ccf9396cb
[3f/63ac3b] Submitted process > CAIMAN_MOTION_CORRECTION:TESTVIDEOFORMAT (1)
[5f/22b18a] Submitted process > CAIMAN_MOTION_CORRECTION:TESTVIDEOFORMAT (2)
[03/b4a342] Submitted process > CAIMAN_MOTION_CORRECTION:SCALE (1)
[d8/7f88aa] Submitted process > CAIMAN_MOTION_CORRECTION:SCALE (2)
[68/b1a13c] Submitted process > CAIMAN_MOTION_CORRECTION:BACKGROUNDSUBTRACTION (1)
ERROR ~ Error executing process > 'CAIMAN_MOTION_CORRECTION:REMOVEBLACKFRAMES (1)'

Caused by:
  java.io.FileNotFoundException: /g/gross/nextflow/conda/.env-f1e5a0ccb9e2d475-9895e38907f9d374dbae4ee654a77107.lock (Permission denied)



 -- Check '.nextflow.log' file for details
WARN: Killing running tasks (1)

I was able to activate the same conda env:

(base) [marchet@login2 conda]$ conda activate env-a67eb3392df9f180-9895e38907f9d374dbae4ee654a77107/
(/g/gross/nextflow/conda/env-a67eb3392df9f180-9895e38907f9d374dbae4ee654a77107) [marchet@login2 conda]$

Thank you.