Let me post something else to complete the question:
This error occurs when I am inserting some data in db.
And in my own views! From admin page everything is ok.

Sorry for the late explanation post! But I was in a hurry to finish
the company jobs.

thanks
CA


2009/9/14 mdipierro <[email protected]>:
>
> Can we see lines 60-70 from this ticket?
>
> On Sep 14, 5:11 am, Carlos Aboim <[email protected]> wrote:
>> Hi group,
>>
>> I have an app that is working ok execpt I am getting a id error from
>> DB
>>
>> Traceback (most recent call last):
>>   File "/Users/preimpressao/Desktop/web2py/gluon/restricted.py", line
>> 178, in restricted
>>     exec ccode in environment
>>   File "/Users/preimpressao/Desktop/web2py/applications/registos/views/
>> obras/index.html", line 64, in <module>
>>   File "/Users/preimpressao/Desktop/web2py/gluon/sql.py", line 537, in
>> __getattr__
>>     return dict.__getitem__(self,key)
>> KeyError: 'id'
>>
>> is it suficient to get a clue?
>>
>> thanks for the help
>> CA
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to