This was fixed in trunk some time ago
On Jul 25, 2:24 am, toan75 <[email protected]> wrote: > Error when call the databales function directly and/or call > call/json/datatables > (I try again universal_caller function from old version (1.96.4), it works > fine.) > > Traceback (most recent call last): > File "D:\web2py197\gluon\restricted.py", line 192, in restricted > exec ccode in environment > File "D:/web2py197/applications/sonn/controllers/plugin_admin.py" > <http://127.0.0.1:8000/admin/default/edit/sonn/controllers/plugin_admi...>, > line 1027, in <module> > File "D:\web2py197\gluon\globals.py", line 137, in <lambda> > self._caller = lambda f: f() > File "D:/web2py197/applications/sonn/controllers/plugin_admin.py" > <http://127.0.0.1:8000/admin/default/edit/sonn/controllers/plugin_admi...>, > line 26, in call > return service() > File "D:\web2py197\gluon\tools.py", line 3918, in __call__ > return self.serve_json(request.args[1:]) > File "D:\web2py197\gluon\tools.py", line 3734, in serve_json > s = universal_caller(self.json_procedures[args[0]],*args[1:],**d) > File "D:\web2py197\gluon\tools.py", line 3404, in universal_caller > pos_args = n[0:-len(defaults)] > TypeError: object of type 'NoneType' has no len()

