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

Test failure with numpy 1.10.4 #326

Closed
rekado opened this issue Feb 16, 2016 · 2 comments
Closed

Test failure with numpy 1.10.4 #326

rekado opened this issue Feb 16, 2016 · 2 comments

Comments

@rekado
Copy link

rekado commented Feb 16, 2016

One of Vigra's tests fail when building with numpy 1.10.4:

Running vigranumpy tests
cd /tmp/guix-build-vigra-1.10.0.drv-0/build/vigranumpy/test && ./run_vigranumpytest.sh

executing test file /tmp/guix-build-vigra-1.10.0.drv-0/build/vigranumpy/test/test1.py
......
executing test file /tmp/guix-build-vigra-1.10.0.drv-0/build/vigranumpy/test/test2.py
..........
executing test file /tmp/guix-build-vigra-1.10.0.drv-0/build/vigranumpy/test/test3.py
......
executing test file /tmp/guix-build-vigra-1.10.0.drv-0/build/vigranumpy/test/test_arraytypes.py
......................E.
executing test file /tmp/guix-build-vigra-1.10.0.drv-0/build/vigranumpy/test/test_color.py
..
executing test file /tmp/guix-build-vigra-1.10.0.drv-0/build/vigranumpy/test/test_impex.py
...
======================================================================
ERROR: test_arraytypes.testMethods
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/qdi2y0wfl4lj70f7cgnnvsgwppnadz03-python2-nose-1.3.7/lib/python2.7/site-packages/nose-1.3.7-py2.7.egg/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/guix-build-vigra-1.10.0.drv-0/build/vigranumpy/test/test_arraytypes.py", line 1331, in testMethods
    nz = n.nonzero()
  File "/tmp/guix-build-vigra-1.10.0.drv-0/build/vigranumpy/vigra/arraytypes.py", line 1285, in nonzero
    res[k].axistags = AxisTags(AxisInfo(self.axistags[k]))
AttributeError: 'numpy.ndarray' object has no attribute 'axistags'

----------------------------------------------------------------------
Ran 51 tests in 3.212s

FAILED (errors=1)

(See complete build log here: http://hydra.gnu.org/build/1008323/log/raw)

We did not see this error before upgrading numpy. The latest successful build used numpy 1.9.1. The full build log can be seen here: http://hydra.gnu.org/build/1000397/log/raw

@ukoethe
Copy link
Owner

ukoethe commented Feb 23, 2016

I think the problem has already been solved in branch version-1-11-rc. Can you please confirm if this is true?

@ukoethe ukoethe closed this as completed Feb 26, 2016
@rekado
Copy link
Author

rekado commented Feb 27, 2016

Thanks. According to Andreas this should be okay now: https://mailhost.informatik.uni-hamburg.de/pipermail/vigra/2016-February/001325.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants