-
Notifications
You must be signed in to change notification settings - Fork 300
[BUG] FileNotFoundError: [Errno 2] No such file or directory #868
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
Comments
Hi, I'm getting this error too in a few different workflow ( Thank you! |
I'm testing it out, but to be sure it will require that I understand why this error is actually happening |
@metad are you using docker or singularity? |
@oesteban No I'm just using it with native python/pip |
That's great:
should work for you |
Awesome thank you so much! |
Please let us know if it resolved the problem :) |
Yes it's resolved! |
Fixed in 750724b |
When ``maxtasksperchild`` was set at a very low value, workers are created very often, sometimes at working directories deleted after the interface cleanup. That would trigger an ``OSError`` when calling ``os.getcwd()`` during ``nipype.config`` import. This PR sets an initializer for the workers that just changes to the appropriate working directory before the worker is spun up. Fixes nipreps/fmriprep#868
Possibly a problem of nipype itself, but so far I've only seen it in fmriprep. Previously reported under #821, but unrelated to the original cause of that issue.
and
The text was updated successfully, but these errors were encountered: