Skip to content

No such file or directory: 'result_bidssrc.pklz' #3081

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ebeanato opened this issue Oct 25, 2019 · 2 comments · Fixed by #3089
Closed

No such file or directory: 'result_bidssrc.pklz' #3081

ebeanato opened this issue Oct 25, 2019 · 2 comments · Fixed by #3089

Comments

@ebeanato
Copy link

Hello everyone,

Summary

I am running fmriprep on a remote server.

Actual behavior

During running, I have several time the same error:

"
Error while checking node hash, forcing re-run. Although this error may not prevent the workflow from running, it could indicate a major problem. Please report a new issue at https://github.com/nipy/nipype/issues adding the following information:

Node: fmriprep_wf.single_subject_p001_wf.bids_info
Interface: niworkflows.interfaces.bids.BIDSInfo
Traceback:
Traceback (most recent call last):

File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/base.py", line 337, in _local_hash_check
cached, updated = self.procs[jobid].is_cached()

File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 297, in is_cached
hashed_inputs, hashvalue = self._get_hashval()

File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 494, in _get_hashval
self._get_inputs()

File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 521, in _get_inputs
outputs = _load_resultfile(results_file)[0].outputs

File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 300, in load_resultfile
result = loadpkl(results_file)

File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/utils/filemanip.py", line 687, in loadpkl
pkl_file = pklopen(infile.name, 'rb')

File "/usr/local/miniconda/lib/python3.7/gzip.py", line 53, in open
binary_file = GzipFile(filename, gz_mode, compresslevel)

File "/usr/local/miniconda/lib/python3.7/gzip.py", line 163, in init
fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')

FileNotFoundError: [Errno 2] No such file or directory: 'result_bidssrc.pklz'
"

Script/Workflow details

The main command is: docker run --rm -e DOCKER_VERSION_8395080871=19.03.2 -v /opt/freesurfer/license.txt:/opt/freesurfer/license.txt:ro -v /path_to_data:/data:ro -v /path_to_data_output:/out poldracklab/fmriprep:1.5.0 /data /out participant --participant_label sub-p001 --fs-no-reconall

Thank you very much in advance!

@effigies
Copy link
Member

Sorry, I responded before I saw this was in the fMRIPrep context. Please try using fmriprep 1.5.1rc2.

@ebeanato
Copy link
Author

I am sorry for the late reply.
I tested now the new version by running:

docker run --rm -e DOCKER_VERSION_8395080871=19.03.2 -v /opt/freesurfer/license.txt:/opt/freesurfer/license.txt:ro -v /data/subjects/pilots/TI:/data:ro -v /data/subjects/pilots/TI:/out poldracklab/fmriprep:1.5.1rc2 /data /out participant --participant_label sub-p001 --fs-no-reconall

And it worked, I have no more this error appearing.

Thank you!!

@satra satra mentioned this issue Nov 5, 2019
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants