I need to create a PyTables table that has a large number of columns - just over 2000. I get an error when trying to create the table.
I attached a Python script that will reproduce the error. I copied the initial output from tables.test() below, which shows the versions of all the libraries on my machine. I also copied the error message. Any ideas on a cause and a solution? Is there a hard limit on the maximum number of columns in a table? Thanks for your help, Josh Ayers tables.test() output: PyTables version: 2.2 HDF5 version: 1.8.5 NumPy version: 1.5.0b2 Numexpr version: 1.3.1 (not using Intel's VML/MKL) Zlib version: 1.2.3 (in Python interpreter) BZIP2 version: 1.0.5 (10-Dec-2007) Blosc version: 1.0 (2010-07-01) Python version: 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] Byte-ordering: little Detected cores: 2 Error message: Traceback (most recent call last): File "C:\Documents and Settings\jayers\Desktop\table_creation_error.py", line 15, in <module> h.createTable('/','data',dtype) File "C:\Program Files (x86)\python27\lib\site-packages\tables\file.py", line 761, in createTable chunkshape=chunkshape, byteorder=byteorder) File "C:\Program Files (x86)\python27\lib\site-packages\tables\table.py", line 592, in __init__ byteorder, _log) File "C:\Program Files (x86)\python27\lib\site-packages\tables\leaf.py", line 291, in __init__ super(Leaf, self).__init__(parentNode, name, _log) File "C:\Program Files (x86)\python27\lib\site-packages\tables\node.py", line 296, in __init__ self._v_objectID = self._g_create() File "C:\Program Files (x86)\python27\lib\site-packages\tables\table.py", line 747, in _g_create self._v_new_title, self.filters.complib or '', obversion ) File "tableExtension.pyx", line 194, in tables.tableExtension.Table._createTable (tables\tableExtension.c:2089) HDF5ExtError: Problems creating the table
table_creation_error.py
Description: Binary data
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users