Debian Bug report logs - #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

version graph

Package: src:astroml; Maintainer for src:astroml is Debian Astronomy Team <debian-astro-maintainers@lists.alioth.debian.org>;

Reported by: Adrian Bunk <bunk@debian.org>

Date: Fri, 29 Sep 2017 09:36:04 UTC

Severity: serious

Tags: buster, sid

Found in version astroml/0.3-6

Fixed in version astroml/0.3-7

Done: Ole Streicher <olebole@debian.org>

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Astronomy Team <debian-astro-maintainers@lists.alioth.debian.org>:
Bug#877161; Package src:astroml. (Fri, 29 Sep 2017 09:36:06 GMT) (full text, mbox, link).


Acknowledgement sent to Adrian Bunk <bunk@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Astronomy Team <debian-astro-maintainers@lists.alioth.debian.org>. (Fri, 29 Sep 2017 09:36:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Adrian Bunk <bunk@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: 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
Date: Fri, 29 Sep 2017 12:31:10 +0300
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



Reply sent to Ole Streicher <olebole@debian.org>:
You have taken responsibility. (Sat, 30 Dec 2017 11:18:03 GMT) (full text, mbox, link).


Notification sent to Adrian Bunk <bunk@debian.org>:
Bug acknowledged by developer. (Sat, 30 Dec 2017 11:18:03 GMT) (full text, mbox, link).


Message #10 received at 877161-done@bugs.debian.org (full text, mbox, reply):

From: Ole Streicher <olebole@debian.org>
To: 877161-done@bugs.debian.org
Subject: Closing fixed bug
Date: Sat, 30 Dec 2017 12:14:54 +0100
Source: astroml
Source-Version: 0.3-7
Control: forwarded -1 https://github.com/astroML/astroML/issues/101

This is (probably) fixed in 0.3-7. However, I am not sure that the fix
is really correct, so I give the upstream URL as reference.

Cheers

Ole



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 11:50:45 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.