You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: test_idl.TestStructures.test_scalars_replicated_3d
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/usr/lib/python2.7/dist-packages/scipy/io/tests/test_idl.py", line 190, in test_scalars_replicated_3d
s = readsav(path.join(DATA_PATH, 'struct_scalars_replicated_3d.sav'), verbose=False)
File "/usr/lib/python2.7/dist-packages/scipy/io/idl.py", line 813, in readsav
replace, new = _replace_heap(r['data'], heap)
File "/usr/lib/python2.7/dist-packages/scipy/io/idl.py", line 599, in _replace_heap
for ir, record in enumerate(variable):
File "/tmp/local/lib/python2.7/site-packages/numpy/core/records.py", line 481, in __getitem__
return obj.view(dtype=(self.dtype.type, obj.dtype.descr))
File "/tmp/local/lib/python2.7/site-packages/numpy/core/records.py", line 540, in view
return ndarray.view(self, dtype)
File "/tmp/local/lib/python2.7/site-packages/numpy/core/records.py", line 457, in __setattr__
raise exctype(value)
TypeError: Cannot change data-type for object array.
caused by this change, didn't check any further yet
I can look into it. As a side note, one thing we've done in Astropy is to create a GitHub read-only team with everyone who we might want to assign issues to - this would allow you to assign any scipy.io.idl issue to me without having to give me write-access to the repo.
Activity
astrofrog commentedon Apr 10, 2015
I can look into it. As a side note, one thing we've done in Astropy is to create a GitHub read-only team with everyone who we might want to assign issues to - this would allow you to assign any scipy.io.idl issue to me without having to give me write-access to the repo.
astrofrog commentedon Apr 10, 2015
I think this may be a Numpy bug - I've opened an issue here with a minimal example: numpy/numpy#5762
rgommers commentedon May 5, 2015
numpy regression which will be fixed by numpy/numpy#5548, so closing this
rgommers commentedon May 5, 2015
thanks for looking into it @astrofrog