Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not run with python-3.9.6 #7

Open
glensc opened this issue Aug 15, 2021 · 0 comments
Open

Does not run with python-3.9.6 #7

glensc opened this issue Aug 15, 2021 · 0 comments

Comments

@glensc
Copy link

glensc commented Aug 15, 2021

With 42c2439 commit, can not run with python-3.9.6

(52416) wsgi starting up on http://0.0.0.0:5002
(52416) wsgi exited, is_accepting=True
Serving static files from: /Users/glen/websocket_terminal/client/src
listening on :5002
Traceback (most recent call last):
  File "/Users/glen/websocket_terminal/server-python3/websocket_terminal.py", line 9, in <module>
    main()
  File "/Users/glen/websocket_terminal/server-python3/websocket_terminal.py", line 5, in main
    server.main()
  File "/Users/glen/websocket_terminal/server-python3/server.py", line 144, in main
    start_default(args.listen, args.port, args.unsafe)
  File "/Users/glen/websocket_terminal/server-python3/server.py", line 139, in start_default
    start(interface, port, root_app.handler)
  File "/Users/glen/websocket_terminal/server-python3/server.py", line 131, in start
    eventlet.wsgi.server(listener, root_app_handler)
  File "/Users/glen/websocket_terminal/.direnv/python-3.9.6/lib/python3.9/site-packages/eventlet/wsgi.py", line 980, in server
    client_socket, client_addr = sock.accept()
  File "/Users/glen/websocket_terminal/.direnv/python-3.9.6/lib/python3.9/site-packages/eventlet/greenio/base.py", line 230, in accept
    self._trampoline(fd, read=True, timeout=self.gettimeout(), timeout_exc=_timeout_exc)
  File "/Users/glen/websocket_terminal/.direnv/python-3.9.6/lib/python3.9/site-packages/eventlet/greenio/base.py", line 208, in _trampoline
    return trampoline(fd, read=read, write=write, timeout=timeout,
  File "/Users/glen/websocket_terminal/.direnv/python-3.9.6/lib/python3.9/site-packages/eventlet/hubs/__init__.py", line 155, in trampoline
    listener = hub.add(hub.READ, fileno, current.switch, current.throw, mark_as_closed)
  File "/Users/glen/websocket_terminal/.direnv/python-3.9.6/lib/python3.9/site-packages/eventlet/hubs/kqueue.py", line 53, in add
    self._control([event], 0, 0)
  File "/Users/glen/websocket_terminal/.direnv/python-3.9.6/lib/python3.9/site-packages/eventlet/hubs/kqueue.py", line 39, in _control
    return self.kqueue.control(events, max_events, timeout)
TypeError: changelist must be an iterable of select.kevent objects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant