Reputation: 2496
I'm trying to get this example(https://github.com/sontek/django-tictactoe/tree/master/small_tictactoe) for gevent-socketio running, but but I get this very 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 I found socketio.recv()
used in other examples an documentations as well...
Upvotes: 0
Views: 4440