test SQLFORM.grid() export TSV, return error:
Traceback (most recent call last):
File "/Users/MacBookPro/site/web2py/gluon/restricted.py", line 219, in
restricted
exec(ccode, environment)
File "/home/test/web2py/applications/test/controllers/system.py", line
240, in <module>
File "/Users/MacBookPro/site/web2py/gluon/globals.py", line 414, in
<lambda>
self._caller = lambda f: f()
File "/home/test/web2py/applications/test/controllers/system.py", line
60, in user
oncreate, onupdate, ondelete, paginate)
File "applications/test/modules/test_system.py", line 15, in grid_0
ondelete = ondelete, paginate = paginate)
File "/Users/MacBookPro/site/web2py/gluon/sqlhtml.py", line 2601, in grid
raise HTTP(200, oExp.export(), **response.headers)
File "/Users/MacBookPro/site/web2py/gluon/sqlhtml.py", line 3623, in
export
records = self.represented()
File "/Users/MacBookPro/site/web2py/gluon/sqlhtml.py", line 3574, in
represented
field = self.rows.db[t][f]
File "/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/base.py",
line 663, in __getitem__
return self.__getattr__(str(key))
File "/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/base.py",
line 670, in __getattr__
return BasicStorage.__getattribute__(self, key)
AttributeError: 'DAL' object has no attribute '"auth_user"'
best regards,
stifan
--
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.