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

Error AttributeError: 'coroutine' object has no attribute '_set_loop' RuntimeWarning: coroutine 'init_app' was never awaited #44

Closed
git579 opened this issue Sep 24, 2018 · 4 comments

Comments

@git579
Copy link

git579 commented Sep 24, 2018

I try command
python3 aiohttpdemo_blog/main.py -c config/user_config.toml
and get the error/ What i must to do

AttributeError: 'coroutine' object has no attribute '_set_loop'
sys:1: RuntimeWarning: coroutine 'init_app' was never awaited
@jettify
Copy link
Member

jettify commented Sep 24, 2018

Probably missed await before init_app, would you like to fix demo?

@git579
Copy link
Author

git579 commented Sep 24, 2018

I beginner i cant

@gyermolenko
Copy link
Contributor

HI @git579
I run the app with python 3.6.5/aiohttp3.2.1 or with python 3.7.0 / aiohttp3.4.4 successfully.
Can you share your configuration please?
Full traceback also could probably help.

@gyermolenko
Copy link
Contributor

closing since I wasn't able to reproduce the issue
@git579 feel free to reopen with more detiails

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

3 participants