Strange errors when deploying on condor.

5 views
Skip to first unread message

thomas.nickson

unread,
Jun 11, 2014, 7:56:14 AM6/11/14
to nipy...@googlegroups.com
Hi All,

I've started trying to deploy my workflow on condor using the dagman plugin and it seems to be a  very hassle free way of doing this. However, I seem to get one weird error on a few nodes and I can't seem to work out where they are coming from. The error simply states, " Exception: 'extracted_struct' ". I don't see any such line in the code, via search, or in the python code base, again, via search.

Has anyone encountered this error before?

The full code for the complaint is here:

https://gist.github.com/thelxinoe/8423c72c4588d4a5f507

Thanks,

Tom

thomas.nickson

unread,
Jun 11, 2014, 8:10:13 AM6/11/14
to nipy...@googlegroups.com
I'll also post the full error from running the code on its own:

140611-13:03:53,129 workflow DEBUG:
     Setting node inputs
140611-13:03:53,129 workflow DEBUG:
     input: in_file
140611-13:03:53,129 workflow DEBUG:
     results file: /sdata/images/projects/BFS/2/tnickson/Wyeth_2/RestingICA/NipypeFiles.new/connections/_subjects_WD2_001/niftis/result_niftis.pklz
140611-13:03:53,579 workflow DEBUG:
     Aggregate: True
140611-13:03:53,579 workflow ERROR:
     ['Node anat2target_linear.b0 failed to run on host nu.pst.ed.ac.uk.']
140611-13:03:53,583 workflow INFO:
     Saving crash info to /home/orkney_01/tnickson/Programming/tnickson/Nipype_Scripts/RestingICAAnalysis/crash-20140611-130353-tnickson-anat2target_linear.b0.npz
140611-13:03:53,583 workflow INFO:
     Traceback (most recent call last):
  File "pyscript_20140611_121945_connections.registration_anat2target_linear.b0.py", line 26, in <module>
    result = info['node'].run(updatehash=info['updatehash'])
  File "/usr/lib/python2.6/site-packages/nipype/pipeline/engine.py", line 1300, in run
    self._get_inputs()
  File "/usr/lib/python2.6/site-packages/nipype/pipeline/engine.py", line 1476, in _get_inputs
    output_value = results.outputs.get()[output_name]
KeyError: 'extracted_struct'

Traceback (most recent call last):
  File "pyscript_20140611_121945_connections.registration_anat2target_linear.b0.py", line 44, in <module>
    raise Exception(e)
Exception: 'extracted_struct'

thomas.nickson

unread,
Jun 11, 2014, 9:58:00 AM6/11/14
to nipy...@googlegroups.com
Oh dear, it was an error in my code!
Reply all
Reply to author
Forward
0 new messages