Skip to content
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

Failure on Windows/Python 3.5 #1724

arokem opened this issue Jan 21, 2019 · 3 comments


Copy link

commented Jan 21, 2019

Also observed on #1230

ERROR: dipy.workflows.tests.test_tracking.test_det_track
Traceback (most recent call last):
  File "c:\python35-x64\lib\site-packages\nose\", line 198, in runTest
  File "c:\projects\dipy\dipy\workflows\tests\", line 45, in test_det_track, gfa_path, seeds_path)
  File "c:\projects\dipy\dipy\workflows\", line 106, in run
    seed_density, use_sh, pam, out_tract)
  File "c:\projects\dipy\dipy\workflows\", line 45, in _core_run
    tractogram = Tractogram(streamlines, affine_to_rasmm=np.eye(4))
  File "c:\python35-x64\lib\site-packages\nibabel\streamlines\", line 328, in __init__
  File "c:\python35-x64\lib\site-packages\nibabel\streamlines\", line 338, in _set_streamlines
    self._streamlines = ArraySequence(value)
  File "c:\python35-x64\lib\site-packages\nibabel\streamlines\", line 93, in __init__
  File "c:\python35-x64\lib\site-packages\nibabel\streamlines\", line 239, in extend
    for e in elements:
  File "c:\projects\dipy\dipy\tracking\", line 958, in move_streamlines
    for sl in streamlines:
  File "c:\projects\dipy\dipy\tracking\local\", line 131, in _generate_streamlines
    directions = self.direction_getter.initial_direction(s)
  File "dipy\reconst\peak_direction_getter.pyx", line 65, in dipy.reconst.peak_direction_getter.PeaksAndMetricsDirectionGetter.initial_direction
  File "dipy\reconst\peak_direction_getter.pyx", line 48, in dipy.reconst.peak_direction_getter.PeaksAndMetricsDirectionGetter._initialize
  File "stringsource", line 654, in View.MemoryView.memoryview_cwrapper
  File "stringsource", line 349, in View.MemoryView.memoryview.__cinit__
ValueError: cannot expose native-only dtype 'g' in non-native byte order '<' via buffer interface
-------------------- >> begin captured stdout << ---------------------
50.0 0.0
--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
root: INFO: Loading c:\projects\dipy\dipy\data\files\small_64D.nii
root: INFO: Computing response function
root: INFO: Eigenvalues for the frf of the input data are :[ 0.002  0.     0.   ]
root: INFO: Ratio for smallest to largest eigen value is 0.15343858702763827
root: INFO: CSD computation started.
root: INFO: CSD computation completed.
root: INFO: Pam5 file saved in C:\Users\appveyor\AppData\Local\Temp\1\tmpv9h3mof3
root: INFO: Creating mask of C:\Users\appveyor\AppData\Local\Temp\1\tmpv9h3mof3\gfa.nii.gz
root: INFO: Mask saved at C:\Users\appveyor\AppData\Local\Temp\1\tmpv9h3mof3\mask.nii.gz
root: INFO: Deterministic tracking on C:\Users\appveyor\AppData\Local\Temp\1\tmpv9h3mof3\peaks.pam5
root: INFO: classifier done
root: INFO: seeds done
root: INFO: LocalTracking initiated
--------------------- >> end captured logging << ---------------------

IIUC, this is only affecting the workflow. Anyone have any ideas?


This comment has been minimized.

Copy link

commented Jul 16, 2019

fix by #1899, I think. Closing for the moment. We can reopen it if this error reappears

@skoudoro skoudoro closed this Jul 16, 2019


This comment has been minimized.

Copy link
Member Author

commented Aug 25, 2019

Looks like this one has reared its ugly head again. See this failure
(appears on the unrelated #1948)



This comment has been minimized.

Copy link

commented Sep 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.