[Python-modules-team] Bug#569008: closed by Varun Hiremath <varun at debian.org> (Bug#569008: fixed in python-scipy 0.9.0+dfsg1-1)

Tuure Laurinolli tuure.laurinolli at indagon.com
Thu Apr 7 06:03:12 UTC 2011


On 2011-04-07 06:09, Debian Bug Tracking System wrote:
> This is an automatic notification regarding your Bug report
> which was filed against the python-scipy package:
>
> #569008: python-scipy: scipy.stats.kde.gaussian_kde fails with non-obvious exception
>
> It has been closed by Varun Hiremath <varun at debian.org>.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Varun Hiremath <varun at debian.org> by
> replying to this email.
>
Hello,

It appears that with upstream version 0.9.0 the bug is not fixed:

[9:01:09][tazle at orn][~/unsafe/pythons]% ./scipytest/bin/python -c 'from
scipy.stats.kde import gaussian_kde; gaussian_kde([1])'
Warning: invalid value encountered in divide
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File
"/home/tazle/unsafe/pythons/scipytest/lib/python2.5/site-packages/scipy/stats/kde.py",
line 88, in __init__
    self._compute_covariance()
  File
"/home/tazle/unsafe/pythons/scipytest/lib/python2.5/site-packages/scipy/stats/kde.py",
line 341, in _compute_covariance
    self.inv_cov = linalg.inv(self.covariance)
  File
"/home/tazle/unsafe/pythons/scipytest/lib/python2.5/site-packages/scipy/linalg/basic.py",
line 285, in inv
    a1 = asarray_chkfinite(a)
  File
"/home/tazle/unsafe/pythons/scipytest/lib/python2.5/site-packages/numpy/lib/function_base.py",
line 547, in asarray_chkfinite
    "array must not contain infs or NaNs")
ValueError: array must not contain infs or NaNs

I did not test with the actual Debian package, since I do not have
unstable installation around. However, this should not be important,
since the changelog indicates that upstream changes are what should
close #569008.






More information about the Python-modules-team mailing list