Lonami
Lonami
> 1. Under what circumstances will the `drop(message_box)` method be triggered? Just to be clear, the `message_box` itself is not dropped, only the lock around it (the naming may be...
Unfortunately the log info you posted seems normal (I can't spot any deadlocks). Because it runs for considerably longer than 15 minutes (which is when the automatic, forced get difference...
Has the problem been fixed? If not I would prefer to keep the issue open.
When a network `read` returns 0 bytes, this generally indicates the connection has been closed. This is why the check exists and why that particular error is raised. When the...
Try to `clone` the `client` before the spawn, and use the original value inside the spawn (as done in the examples): @https://github.com/Lonami/grammers/blob/acb8c593a1b52c8f9ac5284ed4bbd7c96a00544e/lib/grammers-client/examples/dialogs.rs#L102-L103 Does that work?
`next_update`'s `Future` was not `Send` but https://github.com/Lonami/grammers/commit/4043c9618e29c14ef51857ed16c29a445cae09ac fixes this.
I'm going to close since because I have been unable to reproduce the issue (I've been able to run more than one client at the same time just fine).
I have tried this code: ```python async with \ TelegramClient('user', os.getenv('TG_ID'), os.getenv('TG_HASH')) as client, \ TelegramClient('bot', os.getenv('TG_ID'), os.getenv('TG_HASH')) as bot: @client.on(events.Raw) async def handler(event): print('User', event) @bot.on(events.Raw) async def handler(event):...
My code has two clients listening at the same time. This code: ```python await client1.run_until_disconnected() await client2.run_until_disconnected() ``` Waits for the first client to disconnect. Once that happens, it waits...
Closing since the v1.25 version on PyPi has been released and should have most bugs ironed out (there are some issues but I plan to release a fix for those...