admittedly doing this all on localhost: I define a controller function like so (in default)
@service.jsonrpc @service.jsonrpc2 def add(a,b): return a+b and then try to evaluate it using the code in the book, dressed up as another controller so I can take advantage of debugging def test_service(): from gluon.contrib.simplejsonrpc import ServerProxy URL = "http://127.0.0.1:8000/wemissedyou/default/call/jsonrpc2" service = ServerProxy(URL,verbose=False) res = service.add(1,2) return {'result':res} A ticket is generated: It's breaking here: File /home/www-data/web2py/gluon/contrib/simplejsonrpc.py in __init__ at line 37 which is value = "%s: %s\n%s" % (code, message, '\n'.join(data)) Variables code 0 message 'JSON Request ID != Response ID' '\n'.join <built-in method join of str object> data None value undefined any clues? -- 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.