Skip to content

nosetest failed for pandas 0.16.0 #9992

Closed
@leo4183

Description

@leo4183

Hi there,

I recently upgraded pandas from 0.15.1 to 0.16.0. after running the nosetest i got the following error msgs. wondering if anything series (i tested HDF5 writing/reading. everything looks normal).

ERROR: test_conv_read_write (pandas.io.tests.test_pytables.TestHDFStore)

Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/pandas/io/tests/test_pytables.py", line 205, in test_conv_read_write
assert_series_equal(o, roundtrip('series',o))
File "/usr/local/lib/python3.4/site-packages/pandas/io/tests/test_pytables.py", line 201, in roundtrip
obj.to_hdf(self.path, key,*_kwargs)
File "/usr/local/lib/python3.4/site-packages/pandas/core/generic.py", line 913, in to_hdf
return pytables.to_hdf(path_or_buf, key, self, *_kwargs)
File "/usr/local/lib/python3.4/site-packages/pandas/io/pytables.py", line 266, in to_hdf
complib=complib) as store:
File "/usr/local/lib/python3.4/site-packages/pandas/io/pytables.py", line 396, in init
self.open(mode=mode, *_kwargs)
File "/usr/local/lib/python3.4/site-packages/pandas/io/pytables.py", line 536, in open
self._handle = tables.open_file(self._path, 'r', *_kwargs)
File "/usr/local/lib/python3.4/site-packages/tables/file.py", line 318, in open_file
return File(filename, mode, title, root_uep, filters, *_kwargs)
File "/usr/local/lib/python3.4/site-packages/tables/file.py", line 791, in init
self._g_new(filename, mode, *_params)
File "hdf5extension.pyx", line 359, in tables.hdf5extension.File._g_new (tables/hdf5extension.c:3756)
File "/usr/local/lib/python3.4/site-packages/tables/utils.py", line 157, in check_file_access
raise IOError("%s does not exist" % (filename,))
nose.proxy.OSError: tmp.__5JMnSD5gVu__.h5 does not exist
-------------------- >> begin captured stdout << ---------------------
Opening tmp.5JMnSD5gVu.h5 in read-only mode

--------------------- >> end captured stdout << ----------------------

ERROR: test_copy (pandas.io.tests.test_pytables.TestHDFStore)

Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/pandas/io/tests/test_pytables.py", line 4331, in test_copy
st = HDFStore(self.path)
File "/usr/local/lib/python3.4/site-packages/pandas/io/pytables.py", line 396, in init
self.open(mode=mode, *_kwargs)
File "/usr/local/lib/python3.4/site-packages/pandas/io/pytables.py", line 536, in open
self._handle = tables.open_file(self._path, 'r', *_kwargs)
File "/usr/local/lib/python3.4/site-packages/tables/file.py", line 318, in open_file
return File(filename, mode, title, root_uep, filters, *_kwargs)
File "/usr/local/lib/python3.4/site-packages/tables/file.py", line 791, in init
self._g_new(filename, mode, *_params)
File "hdf5extension.pyx", line 359, in tables.hdf5extension.File._g_new (tables/hdf5extension.c:3756)
File "/usr/local/lib/python3.4/site-packages/tables/utils.py", line 157, in check_file_access
raise IOError("%s does not exist" % (filename,))
nose.proxy.OSError: tmp.__NZTYQk5IW2__.h5 does not exist
-------------------- >> begin captured stdout << ---------------------
Opening tmp.NZTYQk5IW2.h5 in read-only mode

--------------------- >> end captured stdout << ----------------------

ERROR: test_factory_fun (pandas.io.tests.test_pytables.TestHDFStore)

Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/pandas/io/tests/test_pytables.py", line 160, in test_factory_fun
with get_store(self.path) as tbl:
File "/usr/local/lib/python3.4/site-packages/pandas/io/pytables.py", line 1273, in get_store
return HDFStore(path, *_kwargs)
File "/usr/local/lib/python3.4/site-packages/pandas/io/pytables.py", line 396, in init
self.open(mode=mode, *_kwargs)
File "/usr/local/lib/python3.4/site-packages/pandas/io/pytables.py", line 536, in open
self._handle = tables.open_file(self._path, 'r', *_kwargs)
File "/usr/local/lib/python3.4/site-packages/tables/file.py", line 318, in open_file
return File(filename, mode, title, root_uep, filters, *_kwargs)
File "/usr/local/lib/python3.4/site-packages/tables/file.py", line 791, in init
self._g_new(filename, mode, **params)
File "hdf5extension.pyx", line 359, in tables.hdf5extension.File._g_new (tables/hdf5extension.c:3756)
File "/usr/local/lib/python3.4/site-packages/tables/utils.py", line 157, in check_file_access
raise IOError("%s does not exist" % (filename,))
nose.proxy.OSError: tmp.__lL9hBPXiYa__.h5 does not exist
-------------------- >> begin captured stdout << ---------------------
Opening tmp.lL9hBPXiYa.h5 in read-only mode

--------------------- >> end captured stdout << ----------------------

my python/pandas environment (Redhat server v6.5):

certifi (14.05.14)
Cython (0.21.1)
ipython (2.3.1)
jieba3k (0.35.1)
Jinja2 (2.7.3)
lxml (3.4.0)
MarkupSafe (0.23)
matplotlib (1.4.2)
mysql-connector-python (2.0.2)
nltk (3.0.1)
nose (1.3.4)
numexpr (2.4)
numpy (1.8.2)
openpyxl (1.6.1)
oursql (0.9.4)
pandas (0.16.0)
patsy (0.3.0)
pip (1.5.6)
pyparsing (2.0.3)
pyreadline (2.0)
python-dateutil (2.2)
pytz (2014.9)
pyzmq (14.4.1)
scipy (0.14.0)
setuptools (2.1)
six (1.8.0)
SQLAlchemy (0.9.8)
statsmodels (0.6.0)
tables (3.1.1)
tornado (4.0.2)
xlrd (0.9.3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    IO HDF5read_hdf, HDFStoreTestingpandas testing functions or related to the test suite

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions