now receive error: <type 'exceptions.SyntaxError'> Set: no tables selected
HTML
{{=personID.last_name}}
CONTROLLER
@auth.requires_login()
def view_user_profile():
personID=db(db.auth_user(request.args(0))).select()
return locals()
ERROR REPORT
locals
args_get:<built-in method get of dict object>attributes:{}fields:[]query:<Row
{'last_name': 'babatunde', 'modified_by': 4...on': datetime.datetime(2014,
5, 25, 18, 13, 32)}>self:<gluon.dal.SQLiteAdapter object>tablenames:[]
tablenames_for_common_filters:[]tables:<bound method SQLiteAdapter.tables
of <gluon.dal.SQLiteAdapter object>>
request
ajax:Falseapplication:ES1args:7
PATH_INFO:/ES1/default/view_user_profile/7
--
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.