I am having difficulty tracing anything on this. I tried testing by populating the tables, deleting the database and populating manually, and am pretty clueless here. Is there anything wrong with the following?
*error info:* it looks like the AttributeError is raised when response.write(request.now.year) is called Function argument list (self=<Row {'data1': 0L, 'modified_by': 1L, 'name': ... 7, 12, 0, 16, 44), 'submits': [], 'id': 2L}>, key='now') *table, controller function, view definitions:*db.define_table('request', Field('name','string', label=T('Name'),requires=IS_NOT_EMPTY()), Field('tinfo','string', label=T('Info'),requires=IS_NOT_EMPTY()), Field('notes','text',label=T('Notes')), Field('data1','integer',default=0, readable=False, writable=False), Field('submits','list:reference submits', readable=False, writable=False), Field('is_open','boolean',default=True, readable=False, writable=False), auth.signature) the function in controller: @auth.requires_login() def reach_by_vera(): page = request.args(0, cast=int, default=0) start = page * PER_PAGE stop = start + PER_PAGE rows = db(db.request.id>0).select(orderby=~db.request.data1, limitby=(start, stop)) return locals() the view: {{extend 'layout.html'}} <h1>ratchet</h1> {{for r in rows:}} <div class="well"> {{=r.name}} </div> {{pass}} Thank you. Any help much appreciated -- 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.