Your message dated Fri, 01 Mar 2019 23:51:43 +0000
with message-id <[email protected]>
and subject line Bug#860449: fixed in statsmodels 0.8.0-8
has caused the Debian Bug report #860449,
regarding python-statsmodels: KaplanMeier.fit() crashes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
860449: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860449
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-statsmodels
Version: 0.8.0-1
Severity: normal

In a secret underground lab, a solitary caped
figure kneels in front of a computer screen.

Who is this mysterious genius??

And why has he never been photographed together
with tall, dark, handsome Kingsley?

A lightning bolt blasts across the keyboard!

Look!

Up in the sky!

Is it a bird?

No!

Is it a plane?

NO!

It's...

IT'S...

YES!!!

It'S ... SCIENCE MAN!!!!!!!

Champion of critical thinking!

Defender of data!

Sworn foe of boring bug reports everywhere!

But wait!

What's this?

A diabolical bug has infested the python-statsmodels package!

Oh no!

It threatens to establish a totalitarian system of
rule over Kaplan Meier calculations!

What CAN be done?

SCIENCE MAN uses his super powers to reveal to all
lovers of truth, justice and statistics just how to
elicit the bug.

He tried the example starting on line 64 of

    /usr/lib/python2.7/dist-packages/statsmodels/sandbox/survival2.py

What woe befell our hero?

Behold!

    >>> import statsmodels.api as sm
    >>> import matplotlib.pyplot as plt
    >>> import numpy as np
    >>> from statsmodels.sandbox.survival2 import KaplanMeier
    >>> dta = sm.datasets.strikes.load()
    >>> dta = dta.values()[-1]
    >>> dta[range(5),:]
    array([[  7.00000000e+00,   1.13800000e-02],
           [  9.00000000e+00,   1.13800000e-02],
           [  1.30000000e+01,   1.13800000e-02],
           [  1.40000000e+01,   1.13800000e-02],
           [  2.60000000e+01,   1.13800000e-02]])
    >>> km = KaplanMeier(dta,0)
    >>> km.fit()
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/usr/lib/python2.7/dist-packages/statsmodels/sandbox/survival2.py", 
line 203, in fit
        self.fitting_proc(self.data)
      File "/usr/lib/python2.7/dist-packages/statsmodels/sandbox/survival2.py", 
line 249, in fitting_proc
        events = events[:,list(t)]
    IndexError: too many indices for array

Zounds!!!!

An IndexError has rendered SCIENCE MAN'S super
powers useless!

SCIENCE MAN has been vanquished by his
arch-nemesis, bad code!

With his last breath, SCIENCE MAN gasps that the
same error happened with version
0.8.0~rc1+git59-gef47cd9-5.

Certainly the bug will now be fixed by a super genius maintainer!

Or will it...?


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 4.4.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages python-statsmodels depends on:
ii  python                  2.7.13-1
ii  python-numpy            1:1.12.0-2
ii  python-patsy            0.4.0-1
ii  python-scipy            0.18.1-2
ii  python-statsmodels-lib  0.8.0-1
pn  python:any              <none>

Versions of packages python-statsmodels recommends:
pn  python-cvxopt      <none>
ii  python-joblib      0.9.2-1
ii  python-matplotlib  2.0.0-3
ii  python-nose        1.3.6-1
ii  python-pandas      0.17.0+git8-gcac4ad2-2

Versions of packages python-statsmodels suggests:
ii  python-statsmodels-doc  0.8.0~rc1+git59-gef47cd9-5

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: statsmodels
Source-Version: 0.8.0-8

