brukva icon indicating copy to clipboard operation
brukva copied to clipboard

'Message' object is not iterable

Open trbck opened this issue 13 years ago • 0 comments

after doing curl http://localhost:8080/msg -d 'message=Hello!'

I get:

ERROR:root:Exception in callback <tornado.stack_context._StackContextWrapper object at 0x1013a0890> Traceback (most recent call last): File "/Library/Python/2.6/site-packages/tornado-2.0-py2.6.egg/tornado/ioloop.py", line 370, in _run_callback callback() File "/Library/Python/2.6/site-packages/tornado-2.0-py2.6.egg/tornado/stack_context.py", line 159, in wrapped callback(_args, *_kwargs) File "build/bdist.macosx-10.6-universal/egg/brukva/adisp.py", line 113, in _send_result self.call(self.g.send(result)) File "build/bdist.macosx-10.6-universal/egg/brukva/client.py", line 946, in listen ctx.ret_call(result) File "build/bdist.macosx-10.6-universal/egg/brukva/client.py", line 63, in ret_call self._call_callbacks(self.callbacks, value) File "build/bdist.macosx-10.6-universal/egg/brukva/client.py", line 31, in _call_callbacks callbacks(value) File "socketserver.py", line 44, in on_message (error, data) = result TypeError: 'Message' object is not iterable

trbck avatar Jun 23 '11 12:06 trbck