PyTables中的这个错误是什么?

时间:2015-08-31 15:24:26

标签: python pandas hdf5 pytables

我在python中通过pytables使用pandas。我正在尝试使用pandas.read_hdf()加载文件,但我收到了这个令人讨厌的错误。我希望我没有丢失我的1.1演出不可替代的数据。我在保存过程中没有看到任何错误。一切似乎都很好。

有人可以解释这个错误在说什么吗?

另外,有什么方法可以恢复吗?

HDF5ExtError: HDF5 error back trace

  File "H5Dio.c", line 174, in H5Dread
    can't read data
  File "H5Dio.c", line 449, in H5D_read
    can't read data
  File "H5Dchunk.c", line 1729, in H5D_chunk_read
    unable to read raw data chunk
  File "H5Dchunk.c", line 2755, in H5D_chunk_lock
    unable to read raw data chunk
  File "H5Fio.c", line 113, in H5F_block_read
    read through metadata accumulator failed
  File "H5Faccum.c", line 254, in H5F_accum_read
    driver read request failed
  File "H5FDint.c", line 142, in H5FD_read
    driver read request failed
  File "H5FDsec2.c", line 720, in H5FD_sec2_read
    addr overflow, addr = 1108161578, size=7512, eoa=1108155712

1 个答案:

答案 0 :(得分:3)

类似的问题是here

底线。你的文件被塞了。无法从中恢复。这是特别警告(使用多个线程/进程作为编写者)。请参阅文档here

对于作家来说,HDF5不是线程安全/进程安全的。