Hello Richard,

Do you means those lines :

        for ofield in self:
            if not ofield.name in new_fields_names and ofield.compute:
                #try:
                new_fields.append((ofield,ofield.compute(Row(fields))))
                #except KeyError:
                #    pass

Around line 5583 in dal.py in web2py 1.99.4

??

Richard

On Tue, Jan 3, 2012 at 5:38 PM, Richard Vézina
<[email protected]>wrote:

> Thanks! I do that...
>
> Richard
>
>
> On Tue, Jan 3, 2012 at 5:12 PM, Richard Galka <[email protected]>wrote:
>
>>  A quick and dirty way to check what is going on is to add debug
>> statements in the web2py dal.py code.
>>
>> I had a similiar issue, and the quickest way I found to check why compute
>> failed was to remove the "except KeyError" in the "def _lisitfy" of dal.py.
>> Then an error is thrown whenever the compute method fails, and you can view
>> all the data, session, etc... in web2py
>>
>> Good luck!
>> -- Richard
>>
>
>

Reply via email to