Yes, noticed that in the traceback -- that's why I asked -- assumed you were using that version intentionally (web2py defaults to the system installed pydal, as seen here <https://github.com/web2py/web2py/blob/master/gluon/__init__.py#L19>). I think the current web2py is using an earlier version of pydal, so maybe try to use the correct pydal.
Anthony On Thursday, September 29, 2016 at 9:52:49 PM UTC-4, Peter wrote: > > > Just realised that the traceback shows web2py is using the system > installed python pydal > > /usr/local/lib/python2.7/dist-packages/pydal > > all the files under this are dated May 17 > > > > > also > > this is a similar call that works fine > > > invoice_id = request.args( 0 ) > invoice = db.invoice[invoice_id] or redirect( error_page ) > form = crud.read( db.invoice, invoice ) > return dict( form=form ) > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.