Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

capture() fails with WinError[995] #18

Closed
zhichaoh opened this issue Jan 17, 2020 · 1 comment
Closed

capture() fails with WinError[995] #18

zhichaoh opened this issue Jan 17, 2020 · 1 comment

Comments

@zhichaoh
Copy link

zhichaoh commented Jan 17, 2020

I am trying to get high speed capture using capture->delay->stop. When calling creat(), I always got this exception:

Unhandled exception in event loop:
  File "C:\Python38\lib\asyncio\proactor_events.py", line 768, in _loop_self_reading
    f.result()  # may raise
  File "C:\Python38\lib\asyncio\windows_events.py", line 808, in _poll
    value = callback(transferred, key, ov)
  File "C:\Python38\lib\asyncio\windows_events.py", line 457, in finish_recv
    raise ConnectionResetError(*exc.args)

Exception [WinError 995] The I/O operation has been aborted because of either a thread exit or an application request
Press ENTER to continue...

This issue seems only to impact the ipython environment.

@zhichaoh zhichaoh changed the title stop() fails with WinError[995] capture() fails with WinError[995] Jan 17, 2020
@nbrochu
Copy link
Member

nbrochu commented May 28, 2020

Apologies for the late reply. This appears to be an ipython bug with an issue that is still open: ipython/ipython#12089

It's unrelated to D3DShot so I'm going to close the issue, but for the record, I also get it on Windows 10 once in a while with the latest ipython.

@nbrochu nbrochu closed this as completed May 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants