I seem to be having the same problem. 

On Sunday, May 24, 2015 at 6:58:26 PM UTC-5, villas wrote:
>
> Hi All,
>
> Can someone see what the problem is please?
>
> db.define_table('tag', Field('name'))    
> db.define_table('test',Field('name'),Field('tags','list:reference tag'))
>
> def test():    
>     grid = SQLFORM.grid(db.test, user_signature = False)
>     return dict(grid=grid)
>
> Navigate to function test,  try using the grid. Save a record etc and view 
> it.....
>
> Traceback (most recent call last):
>   File "C:\Users\David\Documents\GitHub\web2py\gluon\restricted.py", line 
> 227, in restricted
>     exec ccode in environment
>   File 
> "C:/Users/David/Documents/GitHub/web2py/applications/owners/controllers/default.py"
>  <http://localhost:8000/admin/default/edit/owners/controllers/default.py>, 
> line 181, in <module>
>   File "C:\Users\David\Documents\GitHub\web2py\gluon\globals.py", line 403, 
> in <lambda>
>     self._caller = lambda f: f()
>   File 
> "C:/Users/David/Documents/GitHub/web2py/applications/owners/controllers/default.py"
>  <http://localhost:8000/admin/default/edit/owners/controllers/default.py>, 
> line 139, in test
>     grid = SQLFORM.grid(db.test, fields=[db.test.id,db.test.name], 
> user_signature = False)
>   File "C:\Users\David\Documents\GitHub\web2py\gluon\sqlhtml.py", line 2252, 
> in grid
>     view_form = SQLFORM(table, record, **sqlformargs)
>   File "C:\Users\David\Documents\GitHub\web2py\gluon\sqlhtml.py", line 1203, 
> in __init__
>     inp = represent(field, default, record)
>   File "C:\Users\David\Documents\GitHub\web2py\gluon\sqlhtml.py", line 68, in 
> represent
>     return f(value)
>   File 
> "C:\Users\David\Documents\GitHub\web2py\gluon\packages\dal\pydal\helpers\methods.py",
>  line 268, in __call__
>     if isinstance(db._adapter, GoogleDatastoreAdapter):
> TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and 
> types
>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to