Closed
Description
C:\code\pandas>c:\python27\scripts\nosetests.exe pandas\io\tests\test_pytables.py
.S......SSS...........F.F...S..S...E....F..E..E.....E........E........E....
======================================================================
ERROR: test_put (pandas.io.tests.test_pytables.TestHDFStore)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\code\pandas\pandas\io\tests\test_pytables.py", line 179, in test_put
ValueError, self.store.put, 'f', df[10:], append=True)
File "c:\python27\lib\unittest\case.py", line 471, in assertRaises
callableObj(*args, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 447, in put
self._write_to_group(key, value, table=table, append=append, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 664, in _write_to_group
wrapper(value)
File "C:\code\pandas\pandas\io\pytables.py", line 652, in <lambda>
complib=complib, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 808, in _write_frame_table
t.write(axes=axes, obj=df, append=append, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 2145, in write
min_itemsize=min_itemsize, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 1896, in create_axes
self.validate(existing_table)
File "C:\code\pandas\pandas\io\pytables.py", line 1532, in validate
% (c, getattr(self, c, None), getattr(other, c, None)))
Exception: invalid combinate of [non_index_axes] on appending data [[(1, ['A', 'B', 'C', 'D'])]] vs current table [[(1, ['A', 'B', 'C', 'D', 'string', 'string2'])]]
======================================================================
ERROR: test_reopen_handle (pandas.io.tests.test_pytables.TestHDFStore)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\code\pandas\pandas\io\tests\test_pytables.py", line 142, in test_reopen_handle
self.store.open('w', warn=False)
File "C:\code\pandas\pandas\io\pytables.py", line 291, in open
self.handle = _tables().openFile(self.path, self.mode)
File "c:\python27\lib\site-packages\tables\file.py", line 230, in openFile
return File(filename, mode, title, rootUEP, filters, **kwargs)
File "c:\python27\lib\site-packages\tables\file.py", line 495, in __init__
self._g_new(filename, mode, **params)
File "hdf5Extension.pyx", line 317, in tables.hdf5Extension.File._g_new (tables\hdf5Extension.c:3039)
HDF5ExtError: HDF5 error back trace
File "..\..\hdf5-1.8.8\src\H5F.c", line 1440, in H5Fcreate
unable to create file
File "..\..\hdf5-1.8.8\src\H5F.c", line 1243, in H5F_open
unable to truncate a file which is already open
End of HDF5 error back trace
Unable to open/create file '__test__.h5'
======================================================================
ERROR: test_select_as_multiple (pandas.io.tests.test_pytables.TestHDFStore)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\code\pandas\pandas\io\tests\test_pytables.py", line 1592, in test_select_as_multiple
self.store.append('df2', df2)
File "C:\code\pandas\pandas\io\pytables.py", line 512, in append
self._write_to_group(key, value, table=True, append=True, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 664, in _write_to_group
wrapper(value)
File "C:\code\pandas\pandas\io\pytables.py", line 652, in <lambda>
complib=complib, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 808, in _write_frame_table
t.write(axes=axes, obj=df, append=append, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 2145, in write
min_itemsize=min_itemsize, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 1891, in create_axes
raise Exception("cannot find the correct atom type -> [dtype->%s] %s" % (b.dtype.name, str(detail)))
Exception: cannot find the correct atom type -> [dtype->object] list index out of range
======================================================================
ERROR: test_start_stop (pandas.io.tests.test_pytables.TestHDFStore)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\code\pandas\pandas\io\tests\test_pytables.py", line 1631, in test_start_stop
self.store.append('df', df)
File "C:\code\pandas\pandas\io\pytables.py", line 512, in append
self._write_to_group(key, value, table=True, append=True, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 664, in _write_to_group
wrapper(value)
File "C:\code\pandas\pandas\io\pytables.py", line 652, in <lambda>
complib=complib, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 808, in _write_frame_table
t.write(axes=axes, obj=df, append=append, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 2145, in write
min_itemsize=min_itemsize, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 1896, in create_axes
self.validate(existing_table)
File "C:\code\pandas\pandas\io\pytables.py", line 1532, in validate
% (c, getattr(self, c, None), getattr(other, c, None)))
Exception: invalid combinate of [non_index_axes] on appending data [[(1, ['A', 'B'])]] vs current table [[(1, ['A', 'B', 'C', 'D'])]]
======================================================================
ERROR: test_table_values_dtypes_roundtrip (pandas.io.tests.test_pytables.TestHDFStore)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\code\pandas\pandas\io\tests\test_pytables.py", line 787, in test_table_values_dtypes_roundtrip
self.store.append('df1', df1)
File "C:\code\pandas\pandas\io\pytables.py", line 512, in append
self._write_to_group(key, value, table=True, append=True, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 664, in _write_to_group
wrapper(value)
File "C:\code\pandas\pandas\io\pytables.py", line 652, in <lambda>
complib=complib, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 808, in _write_frame_table
t.write(axes=axes, obj=df, append=append, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 2145, in write
min_itemsize=min_itemsize, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 1896, in create_axes
self.validate(existing_table)
File "C:\code\pandas\pandas\io\pytables.py", line 1532, in validate
% (c, getattr(self, c, None), getattr(other, c, None)))
Exception: invalid combinate of [non_index_axes] on appending data [[(1, ['a'])]] vs current table
[[(1, ['A', 'B', 'C', 'D'])]]
======================================================================
ERROR: test_unique (pandas.io.tests.test_pytables.TestHDFStore)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\code\pandas\pandas\io\tests\test_pytables.py", line 1509, in test_unique
self.store.append('df2', df2, data_columns=['string'])
File "C:\code\pandas\pandas\io\pytables.py", line 512, in append
self._write_to_group(key, value, table=True, append=True, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 664, in _write_to_group
wrapper(value)
File "C:\code\pandas\pandas\io\pytables.py", line 652, in <lambda>
complib=complib, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 808, in _write_frame_table
t.write(axes=axes, obj=df, append=append, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 2145, in write
min_itemsize=min_itemsize, **kwargs)
File "C:\code\pandas\pandas\io\pytables.py", line 1891, in create_axes
raise Exception("cannot find the correct atom type -> [dtype->%s] %s" % (b.dtype.name, str(detail)))
Exception: cannot find the correct atom type -> [dtype->object] list index out of range
======================================================================
FAIL: test_get (pandas.io.tests.test_pytables.TestHDFStore)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\code\pandas\pandas\io\tests\test_pytables.py", line 160, in test_get
self.assertRaises(KeyError, self.store.get, 'b')
AssertionError: KeyError not raised
======================================================================
FAIL: test_keys (pandas.io.tests.test_pytables.TestHDFStore)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\code\pandas\pandas\io\tests\test_pytables.py", line 67, in test_keys
self.assertEquals(len(self.store), 5)
AssertionError: 24 != 5
======================================================================
FAIL: test_remove (pandas.io.tests.test_pytables.TestHDFStore)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\code\pandas\pandas\io\tests\test_pytables.py", line 868, in test_remove
self.assertEquals(len(self.store), 1)
AssertionError: 27 != 1
----------------------------------------------------------------------
Ran 75 tests in 12.297s
FAILED (SKIP=6, errors=6, failures=3)
C:\code\pandas>