[Some of you keep sending messages from unsubscribed addresses.  I very 
rarely check for such a messages so, *PLEASE* do not do that if you want 
to receive some answers to your questions.  Thanks!]

--------------------------------------------------------------------------
De: "David Briant" <david.bri...@tradingroomassociates.com>
A: pytables-users@lists.sourceforge.net
Data: Ahir 09:14:07
   
Hi

In my File I currently have 160 tables with a CSIndex on one column. At
least one of the tables has no data. I get the following message when I
attempt to display the File object in a command line:

Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "c:\python26qv\lib\site-packages\tables\file.py", line 2217, in
__repr__
    astring += repr(node) + '\n'
  File "c:\python26qv\lib\site-packages\tables\node.py", line 61, in
newmethod
    return oldmethod(self)
  File "c:\python26qv\lib\site-packages\tables\table.py", line 2568, in
__repr__
    _ColIndexes(self.colindexes) )
  File "c:\python26qv\lib\site-packages\tables\table.py", line 122, in
__repr__
    rep = [ '  \"%s\": %s' % (k, self[k]) for k in self.keys()]
  File "c:\python26qv\lib\site-packages\tables\node.py", line 61, in
newmethod
    return oldmethod(self)
  File "c:\python26qv\lib\site-packages\tables\index.py", line 2055, in
__str__
    (self.optlevel, self.kind, filters, self.is_CSI)
  File "c:\python26qv\lib\site-packages\tables\index.py", line 261, in
_is_CSI
    self.compute_overlaps(self, None, False)
  File "c:\python26qv\lib\site-packages\tables\index.py", line 1600, in
compute_overlaps
    erange = float(ranges[-1,1]) - float(ranges[0,0])
IndexError: index (-1) out of range (0<=index<0) in dimension 0
tsdb.close()
openTSDB()
tsdb
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "c:\python26qv\lib\site-packages\tables\file.py", line 2217, in
__repr__
    astring += repr(node) + '\n'
  File "c:\python26qv\lib\site-packages\tables\node.py", line 61, in
newmethod
    return oldmethod(self)
  File "c:\python26qv\lib\site-packages\tables\table.py", line 2568, in
__repr__
    _ColIndexes(self.colindexes) )
  File "c:\python26qv\lib\site-packages\tables\table.py", line 122, in
__repr__
    rep = [ '  \"%s\": %s' % (k, self[k]) for k in self.keys()]
  File "c:\python26qv\lib\site-packages\tables\node.py", line 61, in
newmethod
    return oldmethod(self)
  File "c:\python26qv\lib\site-packages\tables\index.py", line 2055, in
__str__
    (self.optlevel, self.kind, filters, self.is_CSI)
  File "c:\python26qv\lib\site-packages\tables\index.py", line 261, in
_is_CSI
    self.compute_overlaps(self, None, False)
  File "c:\python26qv\lib\site-packages\tables\index.py", line 1600, in
compute_overlaps
    erange = float(ranges[-1,1]) - float(ranges[0,0])
IndexError: index (-1) out of range (0<=index<0) in dimension 0

-- 
Francesc Alted

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to