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

GEE test errors on Debian Wheezy #1409

Closed
josef-pkt opened this issue Feb 21, 2014 · 2 comments
Closed

GEE test errors on Debian Wheezy #1409

josef-pkt opened this issue Feb 21, 2014 · 2 comments

Comments

@josef-pkt
Copy link
Member

from
http://nipy.bic.berkeley.edu/builders/statsmodels-py2.x-wheezy-sparc/builds/96/steps/shell_4/logs/stdio

======================================================================
ERROR: Failure: Exception (Reindexing only valid with uniquely valued Index objects)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName
    addr.filename, addr.module)
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/statsmodels-0.6.0-py2.7-linux-sparc64.egg/statsmodels/discrete/tests/test_sandwich_cov.py", line 26, in <module>
    data = data_raw.dropna()
  File "/usr/lib/pymodules/python2.7/pandas/core/frame.py", line 2488, in dropna
    return self.reindex(**{axis_name: new_labels})
  File "/usr/lib/pymodules/python2.7/pandas/core/frame.py", line 2122, in reindex
    fill_value, limit)
  File "/usr/lib/pymodules/python2.7/pandas/core/frame.py", line 2198, in _reindex_index
    limit=limit)
  File "/usr/lib/pymodules/python2.7/pandas/core/index.py", line 791, in reindex
    limit=limit)
  File "/usr/lib/pymodules/python2.7/pandas/core/index.py", line 712, in get_indexer
    raise Exception('Reindexing only valid with uniquely valued Index '
Exception: Reindexing only valid with uniquely valued Index objects

======================================================================
ERROR: Gaussian GEE with independence correlation should agree
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/statsmodels-0.6.0-py2.7-linux-sparc64.egg/statsmodels/genmod/tests/test_gee.py", line 526, in test_compare_OLS
    covstruct=vs)
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/statsmodels-0.6.0-py2.7-linux-sparc64.egg/statsmodels/base/model.py", line 104, in from_formula
    mod = cls(endog, exog, *args, **kwargs)
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/statsmodels-0.6.0-py2.7-linux-sparc64.egg/statsmodels/genmod/generalized_estimating_equations.py", line 298, in __init__
    self.endog_li = self._cluster_list(self.endog)
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/statsmodels-0.6.0-py2.7-linux-sparc64.egg/statsmodels/genmod/generalized_estimating_equations.py", line 368, in _cluster_list
    for k in self.group_labels]
IndexError: too many indices

There are several more of the IndexError: too many indices

@josef-pkt
Copy link
Member Author

possibly a problem because pandas is too old on that machine 0.8

@josef-pkt
Copy link
Member Author

closing:
we increased the pandas version requirement. I don't think this applies anymore

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

No branches or pull requests

1 participant