Hi there,
Just updated to latest version: 1.99.4 (2012-02-04 10:13:29) stable as
of ten minutes ago.
The following is now producing an error whenever I try and use the
smartgrid like so:
def manage_feedback():
grid = SQLFORM.smartgrid(db.feedback)
return locals()
(I'm running on GAE if that makes a difference).
INFO 2012-02-07 03:32:28,512 dev_appserver.py:2884] "GET /admin/
manage_feedback HTTP/1.1" 500 -
ERROR 2012-02-07 03:36:39,404 restricted.py:155] Traceback (most
recent call last):
File "/Projects/www/app/gluon/restricted.py", line 204, in
restricted
exec ccode in environment
File "/Projects/www/app/applications/app/controllers/admin.py", line
67, in <module>
File "/Projects/www/app/gluon/globals.py", line 172, in <lambda>
self._caller = lambda f: f()
File "/Projects/www/app/gluon/tools.py", line 2567, in f
return action(*a, **b)
File "/Projects/www/app/applications/app/controllers/admin.py", line
59, in manage_feedback
grid = SQLFORM.smartgrid(db.feedback)
File "/Projects/www/app/gluon/sqlhtml.py", line 1986, in smartgrid
user_signature=user_signature,**kwargs)
File "/Projects/www/app/gluon/sqlhtml.py", line 1786, in grid
if row_id:
NameError: global name 'row_id' is not defined
Thanks,
Matt