[Debian-astro-maintainers] Bug#877161: astroml FTBFS and Debci failure: IndexError: boolean index did not match indexed array along dimension 0; dimension is 2048 but corresponding boolean dimension is 2047

Adrian Bunk bunk at debian.org
Fri Sep 29 09:31:10 UTC 2017


Source: astroml
Version: 0.3-6
Severity: serious
Tags: buster sid

Some recent change in unstable makes astroml FTBFS and Debci failure:

https://ci.debian.net/packages/a/astroml/unstable/amd64/
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/astroml.html

...
======================================================================
ERROR: astroML.tests.test_filters.test_wiener_filter_simple
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/build/1st/astroml-0.3/.pybuild/pythonX.Y_2.7/build/astroML/tests/test_filters.py", line 27, in test_wiener_filter_simple
    s = wiener_filter(t, h)
  File "/build/1st/astroml-0.3/.pybuild/pythonX.Y_2.7/build/astroML/filters.py", line 186, in wiener_filter
    width_guess = np.min(np.abs(f[PSD[1:] < np.mean(PSD[1:])]))
IndexError: boolean index did not match indexed array along dimension 0; dimension is 256 but corresponding boolean dimension is 255

======================================================================
ERROR: astroML.tests.test_filters.test_wienter_filter_spike
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/build/1st/astroml-0.3/.pybuild/pythonX.Y_2.7/build/astroML/tests/test_filters.py", line 39, in test_wienter_filter_spike
    h_smooth = wiener_filter(t, hN)
  File "/build/1st/astroml-0.3/.pybuild/pythonX.Y_2.7/build/astroML/filters.py", line 186, in wiener_filter
    width_guess = np.min(np.abs(f[PSD[1:] < np.mean(PSD[1:])]))
IndexError: boolean index did not match indexed array along dimension 0; dimension is 2048 but corresponding boolean dimension is 2047

----------------------------------------------------------------------
Ran 214 tests in 5.467s

FAILED (errors=2)
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd /build/1st/astroml-0.3/.pybuild/pythonX.Y_2.7/build; python2.7 -m nose 
dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned exit code 13
debian/rules:9: recipe for target 'build' failed
make: *** [build] Error 25



More information about the Debian-astro-maintainers mailing list