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

win32: asyncio sigint trap failure #47

Closed
lo5 opened this issue Aug 21, 2020 · 1 comment
Closed

win32: asyncio sigint trap failure #47

lo5 opened this issue Aug 21, 2020 · 1 comment
Assignees
Labels
bug Bug in code py Related to Python Driver
Milestone

Comments

@lo5
Copy link
Member

lo5 commented Aug 21, 2020

Via @dipplestix

listen() fails on win32:

Traceback (most recent call last):
  File "examples/tour.py", line 204, in <module>
    listen('/tour', main)
  File "C:\Users\Chris\Downloads\qd-0.1.4-windows-amd64\venv\lib\site-packages\h2o_q\server.py", line 192, in listen
    el.add_signal_handler(signal.SIGINT, stop_server.set_result, None)
  File "C:\Users\Chris\Anaconda3\lib\asyncio\events.py", line 540, in add_signal_handler
    raise NotImplementedError
NotImplementedError

Notes
python/asyncio#407
SO

@lo5 lo5 added bug Bug in code py Related to Python Driver labels Aug 21, 2020
@lo5 lo5 added this to the 2020 Q3 milestone Aug 21, 2020
lo5 added a commit that referenced this issue Aug 26, 2020
@lo5 lo5 self-assigned this Sep 9, 2020
@lo5 lo5 modified the milestones: 2020 Q3, 0.10 Nov 3, 2020
@lo5
Copy link
Member Author

lo5 commented Nov 25, 2020

Shouldn't happen from 0.9+ since the uvicorn migration.

@lo5 lo5 closed this as completed Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug in code py Related to Python Driver
Projects
None yet
Development

No branches or pull requests

1 participant