-
Notifications
You must be signed in to change notification settings - Fork 532
nipype test failed(boto ERROR/SSLError) #2001
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
can you please write the version of nipype you're using, please try |
@djarecka Hi, thanks for the reply I downloaded 0.10.0 from https://github.com/nipy/nipype/archive/0.13.0-rc1.tar.gz, |
Sorry, I didn't specify that you have to type this commands in the python interpreter after importing nipype. In your terminal you can type Can you also please write the test name that give you this error. If you can't find the name, you can also just paste everything. |
@djarecka thanks a lot for replay
By the way, should i install Camino, MRtrix, Slicer and ConnectomeViewer? |
|
It looks to me that you send me 2 different errors from running 2 different version of nipype. Am I right? The This test is usually being skipped, since the |
@djarecka thanks for the reply import nipype Python 2.7.13 Traceback (most recent call last): |
I was asking, because I could see that some tests were run by btw. have you considered moving to Python3? The coming release still supports both Python2 and Python3, but some future versions will be available for Python3 users only. If you're just starting working with nipype, you might want to consider using Python3 from the very beginning. |
thanks |
@djarecka hi
what should i do to fix this error? |
this is due to python 3, in which range is a generator. you will need something like: |
@djarecka @satra hi,I tried to build a pipeline for a first level fMRI analysis and run example_fMRI_1_first_level.py.
|
@caixixixi : i don't have too much experience with running Coming back to you previous question:
|
@djarecka @satra hi,thank a lot for your reply . I run tutoriial_3_first_steps.py in python2.7. I solved the error above by using spm8. but i have new error. After i finished first level fMRI analysis , i run example_fMRI_2_normalize_SPM.py, and the error is as follow.
@djarecka @satra hi,i solved the error above. After i finished first level fMRI analysis , i run example_fMRI_2_normalize_SPM.py, and the error is as follow.
|
@caixixixi it's looking for this path |
@mgxd I can run example_fMRI_1_first_level.py with SPM8, but SPM8 create .hdr and .img |
@caixixixi looks like there was a bug in that version of SPM12.
|
@mgxd thank you so much |
I run example_fMRI_2_normalize_ANTS_complete.py in ipython.
|
@caixixixi you need to have C3D - this is mentioned in the tutorial
|
@mgxd thanks for you reply,it is very helpful |
@caixixixi no problem, feel free to open this again if necessary |
@mgxd hi
|
Hi!
170519-09:50:47,348 workflow INFO:
[Job finished] jobname: convert2itk.a0 jobid: 5
170519-12:17:19,284 workflow ERROR:
[u'Node antsreg.a0 failed to run on host ubuntu.']
170519-12:17:20,354 workflow INFO:
Saving crash info to /home/caixi/nipype_tutorial/crash-20170519-121719-caixi-antsreg.a0-91b6a845-3039-46bf-abe3-12ee67c9fe6a.pklz
170519-12:17:20,445 workflow INFO:
Traceback (most recent call last):
File "/home/caixi/anaconda/lib/python2.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 52, in run_node
result['result'] = node.run(updatehash=updatehash)
File "/home/caixi/anaconda/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 372, in run
self._run_interface()
File "/home/caixi/anaconda/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 482, in _run_interface
self._result = self._run_command(execute)
File "/home/caixi/anaconda/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 613, in _run_command
result = self._interface.run()
File "/home/caixi/anaconda/lib/python2.7/site-packages/nipype/interfaces/base.py", line 1081, in run
runtime = self._run_wrapper(runtime)
File "/home/caixi/anaconda/lib/python2.7/site-packages/nipype/interfaces/base.py", line 1724, in _run_wrapper
runtime = self._run_interface(runtime)
File "/home/caixi/anaconda/lib/python2.7/site-packages/nipype/interfaces/base.py", line 1758, in _run_interface
self.raise_exception(runtime)
File "/home/caixi/anaconda/lib/python2.7/site-packages/nipype/interfaces/base.py", line 1682, in raise_exception
**runtime.dictcopy()))
RuntimeError: Command:
antsRegistration --float --collapse-output-transforms 1 --dimensionality 3 --initial-moving-transform [ /usr/share/fsl/5.0/data/standard/MNI152_T1_1mm_brain.nii.gz, /home/caixi/nipype_tutorial/freesurfer/sub001/mri/brain.mgz, 1 ] --initialize-transforms-per-stage 0 --interpolation Linear --output [ transform, transform_Warped.nii.gz, transform_InverseWarped.nii.gz ] --transform Rigid[ 0.1 ] --metric MI[ /usr/share/fsl/5.0/data/standard/MNI152_T1_1mm_brain.nii.gz, /home/caixi/nipype_tutorial/freesurfer/sub001/mri/brain.mgz, 1, 32, Regular, 0.25 ] --convergence [ 1000x500x250x100, 1e-06, 10 ] --smoothing-sigmas 3.0x2.0x1.0x0.0vox --shrink-factors 8x4x2x1 --use-histogram-matching 1 --transform Affine[ 0.1 ] --metric MI[ /usr/share/fsl/5.0/data/standard/MNI152_T1_1mm_brain.nii.gz, /home/caixi/nipype_tutorial/freesurfer/sub001/mri/brain.mgz, 1, 32, Regular, 0.25 ] --convergence [ 1000x500x250x100, 1e-06, 10 ] --smoothing-sigmas 3.0x2.0x1.0x0.0vox --shrink-factors 8x4x2x1 --use-histogram-matching 1 --transform SyN[ 0.1, 3.0, 0.0 ] --metric CC[ /usr/share/fsl/5.0/data/standard/MNI152_T1_1mm_brain.nii.gz, /home/caixi/nipype_tutorial/freesurfer/sub001/mri/brain.mgz, 1, 4, None, 1 ] --convergence [ 100x70x50x20, 1e-06, 10 ] --smoothing-sigmas 3.0x2.0x1.0x0.0vox --shrink-factors 8x4x2x1 --use-histogram-matching 1 --winsorize-image-intensities [ 0.005, 0.995 ] --write-composite-transform 1
Standard output:
Standard error:
Killed
Return code: 137
Interface Registration failed to run.
170519-12:17:23,470 workflow INFO:
***********************************
170519-12:17:23,470 workflow ERROR:
could not run node: normflow.antsreg.a0
170519-12:17:23,470 workflow INFO:
crashfile: /home/caixi/nipype_tutorial/crash-20170519-121719-caixi-antsreg.a0-91b6a845-3039-46bf-abe3-12ee67c9fe6a.pklz
170519-12:17:23,471 workflow INFO:
在 2017-05-20 03:08:09,"Mathias Goncalves" <[email protected]> 写道:
@caixixixi no problem, feel free to open this again if necessary
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@caixixixi haven't run into this error, but refer to this post |
Uh oh!
There was an error while loading. Please reload this page.
Hi,after i installed nipype,i tested my system.:python -c "import nipype; nipype.test()". I got the following error:
self = <ssl.SSLSocket object at 0x7f7d66861668>, len = 425, buffer = None
E SSLError: (u'The read operation timed out\nInterface S3DataGrabber failed to run. ',)
/home/caixi/anaconda/lib/python2.7/ssl.py:653: SSLError
----------------------------- Captured stdout call -----------------------------
170508-06:24:42,918 boto ERROR:
Caught exception reading instance data
Traceback (most recent call last):
File "/home/caixi/anaconda/lib/python2.7/site-packages/boto/utils.py", line 214, in retry_url
r = opener.open(req)
File "/home/caixi/anaconda/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/home/caixi/anaconda/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/home/caixi/anaconda/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/home/caixi/anaconda/lib/python2.7/urllib2.py", line 1228, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/home/caixi/anaconda/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 111] Connection refused>
170508-06:24:42,946 boto ERROR:
Unable to read instance data, giving up
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
======== 1 failed, 2326 passed, 32 skipped, 5 xfailed in 357.66 seconds ========
Kind regards.
The text was updated successfully, but these errors were encountered: