Task not executing
See original GitHub issueSay you have a file foo.py
:
import asyncio
async def foo():
print('foo')
await asyncio.sleep(0)
print('done')
loop = asyncio.get_event_loop()
task = asyncio.ensure_future(foo())
loop.run_until_complete(task)
And a Notebook with this cell:
import nest_asyncio
nest_asyncio.apply()
import foo
Executing the cell just hangs, foo()
is not executed.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Task Scheduler not Running: 5 Methods to Enable it Again
1. Check if the scheduled task is enabled · Press Windows + R , then type taskschd.msc and hit Enter . · Click...
Read more >Task Scheduler not running, triggering or starting programs
1] Check and start Task Scheduler service · 2] Change the Service configuration · 3] Start Task Scheduler using Command Prompt · 4]...
Read more >How to Fix Windows Task Scheduler Not Running on ...
Double-click the task that will not run. Go to the Conditions tab. Uncheck the 'Start the task only if the computer is on...
Read more >7 Tips to Fix Task Scheduler Not Running/Working Windows 10
Fix 1. Make Sure Task Scheduler Service Is Running. Press Windows + R, type msc in Run box, and press Enter to open...
Read more >Task scheduler - Windows 2019 - Indefinitly task not running
Randomly servers start to not run the schedule after reboots or patch nights. One trick I was using was to go out and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is now fixed in v0.9.2.
Everything works fine for me now, thanks a lot for your support!