Traceback (most recent call last):
File "/app/src/telegram_downloader.py", line 583, in <module>
asyncio.run(main(), debug=False)
File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/app/src/telegram_downloader.py", line 556, in main
await parse_channel_messages()
File "/app/src/telegram_downloader.py", line 428, in parse_channel_messages
async for message in messages_iter:
File "/root/.cache/pypoetry/virtualenvs/transcriber-backend-9TtSrW0h-py3.10/lib/python3.10/site-packages/pyrogram/methods/messages/get_chat_history.py", line 101, in get_chat_history
messages = await get_chunk(
File "/root/.cache/pypoetry/virtualenvs/transcriber-backend-9TtSrW0h-py3.10/lib/python3.10/site-packages/pyrogram/methods/messages/get_chat_history.py", line 49, in get_chunk
return await utils.parse_messages(client, messages, replies=0)
File "/root/.cache/pypoetry/virtualenvs/transcriber-backend-9TtSrW0h-py3.10/lib/python3.10/site-packages/pyrogram/utils.py", line 101, in parse_messages
parsed_messages.append(await types.Message._parse(client, message, users, chats, replies=0))
File "/root/.cache/pypoetry/virtualenvs/transcriber-backend-9TtSrW0h-py3.10/lib/python3.10/site-packages/pyrogram/types/messages_and_media/message.py", line 590, in _parse
parsed_message.pinned_message = await client.get_messages(
File "/root/.cache/pypoetry/virtualenvs/transcriber-backend-9TtSrW0h-py3.10/lib/python3.10/site-packages/pyrogram/methods/messages/get_messages.py", line 115, in get_messages
r = await self.invoke(rpc, sleep_threshold=-1)
...
File "/root/.cache/pypoetry/virtualenvs/transcriber-backend-9TtSrW0h-py3.10/lib/python3.10/site-packages/pyrogram/connection/transport/tcp/tcp_abridged_o.py", line 61, in send
payload = await self.loop.run_in_executor(pyrogram.crypto_executor, aes.ctr256_encrypt, data, *self.encrypt)
TypeError: Value after * must be an iterable, not NoneType
Except / ignore the TypeError in https://github.com/BurnySc2/monorepo/blob/5bda77c6858595bcb8ef0fb0cdfaa4de47c5e37b/transcribe_website/transcriber_backend/src/telegram_downloader.py#L428