some more information. I moved to a new ubuntu install 10.04. When i
ran ptrepack i still got the problem. When I ran ptrepack without
indexes it works. When I recreated the indexes using

calcField.createCSIndex()

I get the problem again. Here is the problem from ptdump:

/ (RootGroup) ''
/data (Table(23581,), shuffle, blosc(2)) ''
  description := {
  "fullSymbol": StringCol(itemsize=100, shape=(), dflt='', pos=0),
  "calcField": StringCol(itemsize=100, shape=(), dflt='', pos=1),
  "hhmmss": Int32Col(shape=(), dflt=0, pos=2),
  "value": Float32Col(shape=(), dflt=0.0, pos=3)}
  byteorder := 'little'
  chunkshape := (5041,)
  autoIndex := True
  colindexes := {
    "fullSymbol": Index(9, full, shuffle, zlib(1)).is_CSI=True,
    "hhmmss": Index(9, full, shuffle, zlib(1)).is_CSI=True,
    "calcField": Index(9, full, shuffle, zlib(1)).is_CSI=True}


On Wed, Sep 8, 2010 at 8:20 PM, Vineet Jain <vinjv...@gmail.com> wrote:
> IndexError: index 8589934594 out of bounds 0<=index<6
>
>  rows = mapping.tblData.where("(fullSymbol == '%s') & (calcField ==
> '%s')" % (fullSymbol, calcField.name))
> File "/usr/local/lib/python2.6/dist-packages/tables/table.py", line
> 1187, in where
>  return self._where(condition, condvars, start, stop, step)
> File "/usr/local/lib/python2.6/dist-packages/tables/table.py", line
> 1209, in _where
>  self, compiled, condition, condvars, start, stop, step)
> File "/usr/local/lib/python2.6/dist-packages/tables/_table_pro.py",
> line 213, in _table__whereIndexed
>  chunkmap = index.get_chunkmap()
> File "/usr/local/lib/python2.6/dist-packages/tables/index.py", line
> 1969, in get_chunkmap
>  chunkmap[idx] = True
>
> This used to work and I can open the data file with vitables.
>

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to