Can you show us minimalist code to reproduce the problem? On Tuesday, 11 August 2015 23:03:24 UTC-5, Michael Beller wrote: > > I was using web2py 2.10.4 and encountered the error using list:reference: > <type 'exceptions.TypeError'> isinstance() arg 2 must be a class, type, or > tuple of classes and types > > I then upgraded to 2.12.2 and applied this fix > <https://github.com/web2py/pydal/commit/2172b776b9c41884717902e68900b41c105e0364#diff-114ce07f361177e0669ec9a374ef7d6a> > > that others referenced in the forums having the same problem. > > Now I'm getting this error: > <type 'exceptions.AttributeError'> 'long' object has no attribute 'id' > > The error occurs in the render() function when applied to a query. > > File > "/Users/MichaelBeller/Dev/w2p-enriched/gluon/packages/dal/pydal/helpers/methods.py", > line 279, in __call__ > _fieldformat(self.ref, x.id) for x in value) or '' > File > "/Users/MichaelBeller/Dev/w2p-enriched/gluon/packages/dal/pydal/helpers/methods.py", > line 279, in <genexpr> > _fieldformat(self.ref, x.id) for x in value) or '' > AttributeError: 'long' object has no attribute 'id' > > Does anybody else have this problem? > > Thanks. > >
-- 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.