While looking at the code I noticed the function:

tables.tableExtension.getNestedFieldCache

does a try except block on every row lookup like row[0], row[1]. Is
that not going to be rather slow?

Vineet


On Sun, Aug 15, 2010 at 10:53 AM, Vineet Jain <vinjv...@gmail.com> wrote:
> Ok found the problem. I was doing a raise in my application and
> somehow the try except block was printing the last know exception
> which was a pytables exception.
>
> Vineet
>
>
> On Sun, Aug 15, 2010 at 10:36 AM, Vineet Jain <vinjv...@gmail.com> wrote:
>> Another exception:
>>
>>  File "lrucacheExtension.pyx", line 590, in tables.lrucacheExtension.getslot_
>> KeyError: 3518L
>>
>> What is strange is that I've looked at the code of pytables in both
>> the instances it is surrounded by try except KeyError blocks. So don't
>> understand how I can get these exception? They seem to be random and
>> not at the same place.
>>
>> Any ideas?
>>
>> On Sun, Aug 15, 2010 at 9:47 AM, Vineet Jain <vinjv...@gmail.com> wrote:
>>> I'm getting the following error:
>>>
>>>
>>>  File "tableExtension.pyx", line 126, in
>>> tables.tableExtension.getNestedFieldCache
>>> KeyError: 2
>>>
>>>
>>> And the exception stack is not showing the correct place where it is
>>> getting called. Any idea on why the exception stack is not correct.
>>> Also is it possible to find out what pytables db file it is trying to
>>> access?
>>>
>>> Thanks,
>>>
>>> Vineet
>>>
>>
>

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

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to