question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crashes in Windows 10

See original GitHub issue

Frequently this happens with command shell opened in windows 10. Just tried repeatedly printing a variable

Unhandled exception in event loop:
  File "c:\users\nishabuk1\appdata\local\programs\python\python38\lib\asyncio\proactor_events.py", line 768, in _loop_self_reading
    f.result()  # may raise
  File "c:\users\nishabuk1\appdata\local\programs\python\python38\lib\asyncio\windows_events.py", line 808, in _poll
    value = callback(transferred, key, ov)
  File "c:\users\nishabuk1\appdata\local\programs\python\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...

C:\Users\nishabuk1>python -c “import IPython; print(IPython.sys_info())” {‘commit_hash’: ‘3544c180b’, ‘commit_source’: ‘installation’, ‘default_encoding’: ‘utf-8’, ‘ipython_path’: ‘C:\Users\nishabuk1\AppData\Local\Programs\Python\Python38\Lib\site-packages\IPython’, ‘ipython_version’: ‘7.11.1’, ‘os_name’: ‘nt’, ‘platform’: ‘Windows-10-10.0.17763-SP0’, ‘sys_executable’: ‘C:\Users\nishabuk1\AppData\Local\Programs\Python\Python38\python.exe’, ‘sys_platform’: ‘win32’, ‘sys_version’: '3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC ’ ‘v.1916 64 bit (AMD64)]’}

@meeseeksdev tag windows

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:4
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
pl-marascocommented, Mar 26, 2020
3reactions
farisachugthaicommented, Jan 19, 2020

Hey so I’ve been running into this issue as well. This is by no means an actual fix; however, does the problem seem to stop if you do the following?


import asyncio
asyncio.log.logger.setLevel(50)

I’m still not sure why the eventloop complains so often; however using the PYTHONASYNCIODEBUG environment variable allows you to inspect what’s going on a little bit more, and there I realized that the default logger for asyncio has it’s level set to INFO which causes incessant blocks to the REPL. I think.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[FIXED] Windows 10 Crashing Issues | 2022 - Driver Easy
7 Fixes for Windows 10 Crashing Issues · Update available drivers · Turn off Link State Power Management · Scan and repair system...
Read more >
10 Instant Ways to Fix Computer Keeps Crashing Windows 10
10 Effective Ways to Fix Computer Keeps Crashing Problem · Fix 1. Cool the Computer · Fix 2. Clean the Dust · Fix...
Read more >
How to solve Windows 10 crashes in less than a minute.
This article will describe how to set your system up so that, when it does, you'll be able to find the cause of...
Read more >
Why does My PC Keep Crashing? Here're 10 Fast Fixes!
Fix 1: Reboot Computer · Fix 2: Make Sure CPU Works Properly · Fix 3: Check the Hardware Connection · Fix 4: Boot...
Read more >
How to fix almost ANY Windows Bluescreen, Error, Crash OR ...
Fix Windows crashing, errors & bluecreens - Try it out! 25% discount code for software: PAN20Windows 10 Pro OEM Key (16.5$): ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found