0
我試圖獲得GEVENT-socketio運行這個例子(https://github.com/sontek/django-tictactoe/tree/master/small_tictactoe),但但我得到這個非常奇怪的錯誤:AttributeError的:「插座」對象有沒有屬性「的recv」
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'
但我發現socketio.recv()
在其他例子中使用的文件以及...