We believe that the bug you reported is fixed in the latest version of
statsmodels, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rebecca N. Palmer <[email protected]> (supplier of updated statsmodels 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 01 Mar 2019 22:49:09 +0000
Source: statsmodels
Binary: python-statsmodels python-statsmodels-lib python-statsmodels-doc 
python3-statsmodels python3-statsmodels-lib
Architecture: source
Version: 0.8.0-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Rebecca N. Palmer <[email protected]>
Description:
 python-statsmodels - Python module for the estimation of statistical models
 python-statsmodels-doc - documentation and examples for statsmodels
 python-statsmodels-lib - low-level implementations and bindings for statsmodels
 python3-statsmodels - Python3 module for the estimation of statistical models
 python3-statsmodels-lib - Python3 low-level implementations and bindings for 
statsmodels
Closes: 687301 860449 882641 917754
Changes:
 statsmodels (0.8.0-8) unstable; urgency=medium
 .
   * Team upload.
   * Remove outdated information from description.
   * Use sphinx.ext.mathjax rather than no-longer-existing pngmath.
     This also fixes equation display  Closes: #687301
   * Fix spelling.
   * Fix remote -> local requirejs substitution.
   * Use text instead of fetching a logo.
   * Make dataset caching work in Python 3.
   * Extend use_cached_datasets to build more of the examples.
   * Fix path and data layout exceptions in examples.
   * Re-enable build-time tests, and clean up files they leave behind.
   * Use upstream tests as autopkgtest.
   * Move metadata to d/u/metadata, update and extend it.
   * Update d/copyright.
   * Fix exceptions due to newer versions of dependencies:
     - "no attribute 'chisqprob'" in discrete_model
     - "shape mismatch...could not be broadcast" in imputation
     - "ufunc 'gammaln' not supported" in discrete_model
     - "object arrays are not supported" in tsa.statespace
     - "module 'pandas' has no attribute 'ols'" in tsa.vector_ar
     - various IndexErrors in KaplanMeier  Closes: #860449
     - "unexpected keyword argument 'format'" in datasets.co2
     - UnicodeDecodeError in parse_lutkepohl_data
     - various issues within test and example code
   * Backport the following from experimental:
 .
   [ Julian Taylor ]
   * Use python3 also for fold_toc.py
   * Use fixed locale for documentation build
 .
   [ Andreas Tille ]
   * hardening=+all
   * Use libjs-mathjax
   * Extend description of -doc package
   * Remove matplotlib.sphinxext.only_directives option which is
     not used.  Closes: #917754
   * Do not try to access remote locations on buildtime test
     Closes: #882641
Checksums-Sha1:
 1ae9b07fadd928793c6e0cf0f7c5ebd9ac373535 3396 statsmodels_0.8.0-8.dsc
 b8fc17515d01c52f666a1ca79ce1c6728fb56ee2 218208 
statsmodels_0.8.0-8.debian.tar.xz
 2e976a3e5af6c1a9317bdf56d47f499412a3dfef 6611 
statsmodels_0.8.0-8_source.buildinfo
Checksums-Sha256:
 eeb1052554dda9a7310a9cb3b13ee2d045b0ec0b1433056dc9c1ae29b3d2d24d 3396 
statsmodels_0.8.0-8.dsc
 98ef476b2a13a44f920307634e180759ad34b175831173731d8c4d5a2aca0345 218208 
statsmodels_0.8.0-8.debian.tar.xz
 40610f7e60e406cf280ceaa39c350a6e3a0505116fd7ce2824183e2577e3edc7 6611 
statsmodels_0.8.0-8_source.buildinfo
Files:
 e2b850d2532c6cfbee5f2ef5f82c2f04 3396 python optional statsmodels_0.8.0-8.dsc
 cd9b6567d65eb1e3a6aa31ad35525594 218208 python optional 
statsmodels_0.8.0-8.debian.tar.xz
 1a34a3c1d0ef2920f847e10dd7290592 6611 python optional 
statsmodels_0.8.0-8_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJMBAEBCAA2FiEEZ8sxEAXE7b4yF1MI3uUNDVZ+omYFAlx5vGoYHHJlYmVjY2Ff
cGFsbWVyQHpvaG8uY29tAAoJEN7lDQ1WfqJmjP0P/RV6saOUREF+eJfLUZEUBplh
cDFNSau5srKMKMTmkSR/yEIXU7hfXJLDM8IZQ/cwwOiuuW3N0lJ1JAygOCjALxzq
KlQLmYa34+cQBBezDaAHUkTIvMRY5Qc2Rzs1u96vlSDdnnOjQXIlwYto+xa/Yqs/
K9mnZ6wpXW5JZc2CNKY8axWO4g/v5k2H0HbqG+Q/xhzFpMlqvqeEjdhgKBovR7ZT
uRCL8Yl0ZYZ4yzeMA9tC2Yt8E37DthjMJmWcf29vS3HCvW6degizWShgbL0X1/3m
EXTv9SIS1XpAGbK9YXl1Y3JY0I0p6bYTp0H5+FObJu3V+XhGXzk38BaqkPEQZ06S
A9cpbWHnJIVbgh/QSywxmFLZFBaR04x6eTvZ7ekgmYog5TQllwP+plPeANGaqgqy
jbNXF4vvpwLPY2x+TIienVTFBfHnEk3zQE+o3j3gTcLa7EqhFt3SZ+aZv8mSEnMw
bhU0B7qzSgkbvmlNmlyiOE8bp6aVFSJePAveWWfqXRORqn8XezxEy4AHjOj7PZYm
wV2jwmzKbabPPZdVttKNKhSR+jSwSSRUjiWcNGRk1pYd0xKXFYhEeiVweelCcE45
hFZ+32NUXGNeX693GZMno60oCYZLHejs0y3YVC81JANW/OSfkfPXmdJFz4OJJiOg
hFkT15TWsfq2rFgjyG/W
=+jcM
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to