Closed bluefir closed 11 years ago
thanks for the report; suspect it will work if you try again (that said we have been trying to squash failures like this)
Uninstalled, installed and tried again. Still fails. Is this a big problem or just an annoyance?
the test is prob too restrictive and tests data which may have (and prob did change) as this works on all of the travis builds.
Cool. Closing. Thanks for the quick response!
actually going to leave this open....its a prod to get the test fixed...thanks!
this seems to always change between those two values....what's up with that?
I think the last number was just revised...that's why this test is bogus
i know, but it goes back and forth every 2-3 weeks
Also, the docstring on that test needs to be removed... It's totally wrong.
this is fixed in master now
I did a fresh install of python and pandas and started getting nosetest errors for HDFStore. What's going on? Did I grab some of the more recent versions of some packages that are not supported yet?
Traceback (most recent call last): File "C:\Python27\lib\site-packages\pandas\io\tests\test_pytables.py", line 24 93, in test_select_as_multiple result = store.select('df1', ['A>0', 'B>0']) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 458, in selec t return TableIterator(self, func, nrows=s.nrows, start=start, stop=stop, auto _close=auto_close).get_values() File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 984, in get_v alues results = self.func(self.start, self.stop) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 451, in func return s.read(where=where, start=_start, stop=_stop, columns=columns, **kwar gs) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 3153, in read
if not self.read_axes(where=where, **kwargs): File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 2524, in read _axes values = self.selection.select() File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 3747, in sele ct return self.table.table.readWhere(self.condition, start=self.start, stop=sel f.stop) File "C:\Python27\lib\site-packages\tables\table.py", line 1453, in readWhere self._where(condition, condvars, start, stop, step) ] File "C:\Python27\lib\site-packages\tables\table.py", line 1405, in _where compiled = self._compileCondition(condition, condvars) File "C:\Python27\lib\site-packages\tables\table.py", line 1284, in _compileCo ndition compiled = compile_condition(condition, typemap, indexedcols, copycols) File "C:\Python27\lib\site-packages\tables\conditions.py", line 396, in compil e_condition func = NumExpr(expr, signature, copy_args=copycols) File "C:\Python27\lib\site-packages\numexpr\necompiler.py", line 552, in NumEx pr context = getContext(kwargs, frame_depth=1) File "C:\Python27\lib\site-packages\numexpr\necompiler.py", line 473, in getCo ntext raise ValueError("Unknown keyword argument '%s'" % d.popitem()[0]) ValueError: Unknown keyword argument 'copy_args'
ERROR: test_select_dtypes (pandas.io.tests.test_pytables.TestHDFStore)
Traceback (most recent call last): File "C:\Python27\lib\site-packages\pandas\io\tests\test_pytables.py", line 20 33, in test_select_dtypes result = store.select('df', [Term('ts', '>=', Timestamp('2012-02-01'))]) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 458, in selec t return TableIterator(self, func, nrows=s.nrows, start=start, stop=stop, auto _close=auto_close).get_values() File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 984, in get_v alues results = self.func(self.start, self.stop) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 451, in func return s.read(where=where, start=_start, stop=_stop, columns=columns, **kwar gs) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 3153, in read
if not self.read_axes(where=where, **kwargs):
File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 2524, in read _axes values = self.selection.select() File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 3747, in sele ct return self.table.table.readWhere(self.condition, start=self.start, stop=sel f.stop) File "C:\Python27\lib\site-packages\tables\table.py", line 1453, in readWhere self._where(condition, condvars, start, stop, step) ] File "C:\Python27\lib\site-packages\tables\table.py", line 1405, in _where compiled = self._compileCondition(condition, condvars) File "C:\Python27\lib\site-packages\tables\table.py", line 1284, in _compileCo ndition compiled = compile_condition(condition, typemap, indexedcols, copycols) File "C:\Python27\lib\site-packages\tables\conditions.py", line 396, in compil e_condition func = NumExpr(expr, signature, copy_args=copycols) File "C:\Python27\lib\site-packages\numexpr\necompiler.py", line 552, in NumEx pr context = getContext(kwargs, frame_depth=1) File "C:\Python27\lib\site-packages\numexpr\necompiler.py", line 473, in getCo ntext raise ValueError("Unknown keyword argument '%s'" % d.popitem()[0]) ValueError: Unknown keyword argument 'copy_args'
ERROR: test_select_with_many_inputs (pandas.io.tests.test_pytables.TestHDFStore)
Traceback (most recent call last): File "C:\Python27\lib\site-packages\pandas\io\tests\test_pytables.py", line 20 86, in test_select_with_many_inputs result = store.select('df', [Term('ts', '>=', Timestamp('2012-02-01'))]) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 458, in selec t return TableIterator(self, func, nrows=s.nrows, start=start, stop=stop, auto _close=auto_close).get_values() File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 984, in get_v alues results = self.func(self.start, self.stop) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 451, in func return s.read(where=where, start=_start, stop=_stop, columns=columns, **kwar gs) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 3153, in read
if not self.read_axes(where=where, **kwargs): File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 2524, in read _axes values = self.selection.select() File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 3747, in sele ct return self.table.table.readWhere(self.condition, start=self.start, stop=sel f.stop) File "C:\Python27\lib\site-packages\tables\table.py", line 1453, in readWhere self._where(condition, condvars, start, stop, step) ] File "C:\Python27\lib\site-packages\tables\table.py", line 1405, in _where compiled = self._compileCondition(condition, condvars) File "C:\Python27\lib\site-packages\tables\table.py", line 1284, in _compileCo ndition compiled = compile_condition(condition, typemap, indexedcols, copycols) File "C:\Python27\lib\site-packages\tables\conditions.py", line 396, in compil e_condition func = NumExpr(expr, signature, copy_args=copycols) File "C:\Python27\lib\site-packages\numexpr\necompiler.py", line 552, in NumEx pr context = getContext(kwargs, frame_depth=1) File "C:\Python27\lib\site-packages\numexpr\necompiler.py", line 473, in getCo ntext raise ValueError("Unknown keyword argument '%s'" % d.popitem()[0]) ValueError: Unknown keyword argument 'copy_args'
Traceback (most recent call last): File "C:\Python27\lib\site-packages\pandas\io\tests\test_pytables.py", line 23 23, in test_string_select result = store.select('df',Term('x=none')) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 458, in selec t return TableIterator(self, func, nrows=s.nrows, start=start, stop=stop, auto _close=auto_close).get_values() File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 984, in get_v alues results = self.func(self.start, self.stop) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 451, in func return s.read(where=where, start=_start, stop=_stop, columns=columns, **kwar gs) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 3153, in read
if not self.read_axes(where=where, **kwargs):
File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 2524, in read _axes values = self.selection.select() File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 3747, in sele ct return self.table.table.readWhere(self.condition, start=self.start, stop=sel f.stop) File "C:\Python27\lib\site-packages\tables\table.py", line 1453, in readWhere self._where(condition, condvars, start, stop, step) ] File "C:\Python27\lib\site-packages\tables\table.py", line 1405, in _where compiled = self._compileCondition(condition, condvars) File "C:\Python27\lib\site-packages\tables\table.py", line 1284, in _compileCo ndition compiled = compile_condition(condition, typemap, indexedcols, copycols) File "C:\Python27\lib\site-packages\tables\conditions.py", line 396, in compil e_condition func = NumExpr(expr, signature, copy_args=copycols) File "C:\Python27\lib\site-packages\numexpr\necompiler.py", line 552, in NumEx pr context = getContext(kwargs, frame_depth=1) File "C:\Python27\lib\site-packages\numexpr\necompiler.py", line 473, in getCo ntext raise ValueError("Unknown keyword argument '%s'" % d.popitem()[0]) ValueError: Unknown keyword argument 'copy_args'
ERROR: test_table_append_with_timezones (pandas.io.tests.test_pytables.TestHDFSt
Traceback (most recent call last): File "C:\Python27\lib\site-packages\pandas\io\tests\test_pytables.py", line 13 62, in test_table_append_with_timezones compare(store.select('df_tz',where=Term('A','>=',df.A[3])),df[df.A>=df.A[3]] ) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 458, in selec t return TableIterator(self, func, nrows=s.nrows, start=start, stop=stop, auto _close=auto_close).get_values() File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 984, in get_v alues results = self.func(self.start, self.stop) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 451, in func return s.read(where=where, start=_start, stop=_stop, columns=columns, **kwar gs) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 3153, in read
if not self.read_axes(where=where, **kwargs):
File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 2524, in read _axes values = self.selection.select() File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 3747, in sele ct return self.table.table.readWhere(self.condition, start=self.start, stop=sel f.stop) File "C:\Python27\lib\site-packages\tables\table.py", line 1453, in readWhere self._where(condition, condvars, start, stop, step) ] File "C:\Python27\lib\site-packages\tables\table.py", line 1405, in _where compiled = self._compileCondition(condition, condvars) File "C:\Python27\lib\site-packages\tables\table.py", line 1284, in _compileCo ndition compiled = compile_condition(condition, typemap, indexedcols, copycols) File "C:\Python27\lib\site-packages\tables\conditions.py", line 396, in compil e_condition func = NumExpr(expr, signature, copy_args=copycols) File "C:\Python27\lib\site-packages\numexpr\necompiler.py", line 552, in NumEx pr context = getContext(kwargs, frame_depth=1) File "C:\Python27\lib\site-packages\numexpr\necompiler.py", line 473, in getCo ntext raise ValueError("Unknown keyword argument '%s'" % d.popitem()[0]) ValueError: Unknown keyword argument 'copy_args'
Traceback (most recent call last): File "C:\Python27\lib\site-packages\pandas\io\tests\test_pytables.py", line 15 67, in test_terms 'major_axis<20000108'), Term('minor_axis', '=', ['A', 'B'])]) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 458, in selec t return TableIterator(self, func, nrows=s.nrows, start=start, stop=stop, auto _close=auto_close).get_values() File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 984, in get_v alues results = self.func(self.start, self.stop) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 451, in func return s.read(where=where, start=_start, stop=_stop, columns=columns, **kwar gs) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 2875, in read
if not self.read_axes(where=where, **kwargs):
File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 2524, in read _axes values = self.selection.select() File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 3747, in sele ct return self.table.table.readWhere(self.condition, start=self.start, stop=sel f.stop) File "C:\Python27\lib\site-packages\tables\table.py", line 1453, in readWhere self._where(condition, condvars, start, stop, step) ] File "C:\Python27\lib\site-packages\tables\table.py", line 1405, in _where compiled = self._compileCondition(condition, condvars) File "C:\Python27\lib\site-packages\tables\table.py", line 1284, in _compileCo ndition compiled = compile_condition(condition, typemap, indexedcols, copycols) File "C:\Python27\lib\site-packages\tables\conditions.py", line 396, in compil e_condition func = NumExpr(expr, signature, copy_args=copycols) File "C:\Python27\lib\site-packages\numexpr\necompiler.py", line 552, in NumEx pr context = getContext(kwargs, frame_depth=1) File "C:\Python27\lib\site-packages\numexpr\necompiler.py", line 473, in getCo ntext raise ValueError("Unknown keyword argument '%s'" % d.popitem()[0]) ValueError: Unknown keyword argument 'copy_args'
Traceback (most recent call last): File "C:\Python27\lib\site-packages\pandas\util\testing.py", line 765, in netw ork_wrapper return t(_args, *_kwargs) File "C:\Python27\lib\site-packages\pandas\io\tests\test_data.py", line 370, i n test_fred 15984.1) AssertionError: DATE 2013-01-01 16535.3 Name: GDP, dtype: float64 != 15984.1
Traceback (most recent call last): File "C:\Python27\lib\site-packages\pandas\tests\test_graphics.py", line 504, in test_bar_log self.assertEqual(ax.yaxis.get_ticklocs()[0], 1.0) AssertionError: 0.10000000000000001 != 1.0
Ran 3661 tests in 190.758s
FAILED (SKIP=136, errors=18, failures=2)
show pandas/ci/print_versions()
I don't have ci folder, remember? :-)
The answer is numexpr 2.2.1. I reverted back to 2.1 and the errors went away.
The plotting stuff has nothing to do with numexpr so that can't have solved the problem entirely
@cpcloud looks like 2.2.1 just came out, and of course changed stuff which breaks older PyTables......
@bluefir
when this error happend, you were running: py2.7, ne 2.2.1, and what version of PyTables?
2.4.0
@bluefir thanks....was a API breaking change on numexpr....dumb what they did..keep at 2.1!
@bluefir sorry about this ... very annoying .. i've raised an issue over at numexpr
No need to apologize! Especially since it's not your fault. You guys do a great job and are very responsive. Things like this will happen every once in a while. Are you going to adjust to numexpr 2.2.1 for 0.13 release or is switching to the new numexpr version totally useless?
put up a big fat warning.....recommend for now you DONt upgrade beyond 2.1
http://pandas.pydata.org/pandas-docs/dev/install.html#recommended-dependencies
Python 2.7.5, Windows 7 64-bit