Summary of what happened:
I am running QSIPrep but encountered this crash. Can anyone please guide what file is missing or where exactly i need to do correction? I attached part of the terminal blow where it started giving the error
Command used (and if a helper script was used, a link to the helper script or the command generated):
apptainer run qsiprep-0.19.1.sif \
/home/user1nrx/software_research/tractography/bids_dir \
/home/user1nrx/software_research/tractography/output_dir \
participant \
--output-resolution 1.2 \
--fs-license-file /home/user1nrx/software_research/tractography/freesurfer_license/license.txt
Version:
0.19.1
Environment (Docker, Singularity / Apptainer, custom installation):
Singularity / Apptainer
Data formatted according to a validatable standard? Please provide the output of the validator:
PASTE VALIDATOR OUTPUT HERE
Relevant log outputs (up to 20 lines):
Terminal:
[Node] Error on "qsiprep_wf.single_subject_01_wf.anat_preproc_wf.synthseg_anat_wf.synthseg" (/home/user1nrx/software_research/tractography/work/qsiprep_wf/single_subject_01_wf/anat_preproc_wf/synthseg_anat_wf/synthseg)
240220-11:40:11,250 nipype.workflow ERROR:
Node synthseg failed to run on host srv-imgrm-04.
240220-11:40:11,256 nipype.workflow ERROR:
Saving crash info to /home/user1nrx/software_research/tractography/output_dir/qsiprep/sub-01/log/20240220-112610_9288b6ab-7469-469c-94ce-c77d971964e1/crash-20240220-114011-user1nrx-synthseg-f1934210-52bf-406c-8ce9-2617ea97fc8d.txt
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/plugins/multiproc.py", line 67, in run_node
result["result"] = node.run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 527, in run
result = self._run_interface(execute=True)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 645, in _run_interface
return self._run_command(execute)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 771, in _run_command
raise NodeExecutionError(msg)
nipype.pipeline.engine.nodes.NodeExecutionError: Exception raised while executing Node synthseg.
Cmdline:
mri_synthseg --i /home/user1nrx/software_research/tractography/work/qsiprep_wf/single_subject_01_wf/anat_preproc_wf/pad_anat_reference_wf/resample_skulled_to_reference/sub-01_T1w_lps_trans.nii --threads 1 --post sub-01_T1w_lps_trans_post.nii.gz --qc sub-01_T1w_lps_trans_qc.csv --o sub-01_T1w_lps_trans_aseg.nii.gz
Stdout:
Stderr:
Killed
Traceback:
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/core.py", line 453, in aggregate_outputs
setattr(outputs, key, val)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/traits_extension.py", line 330, in validate
value = super(File, self).validate(objekt, name, value, return_pathlike=True)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/traits_extension.py", line 135, in validate
self.error(objekt, name, str(value))
File "/usr/local/miniconda/lib/python3.8/site-packages/traits/base_trait_handler.py", line 74, in error
raise TraitError(
traits.trait_errors.TraitError: The 'out_seg' trait of a _SynthSegOutputSpec instance must be a pathlike object or string representing an existing file, but a value of '/home/user1nrx/software_research/tractography/work/qsiprep_wf/single_subject_01_wf/anat_preproc_wf/synthseg_anat_wf/synthseg/sub-01_T1w_lps_trans_aseg.nii.gz' <class 'str'> was specified.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/core.py", line 400, in run
outputs = self.aggregate_outputs(runtime)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/core.py", line 460, in aggregate_outputs
raise FileNotFoundError(msg)
FileNotFoundError: No such file or directory '/home/user1nrx/software_research/tractography/work/qsiprep_wf/single_subject_01_wf/anat_preproc_wf/synthseg_anat_wf/synthseg/sub-01_T1w_lps_trans_aseg.nii.gz' for output 'out_seg' of a SynthSeg interface
QSIPrep failed: Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/plugins/multiproc.py", line 67, in run_node
result["result"] = node.run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 527, in run
result = self._run_interface(execute=True)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 645, in _run_interface
return self._run_command(execute)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 771, in _run_command
raise NodeExecutionError(msg)
nipype.pipeline.engine.nodes.NodeExecutionError: Exception raised while executing Node synthseg.
Cmdline:
mri_synthseg --i /home/user1nrx/software_research/tractography/work/qsiprep_wf/single_subject_01_wf/anat_preproc_wf/pad_anat_reference_wf/resample_skulled_to_reference/sub-01_T1w_lps_trans.nii --threads 1 --post sub-01_T1w_lps_trans_post.nii.gz --qc sub-01_T1w_lps_trans_qc.csv --o sub-01_T1w_lps_trans_aseg.nii.gz
Stdout:
Stderr:
Killed
Traceback:
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/core.py", line 453, in aggregate_outputs
setattr(outputs, key, val)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/traits_extension.py", line 330, in validate
value = super(File, self).validate(objekt, name, value, return_pathlike=True)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/traits_extension.py", line 135, in validate
self.error(objekt, name, str(value))
File "/usr/local/miniconda/lib/python3.8/site-packages/traits/base_trait_handler.py", line 74, in error
raise TraitError(
traits.trait_errors.TraitError: The 'out_seg' trait of a _SynthSegOutputSpec instance must be a pathlike object or string representing an existing file, but a value of '/home/user1nrx/software_research/tractography/work/qsiprep_wf/single_subject_01_wf/anat_preproc_wf/synthseg_anat_wf/synthseg/sub-01_T1w_lps_trans_aseg.nii.gz' <class 'str'> was specified.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/core.py", line 400, in run
outputs = self.aggregate_outputs(runtime)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/core.py", line 460, in aggregate_outputs
raise FileNotFoundError(msg)
FileNotFoundError: No such file or directory '/home/user1nrx/software_research/tractography/work/qsiprep_wf/single_subject_01_wf/anat_preproc_wf/synthseg_anat_wf/synthseg/sub-01_T1w_lps_trans_aseg.nii.gz' for output 'out_seg' of a SynthSeg interface
Traceback (most recent call last):
File "/usr/local/miniconda/bin/qsiprep", line 8, in <module>
sys.exit(main())
File "/usr/local/miniconda/lib/python3.8/site-packages/qsiprep/cli/run.py", line 677, in main
qsiprep_wf.run(**plugin_settings)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/workflows.py", line 638, in run
runner.run(execgraph, updatehash=updatehash, config=self.config)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/plugins/base.py", line 178, in run
self._clean_queue(jobid, graph, result=result)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/plugins/base.py", line 256, in _clean_queue
raise RuntimeError("".join(result["traceback"]))
RuntimeError: Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/plugins/multiproc.py", line 67, in run_node
result["result"] = node.run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 527, in run
result = self._run_interface(execute=True)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 645, in _run_interface
return self._run_command(execute)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 771, in _run_command
raise NodeExecutionError(msg)
nipype.pipeline.engine.nodes.NodeExecutionError: Exception raised while executing Node synthseg.
Cmdline:
mri_synthseg --i /home/user1nrx/software_research/tractography/work/qsiprep_wf/single_subject_01_wf/anat_preproc_wf/pad_anat_reference_wf/resample_skulled_to_reference/sub-01_T1w_lps_trans.nii --threads 1 --post sub-01_T1w_lps_trans_post.nii.gz --qc sub-01_T1w_lps_trans_qc.csv --o sub-01_T1w_lps_trans_aseg.nii.gz
Stdout:
Stderr:
Killed
Traceback:
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/core.py", line 453, in aggregate_outputs
setattr(outputs, key, val)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/traits_extension.py", line 330, in validate
value = super(File, self).validate(objekt, name, value, return_pathlike=True)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/traits_extension.py", line 135, in validate
self.error(objekt, name, str(value))
File "/usr/local/miniconda/lib/python3.8/site-packages/traits/base_trait_handler.py", line 74, in error
raise TraitError(
traits.trait_errors.TraitError: The 'out_seg' trait of a _SynthSegOutputSpec instance must be a pathlike object or string representing an existing file, but a value of '/home/user1nrx/software_research/tractography/work/qsiprep_wf/single_subject_01_wf/anat_preproc_wf/synthseg_anat_wf/synthseg/sub-01_T1w_lps_trans_aseg.nii.gz' <class 'str'> was specified.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/core.py", line 400, in run
outputs = self.aggregate_outputs(runtime)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/core.py", line 460, in aggregate_outputs
raise FileNotFoundError(msg)
FileNotFoundError: No such file or directory '/home/user1nrx/software_research/tractography/work/qsiprep_wf/single_subject_01_wf/anat_preproc_wf/synthseg_anat_wf/synthseg/sub-01_T1w_lps_trans_aseg.nii.gz' for output 'out_seg' of a SynthSeg interface
240220-11:45:32,271 nipype.workflow INFO:
[Node] Finished "synthseg", elapsed time 496.794309s.
240220-11:45:32,276 nipype.workflow WARNING:
Storing result file without outputs
240220-11:45:32,280 nipype.workflow WARNING:
[Node] Error on "qsiprep_wf.single_subject_02_wf.anat_preproc_wf.synthseg_anat_wf.synthseg" (/home/user1nrx/software_research/tractography/work/qsiprep_wf/single_subject_02_wf/anat_preproc_wf/synthseg_anat_wf/synthseg)
240220-11:49:30,312 nipype.workflow INFO:
[Node] Finished "synthseg", elapsed time 694.807802s.
240220-11:51:15,554 nipype.workflow INFO:
[Node] Finished "synthseg", elapsed time 697.937542s.```
### Screenshots / relevant information:
<!-- Below this line, provide any other information that might be meaningful. This could be screenshots, troubleshooting steps you have tried, or information about your operating system, etc. -->
_____