1

私はpythonが初めてで、gevent-socketioの例をうまくテストしようとしています。html ファイルにアクセスするたびにこのエラーが発生します。この場合、報告されたエラーを投稿していますlive_cpu_graphchat、まったく同じ問題があります。

助けてくれてありがとう

Listening on port http://0.0.0.0:8080 and on port 10843 (flash policy server)
DEPRECATION WARNING: use `namespace` instead of `resource`
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 390, in run
    result = self._run(*self.args, **self.kwargs)
  File "/usr/local/lib/python2.7/dist-packages/gevent/server.py", line 159, in wrap_socket_and_handle
    ssl_socket = self.wrap_socket(client_socket, **self.ssl_args)
TypeError: wrap_socket() got an unexpected keyword argument 'policy_listener'
<Greenlet at 0x1cceb90: <bound method SocketIOServer.wrap_socket_and_handle of <SocketIOServer at 0x1dc0710 fileno=3 address=0.0.0.0:8080>>(<socket at 0x1dc08d0 fileno=10 sock=127.0.0.1:8080, ('127.0.0.1', 45823))> failed with TypeError

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 390, in run
    result = self._run(*self.args, **self.kwargs)
  File "/usr/local/lib/python2.7/dist-packages/gevent/server.py", line 159, in wrap_socket_and_handle
    ssl_socket = self.wrap_socket(client_socket, **self.ssl_args)
TypeError: wrap_socket() got an unexpected keyword argument 'policy_listener'
<Greenlet at 0x1cceb90: <bound method SocketIOServer.wrap_socket_and_handle of <SocketIOServer at 0x1dc0710 fileno=3 address=0.0.0.0:8080>>(<socket at 0x1dc08d0 fileno=10 sock=127.0.0.1:8080, ('127.0.0.1', 45824))> failed with TypeError

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 390, in run
    result = self._run(*self.args, **self.kwargs)
  File "/usr/local/lib/python2.7/dist-packages/gevent/server.py", line 159, in wrap_socket_and_handle
    ssl_socket = self.wrap_socket(client_socket, **self.ssl_args)
TypeError: wrap_socket() got an unexpected keyword argument 'policy_listener'
<Greenlet at 0x1cceb90: <bound method SocketIOServer.wrap_socket_and_handle of <SocketIOServer at 0x1dc0710 fileno=3 address=0.0.0.0:8080>>(<socket at 0x1dc08d0 fileno=10 sock=127.0.0.1:8080, ('127.0.0.1', 45826))> failed with TypeError
4

1 に答える 1