-
Notifications
You must be signed in to change notification settings - Fork 15
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
Application.make_handler(...) is deprecated, use AppRunner API instead #24
Comments
Having the same issue, I think it has to do with telethon-sync being dropped upstream and there don't appear to be any mirrors. I'm also not sure how to compile telethon into a compatible library either. |
temporary solution
|
Thanks confirmed this works |
I have applied
for now. For aio-libs/aiohttp#3157 , how to properly fix it? |
tbh, I tried, and failed (and well I am noob), so decided to go for an older version of aiohttp |
I am trying to run using python3.8 but I keep running into this
telegramircd.py:135: DeprecationWarning: Application.make_handler(...) is deprecated, use AppRunner API instead self.handler = self.app.make_handler() telegramircd.py:111: RuntimeWarning: coroutine 'TelegramBaseClient.connect' was never awaited self.proc.connect() RuntimeWarning: Enable tracemalloc to get the object allocation traceback Traceback (most recent call last): File "telegramircd.py", line 294, in init web.get_self() File "telegramircd.py", line 290, in get_self server.user_id = data.id AttributeError: 'coroutine' object has no attribute 'id' telegramircd.py:298: RuntimeWarning: coroutine 'UserMethods.get_me' was never awaited traceback.print_exc() RuntimeWarning: Enable tracemalloc to get the object allocation traceback
I've tried older versions of aiohttp but have no luck. Any ideas?
The text was updated successfully, but these errors were encountered: