> The problem is supposed to be in this line:
> persons = crud.select(db.person, fields=['name'],
> headers={'person.name': 'Name'})
There is a typo, the last line shoul be:

headers={{'person.name': 'Name'})



2011/1/10 Massimo Di Pierro <massimo.dipie...@gmail.com>

> Nothing. Can we see more of the code?
>
> On Jan 10, 1:47 pm, AW <a2y2w...@gmail.com> wrote:
> > I tried to run the .../default/people request after I put a simple
> > view in place:
> >
> > {{extend 'layout.html'}}
> >
> > {{=form}}
> >
> > And I just got this error message:
> > "
> > Error snapshot
> > Detailed traceback description
> > Exception: <type 'exceptions.KeyError'>('person')
> > "
> >
> > The problem is supposed to be in this line:
> > persons = crud.select(db.person, fields=['name'],
> > headers={'person.name': 'Name'})
> >
> > What's wrong with that? Thanks.
>



-- 
Atenciosamente


Alexandre Andrade
Hipercenter.com Classificados Gratuitos e Inteligentes

Reply via email to