AutoAnimeBot icon indicating copy to clipboard operation
AutoAnimeBot copied to clipboard

Another Error 🤧

Open Noctophile opened this issue 1 year ago • 5 comments

10/05/2024, 16:37:54 || AutoAnimeBot [ERROR] : [ 10/05/2024, 16:38:18 || AutoAnimeBot [ERROR] : [ 10/05/2024, 16:39:01 || AutoAnimeBot [ERROR] : [ 10/05/2024, 16:39:15 || Telethon.client.uploads [INFO] : Uploading file of 771809 bytes in 6 chunks of 131072 10/05/2024, 16:40:05 || AutoAnimeBot [ERROR] : [ 10/05/2024, 16:41:58 || Telethon.client.uploads [INFO] : Uploading file of 4359 bytes in 1 chunks of 131072 10/05/2024, 16:41:58 || Telethon.client.uploads [INFO] : Uploading file of 40622 bytes in 1 chunks of 131072 10/05/2024, 16:42:54 || AutoAnimeBot [ERROR] : [

Noctophile avatar Oct 05 '24 16:10 Noctophile

check telegram log channel and send me that error

kaif-00z avatar Oct 05 '24 16:10 kaif-00z

Showing peer id is invalid but I added bot in it and also tagged it too .

[ERROR] Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 62, in resolve_peer return await self.storage.get_peer_by_id(peer_id) File "/usr/local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 142, in get_peer_by_id raise KeyError(f"ID not found: {peer_id}") KeyError: 'ID not found: -1002322801528'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/src/app/core/executors.py", line 78, in execute msg = await self.bot.upload_anime( File "/usr/src/app/core/bot.py", line 120, in upload_anime post = await self.pyro_client.send_document( File "/usr/local/lib/python3.10/site-packages/pyrogram/methods/messages/send_document.py", line 195, in send_document peer=await self.resolve_peer(chat_id), File "/usr/local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 89, in resolve_peer peer_type = utils.get_peer_type(peer_id) File "/usr/local/lib/python3.10/site-packages/pyrogram/utils.py", line 246, in get_peer_type raise ValueError(f"Peer id invalid: {peer_id}") ValueError: Peer id invalid: -1002322801528

Noctophile avatar Oct 05 '24 17:10 Noctophile

ig u haven't promoted bot to admin, use gen_env script to avoid this type of errors

kaif-00z avatar Oct 05 '24 17:10 kaif-00z

Ok

Noctophile avatar Oct 05 '24 17:10 Noctophile

All encods going failed ??

Noctophile avatar Oct 05 '24 19:10 Noctophile

All encods going failed ??

ig coz of low powered cpu

kaif-00z avatar Oct 06 '24 12:10 kaif-00z

Nahh bro I got 6 core with 16gb Ram Ig that's enough for that

Noctophile avatar Oct 06 '24 13:10 Noctophile

pushing a optimization fix today wait

kaif-00z avatar Oct 06 '24 16:10 kaif-00z

Nahh bro I got 6 core with 16gb Ram Ig that's enough for that

or ig u haven't installed ffmpeg and following tools

kaif-00z avatar Oct 07 '24 14:10 kaif-00z

I downloaded all bro I'm running another encode bot too and it's working

Noctophile avatar Oct 07 '24 16:10 Noctophile

https://github.com/kaif-00z/AutoAnimeBot/commit/39c50b1ecf7fe67c0da339052cb3bb582087c353

kaif-00z avatar Oct 08 '24 14:10 kaif-00z