django - AttributeError: 'Socket' object has no attribute 'recv' -
i'm trying example(https://github.com/sontek/django-tictactoe/tree/master/small_tictactoe) gevent-socketio running, but strange error:
internal server error: /socket.io/1/websocket/49318546715 traceback (most recent call last): file "/users/user/envs/echtzeit/lib/python2.7/site-packages/django/core/handlers/base.py", line 115, in get_response response = callback(request, *callback_args, **callback_kwargs) file "/users/user/envs/echtzeit/small_tictactoe/apps/core/views.py", line 37, in socketio message = socketio.recv() attributeerror: 'socket' object has no attribute 'recv'
but found socketio.recv()
used in other examples documentations well...
this example 2 year old. since api changed.as can see there no recv method exist. can check method exists here :
Comments
Post a Comment