Hi Jan,

Can you please send a small script reproducing the problem? It should be a 
case that it is not tested in the current suite, and I'd like to add it.

Thanks,

A Dijous 28 Desembre 2006 23:09, Jan Strube escrigué:
> After installing pytables 1.4, I have the following problem:
> The code has worked without problems in 1.3, so I am quite surprised by
> this.
> Please let me know if I can provide additional information that might help
> shed light on this.
> Thanks,
>     Jan
>
>   File "convertChain.py", line 112, in processLambdaSample
>     candidates = f.createTable(group, 'B_candidates', candidate_class,
> 'reconstructed B candidates', filters=Filters(complevel=9,
> complib='bzip2'), expectedrows=number_of_B)
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/File.py", line 769, in createTable
>     filters=fprops, expectedrows=expectedrows)
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/Table.py", line 354, in __init__
>     super(Table, self).__init__(parentNode, name, new, filters, _log)
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/Leaf.py", line 265, in __init__
>     super(Leaf, self).__init__(parentNode, name, _log)
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/Node.py", line 289, in __init__
>     self._f_close()
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/Table.py", line 1983, in _f_close
>     self.flush()
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/Table.py", line 1936, in flush
>     rowsadded = self.flushRowsToIndex()
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/Table.py", line 1696, in flushRowsToIndex
>     if self.indexed and self._unsaved_indexedrows >= self._minrowsforindex:
> AttributeError: 'Table' object has no attribute '_minrowsforindex'
> Error in atexit._run_exitfuncs:
> Traceback (most recent call last):
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/atexit.py", line
> 24, in _run_exitfuncs
>     func(*targs, **kargs)
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/File.py", line 2179, in close_open_files
>     fileh.close()
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/File.py", line 2014, in close
>     lambda path: self._reviveNode(path, useNode=False))
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/File.py", line 1971, in _closeNodes
>     node._f_close()
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/Table.py", line 1983, in _f_close
>     self.flush()
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/Table.py", line 1936, in flush
>     rowsadded = self.flushRowsToIndex()
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/Table.py", line 1696, in flushRowsToIndex
>     if self.indexed and self._unsaved_indexedrows >= self._minrowsforindex:
> AttributeError: 'Table' object has no attribute '_minrowsforindex'
> Error in sys.exitfunc:
> Closing remaining opened files...
> /u/br/jstrube/work/Tuples/SP-4767_LambdaTuples.h5...
> Traceback (most recent call last):
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/atexit.py", line
> 34, in _run_exitfuncs
>     raise exc_info[0], exc_info[1], exc_info[2]
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/atexit.py", line
> 24, in _run_exitfuncs
>     func(*targs, **kargs)
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/File.py", line 2179, in close_open_files
>     fileh.close()
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/File.py", line 2014, in close
>     lambda path: self._reviveNode(path, useNode=False))
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/File.py", line 1971, in _closeNodes
>     node._f_close()
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/Table.py", line 1983, in _f_close
>     self.flush()
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/Table.py", line 1936, in flush
>     rowsadded = self.flushRowsToIndex()
>   File
> "/nfs/slac/g/lcd/mc/prj/sw/extern/python2.4/lib/python2.4/site-packages/tab
>les/Table.py", line 1696, in flushRowsToIndex
>     if self.indexed and self._unsaved_indexedrows >= self._minrowsforindex:
> AttributeError: 'Table' object has no attribute '_minrowsforindex'

-- 
>0,0<   Francesc Altet     http://www.carabos.com/
V   V   Cárabos Coop. V.   Enjoy Data
 "-"

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to