Hi people, I have an application that is being used in production almost one year. Today I was making an update in local development environemnt and got the error below. I tried to use other functions where the SQLFORM.grid is used too and got the same error.
Traceback (most recent call last): File "/home/andre/Projetos/web2py/gluon/restricted.py", line 219, in restricted exec(ccode, environment) File "/home/andre/Projetos/web2py/applications/nwproducao/controllers/adm.py" <http://127.0.0.1:8000/admin/default/edit/nwproducao/controllers/adm.py>, line 1192, in <module> File "/home/andre/Projetos/web2py/gluon/globals.py", line 421, in <lambda> self._caller = lambda f: f() File "/home/andre/Projetos/web2py/applications/nwproducao/controllers/adm.py" <http://127.0.0.1:8000/admin/default/edit/nwproducao/controllers/adm.py>, line 53, in lista fields=field_list) File "/home/andre/Projetos/web2py/gluon/sqlhtml.py", line 2859, in grid page = safe_int(request.vars.page, 1) - 1 File "/home/andre/Projetos/web2py/gluon/sqlhtml.py", line 108, in safe_int return int(x) TypeError: int() argument must be a string or a number, not 'NoneType' Thanks for your help. BR André -- 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.