Hello! I use windows binaries (2.18.5-stable+timestamp.2019.04.08.04.22.03) and get *'NoneType' object is not callable* when call this simple function:
from gluon.tools import Storage @service.json def echo(): return Storage(a=1) # return dict(a=1) - works fine 5048. 5049. 5050. 5051. 5052. 5053. 5054. 5055. 5056. 5057. args = request.args d = dict(request.vars) if args and args[0] in self.json_procedures: s = self.call_service_function(self.json_procedures[args[0]], *args[1:], **d) if hasattr(s, 'as_list'): s = s.as_list() # - the problem is here return response.json(s) self.error() class JsonRpcException(Exception): Is that the windows-bin only issue? -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/d5f5777b-ae87-48de-9350-0df1633d91c1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.