Closed
Description
Summary
An example of the results file issue, again involving MapNode
s. Using FitLins installed in a conda environment with poldracklab/fitlins#195.
191031-15:49:32,977 nipype.workflow WARNING:
Storing result file without outputs
191031-15:49:32,982 nipype.workflow WARNING:
[Node] Error on "_l2_model0" (/System/Volumes/Data/data/scratch/ds003-fitlins/fitlins_wf/l2_model/mapflow/_l2_model0)
191031-15:49:32,994 nipype.workflow WARNING:
[Node] Error on "fitlins_wf.l2_model" (/System/Volumes/Data/data/scratch/ds003-fitlins/fitlins_wf/l2_model)
exception calling callback for <Future at 0x11b18e850 state=finished raised FileNotFoundError>
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 69, in run_node
result['result'] = node.run(updatehash=updatehash)
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 479, in run
result = self._run_interface(execute=True)
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 1282, in _run_interface
self.config['execution']['stop_on_first_crash'])))
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 1204, in _collate_results
(self.name, '\n'.join(msg)))
Exception: Subnodes of node: l2_model failed:
Subnode 0 failed
Error: Traceback (most recent call last):
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 104, in nodelist_runner
result = node.run(updatehash=updatehash)
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 479, in run
result = self._run_interface(execute=True)
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 569, in _run_interface
return self._run_command(execute)
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 662, in _run_command
result = self._interface.run(cwd=outdir)
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/site-packages/nipype/interfaces/base/core.py", line 382, in run
runtime = self._run_interface(runtime)
File "/Users/markiewicz/Projects/crn/fitlins/fitlins/interfaces/nistats.py", line 212, in _run_interface
output_type='all')
TypeError: compute_contrast() got an unexpected keyword argument 'con_val'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/concurrent/futures/process.py", line 239, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 72, in run_node
result['result'] = node.result
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 198, in result
op.join(self.output_dir(), 'result_%s.pklz' % self.name))
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 294, in load_resultfile
raise FileNotFoundError(results_file)
FileNotFoundError: /System/Volumes/Data/data/scratch/ds003-fitlins/fitlins_wf/l2_model/result_l2_model.pklz
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/concurrent/futures/_base.py", line 324, in _invoke_callbacks
callback(self)
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 149, in _async_callback
result = args.result()
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/concurrent/futures/_base.py", line 428, in result
return self.__get_result()
File "/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
raise self._exception
FileNotFoundError: /System/Volumes/Data/data/scratch/ds003-fitlins/fitlins_wf/l2_model/result_l2_model.pklz
It also causes the whole workflow to hang.
Platform details:
{'commit_hash': '%h',
'commit_source': 'archive substitution',
'networkx_version': '2.4',
'nibabel_version': '2.5.1',
'nipype_version': '1.3.0-rc1',
'numpy_version': '1.17.3',
'pkg_path': '/System/Volumes/Data/anaconda3/envs/fitlins/lib/python3.7/site-packages/nipype',
'scipy_version': '1.3.1',
'sys_executable': '/System/Volumes/Data/anaconda3/envs/fitlins/bin/python',
'sys_platform': 'darwin',
'sys_version': '3.7.5 (default, Oct 25 2019, 10:52:18) \n'
'[Clang 4.0.1 (tags/RELEASE_401/final)]',
'traits_version': '5.1.2'}
Execution environment
Choose one
- My python environment outside container
name: fitlins
channels:
- conda-forge
- defaults
dependencies:
- appnope=0.1.0=py37_1000
- asn1crypto=1.2.0=py37_0
- attrs=19.3.0=py_0
- backcall=0.1.0=py_0
- bleach=3.1.0=py_0
- bz2file=0.98=py_0
- ca-certificates=2019.10.16=0
- certifi=2019.9.11=py37_0
- cffi=1.13.1=py37h33e799b_0
- chardet=3.0.4=py37_1003
- click=7.0=py_0
- cryptography=2.8=py37ha12b0ac_0
- cycler=0.10.0=py_2
- decorator=4.4.1=py_0
- defusedxml=0.6.0=py_0
- entrypoints=0.3=py37_1000
- etelemetry=0.1.2=py_1
- filelock=3.0.12=py_0
- freetype=2.10.0=h24853df_1
- funcsigs=1.0.2=py_3
- future=0.18.1=py37_0
- graphviz=2.40.1=h69955ae_1
- h5py=2.10.0=nompi_py37h6248fd5_100
- hdf5=1.10.5=nompi_h3e39495_1104
- html5lib=1.0.1=py_0
- icu=64.2=h6de7cb9_1
- idna=2.8=py37_1000
- importlib_metadata=0.23=py37_0
- ipykernel=5.1.3=py37h5ca1d4c_0
- ipython=7.9.0=py37h5ca1d4c_0
- ipython_genutils=0.2.0=py_1
- isodate=0.6.0=py_1
- jedi=0.15.1=py37_0
- jinja2=2.10.3=py_0
- jpeg=9c=h1de35cc_1001
- json5=0.8.5=py_0
- jsonschema=3.1.1=py37_0
- jupyter_client=5.3.4=py37_0
- jupyter_core=4.6.0=py37_0
- jupyterlab=1.2.0=py_0
- jupyterlab_server=1.0.6=py_0
- keepalive=0.5=py_1
- kiwisolver=1.1.0=py37h770b8ee_0
- libblas=3.8.0=14_openblas
- libcblas=3.8.0=14_openblas
- libcxx=9.0.0=h89e68fa_1
- libedit=3.1.20181209=hb402a30_0
- libffi=3.2.1=h6de7cb9_1006
- libgfortran=4.0.0=2
- libiconv=1.15=h01d97ff_1005
- liblapack=3.8.0=14_openblas
- libopenblas=0.3.7=h4bb4525_2
- libpng=1.6.37=h2573ce8_0
- libsodium=1.0.17=h01d97ff_0
- libtiff=4.0.10=h3527a1b_1004
- libxml2=2.9.10=h53d96d6_0
- libxslt=1.1.33=h320ff13_0
- llvm-openmp=9.0.0=h40edb58_0
- lxml=4.4.1=py37h08abf6f_0
- lz4-c=1.8.3=h6de7cb9_1001
- markupsafe=1.1.1=py37h1de35cc_0
- matplotlib=3.1.1=py37_1
- matplotlib-base=3.1.1=py37h3a684a6_1
- mistune=0.8.4=py37h1de35cc_1000
- more-itertools=7.2.0=py_0
- nbconvert=5.6.1=py37_0
- nbformat=4.4.0=py_1
- ncurses=6.1=h0a44026_1002
- networkx=2.4=py_0
- neurdflib=5.0.0.post1=py_0
- nibabel=2.5.1=py_0
- nipype=1.3.0rc1=py37_0
- notebook=6.0.1=py37_0
- numpy=1.17.3=py37hde6bac1_0
- openssl=1.1.1d=h1de35cc_3
- packaging=19.2=py_0
- pandoc=2.7.3=0
- pandocfilters=1.4.2=py_1
- parso=0.5.1=py_0
- pexpect=4.7.0=py37_0
- pickleshare=0.7.5=py37_1000
- pip=19.3.1=py37_0
- prometheus_client=0.7.1=py_0
- prompt_toolkit=2.0.10=py_0
- prov=1.5.3=py_1
- psutil=5.6.3=py37h01d97ff_0
- ptyprocess=0.6.0=py_1001
- pycparser=2.19=py37_1
- pydicom=1.3.0=py_0
- pydot=1.4.1=py37_1001
- pydotplus=2.0.2=pyhd1c1de3_3
- pygments=2.4.2=py_0
- pyopenssl=19.0.0=py37_0
- pyparsing=2.4.2=py_0
- pyrsistent=0.15.5=py37h0b31af3_0
- pysocks=1.7.1=py37_0
- python=3.7.5=h359304d_0
- python-dateutil=2.8.0=py_0
- pyzmq=18.1.0=py37hee98d25_0
- rdflib=4.2.2=py37_1000
- readline=7.0=hcfe32e1_1001
- requests=2.22.0=py37_1
- scipy=1.3.1=py37h7e0e109_2
- send2trash=1.5.0=py_0
- setuptools=41.6.0=py37_0
- simplejson=3.16.0=py37h1de35cc_1002
- six=1.12.0=py37_1000
- sparqlwrapper=1.8.2=py37_1000
- sqlite=3.30.1=ha441bb4_0
- terminado=0.8.2=py37_0
- testpath=0.4.2=py_1001
- tk=8.6.9=h2573ce8_1003
- tornado=6.0.3=py37h01d97ff_0
- traitlets=4.3.3=py37_0
- traits=5.1.2=py37h01d97ff_0
- urllib3=1.25.6=py37_0
- wcwidth=0.1.7=py_1
- webencodings=0.5.1=py_1
- wheel=0.33.6=py37_0
- xvfbwrapper=0.2.9=py37_1000
- xz=5.2.4=h1de35cc_1001
- zeromq=4.3.2=h6de7cb9_2
- zipp=0.6.0=py_0
- zlib=1.2.11=h0b31af3_1006
- zstd=1.4.3=he7fca8b_0
- pip:
- alabaster==0.7.12
- babel==2.7.0
- bids-validator==1.2.4
- citeproc-py==0.4.0
- coverage==4.5.4
- docopt==0.6.2
- docutils==0.15.2
- duecredit==0.7.0
- flake8==3.7.9
- imagesize==1.1.0
- joblib==0.14.0
- m2r==0.2.1
- mccabe==0.6.1
- nilearn==0.5.2
- nistats==0.0.1b1
- num2words==0.5.10
- numexpr==2.7.0
- pandas==0.25.2
- patsy==0.5.1
- pbr==5.4.3
- pillow==6.2.1
- pybids==0.9.4
- pycodestyle==2.5.0
- pyflakes==2.1.1
- pytz==2019.3
- scikit-learn==0.21.3
- seaborn==0.9.0
- snowballstemmer==2.0.0
- sphinx==2.2.1
- sphinx-argparse==0.2.5
- sphinx-nbexamples==0.4.0
- sphinxcontrib-apidoc==0.3.0
- sphinxcontrib-applehelp==1.0.1
- sphinxcontrib-devhelp==1.0.1
- sphinxcontrib-htmlhelp==1.0.2
- sphinxcontrib-jsmath==1.0.1
- sphinxcontrib-qthelp==1.0.2
- sphinxcontrib-serializinghtml==1.1.3
- sqlalchemy==1.3.10
- tables==3.6.1
- texext==0.6.1
prefix: /System/Volumes/Data/anaconda3/envs/fitlins
Metadata
Metadata
Assignees
Labels
No labels