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

[BUG] RuntimeError: Loop is not running #781

Open
DanielTsiang opened this issue Sep 4, 2023 · 0 comments
Open

[BUG] RuntimeError: Loop is not running #781

DanielTsiang opened this issue Sep 4, 2023 · 0 comments

Comments

@DanielTsiang
Copy link

DanielTsiang commented Sep 4, 2023

Versions:

fsspec                        2023.9.0
s3fs                          2023.9.0

On my Sanic app startup, I'm getting the following warning message:

/opt/python/lib/python3.10/site-packages/s3fs/core.py:546: RuntimeWarning: coroutine 'ClientCreatorContext.__aexit__' was never awaited
  loop.create_task(s3.__aexit__(None, None, None))

Which I think is then what is leading to this exception later on:

RuntimeError: Loop is not running

The RuntimeError did not appear previously on version 2023.6.0.

However, the error only seems to occur on app startup. The app seems to still work fine afterwards.

@DanielTsiang DanielTsiang changed the title [BUG] RuntimeWarning: coroutine 'ClientCreatorContext.__aexit__' was never awaited [BUG] RuntimeError: Loop is not running Sep 5, 2023
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