Cool.....

On Tue, Oct 4, 2011 at 3:07 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:

> Wait
>
>
> On Oct 4, 1:15 pm, joseph simpson <jjs0...@gmail.com> wrote:
> > Just a not to check of the current status of:
> >
> > The basket book listed below and
> >
> > The Official Version 4 Web2py book.
> >
> > Would it be best to buy the Web2py 3.1 edition in paper ...
> >
> > Or wait for version 4...
> >
> > Take care,
> >
> > Joe
> >
> > On Thu, Aug 18, 2011 at 4:41 PM, Massimo Di Pierro <
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > massimo.dipie...@gmail.com> wrote:
> > > Actually I just killed myself in the foot... I am writing a packt book
> > > with some other members of the list. Have to deliver it in 5 days.
> > > Today 10-20% of the book recipes become obsolete and I have to rewrite
> > > them. At the same time I am not ready to commit to the API of the new
> > > SQLFORM.grid.  :-(
> >
> > > On Aug 18, 6:32 pm, mart <msenecal...@gmail.com> wrote:
> > > > WOW! Thank you! this is awesome!!!!! :)
> >
> > > > Mart :)
> >
> > > > On Aug 18, 5:03 pm, Massimo Di Pierro <massimo.dipie...@gmail.com>
> > > > wrote:
> >
> > > > > This is a new API so it expects a new syntax for represent that
> takes
> > > > > two arguments. The second argument is the record.
> >
> > > > > On Aug 18, 2:47 pm, pbreit <pbreitenb...@gmail.com> wrote:
> >
> > > > > > I'm getting errors on my tables. auth_user works OK but I get
> these
> > > errors
> > > > > > on three of my other tables.
> >
> > > > > > Traceback (most recent call last):
> > > > > >   File "/Users/pbreit/web2py/gluon/restricted.py", line 194, in
> > > restricted
> > > > > >     exec ccode in environment
> > > > > >   File
> > > "/Users/pbreit/web2py/applications/init/controllers/default.py" <
> > >http://pb-dev.pricetack.com:8001/admin/edit/init/controllers/default.py
> >,
> > > line 107, in <module>
> > > > > >   File "/Users/pbreit/web2py/gluon/globals.py", line 145, in
> <lambda>
> > > > > >     self._caller = lambda f: f()
> > > > > >   File
> > > "/Users/pbreit/web2py/applications/init/controllers/default.py" <
> > >http://pb-dev.pricetack.com:8001/admin/edit/init/controllers/default.py
> >,
> > > line 12, in grid
> > > > > >     table = SQLFORM.grid(db.purchase)
> > > > > >   File "/Users/pbreit/web2py/gluon/sqlhtml.py", line 1408, in
> grid
> > > > > >     value=field.represent(value,row)
> > > > > >   File "/Users/pbreit/web2py/gluon/dal.py", line 3730, in
> repr_ref
> > > > > >     def repr_ref(id, r=referenced, f=ff): return f(r, id)
> > > > > >   File "/Users/pbreit/web2py/gluon/dal.py", line 3699, in ff
> > > > > >     row=r(id)
> > > > > >   File "/Users/pbreit/web2py/gluon/dal.py", line 3805, in
> __call__
> > > > > >     return self.__getitem__(key)
> > > > > >   File "/Users/pbreit/web2py/gluon/dal.py", line 3802, in
> __getitem__
> > > > > >     return dict.__getitem__(self, key)
> > > > > > KeyError: '1'
> >
> > > > > > Traceback (most recent call last):
> > > > > >   File "/Users/pbreit/web2py/gluon/restricted.py", line 194, in
> > > restricted
> > > > > >     exec ccode in environment
> > > > > >   File
> > > "/Users/pbreit/web2py/applications/init/controllers/default.py" <
> > >http://pb-dev.pricetack.com:8001/admin/edit/init/controllers/default.py
> >,
> > > line 107, in <module>
> > > > > >   File "/Users/pbreit/web2py/gluon/globals.py", line 145, in
> <lambda>
> > > > > >     self._caller = lambda f: f()
> > > > > >   File
> > > "/Users/pbreit/web2py/applications/init/controllers/default.py" <
> > >http://pb-dev.pricetack.com:8001/admin/edit/init/controllers/default.py
> >,
> > > line 12, in grid
> > > > > >     table = SQLFORM.grid(db.item)
> > > > > >   File "/Users/pbreit/web2py/gluon/sqlhtml.py", line 1408, in
> grid
> > > > > >     value=field.represent(value,row)
> > > > > > TypeError: <lambda>() takes exactly 1 argument (2 given)
> >
> > --
> > Joe Simpson
> >
> > Sent From My DROID!!
>



-- 
Joe Simpson

Sent From My DROID!!

Reply via email to