Closed bolavefasfas closed 2 years ago
Keep port number blank by default is 80. And the problem with menus was fixed with the update that I just released. Update bot.
Keep port number blank by default is 80. And the problem with menus was fixed with the update that I just released. Update bot.
Yo Thanks for reply man
What about this did you fix this ??
app_1 | 2022-09-09 11:27:40,900 ERROR MainThread pyrogram.dispatcher Telegram says: [400 QUERY_ID_INVALID] - The callback query id is invalid (caused by "messages.SetBotCallbackAnswer")
app_1 | Traceback (most recent call last):
app_1 | File "/usr/local/lib/python3.10/dist-packages/pyrogram/dispatcher.py", line 240, in handler_worker
app_1 | await handler.callback(self.client, *args)
app_1 | File "/usr/src/app/bot/modules/copy.py", line 208, in copy_menu_callback
app_1 | await query.answer()
app_1 | File "/usr/local/lib/python3.10/dist-packages/pyrogram/types/bots_and_keyboards/callback_query.py", line 159, in answer
app_1 | return await self._client.answer_callback_query(
app_1 | File "/usr/local/lib/python3.10/dist-packages/pyrogram/methods/bots/answer_callback_query.py", line 71, in answer_callback_query
app_1 | return await self.invoke(
app_1 | File "/usr/local/lib/python3.10/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
app_1 | r = await self.session.invoke(
app_1 | File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 361, in invoke
app_1 | return await self.send(query, timeout=timeout)
app_1 | File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 331, in send
app_1 | RPCError.raise_it(result, type(data))
app_1 | File "/usr/local/lib/python3.10/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
app_1 | raise getattr(
app_1 | pyrogram.errors.exceptions.bad_request_400.QueryIdInvalid: Telegram says: [400 QUERY_ID_INVALID] - The callback query id is invalid (caused by "messages.SetBotCallbackAnswer")
app_1 | 2
These above are the logs when copy is cancelled
app_1 | 2022-09-09 11:31:07,161 ERROR MainThread pyrogram.dispatcher Telegram says: [400 QUERY_ID_INVALID] - The callback query id is invalid (caused by "messages.SetBotCallbackAnswer")
app_1 | Traceback (most recent call last):
app_1 | File "/usr/local/lib/python3.10/dist-packages/pyrogram/dispatcher.py", line 240, in handler_worker
app_1 | await handler.callback(self.client, *args)
app_1 | File "/usr/src/app/bot/modules/copy.py", line 208, in copy_menu_callback
app_1 | await query.answer()
app_1 | File "/usr/local/lib/python3.10/dist-packages/pyrogram/types/bots_and_keyboards/callback_query.py", line 159, in answer
app_1 | return await self._client.answer_callback_query(
app_1 | File "/usr/local/lib/python3.10/dist-packages/pyrogram/methods/bots/answer_callback_query.py", line 71, in answer_callback_query
app_1 | return await self.invoke(
app_1 | File "/usr/local/lib/python3.10/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
app_1 | r = await self.session.invoke(
app_1 | File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 361, in invoke
app_1 | return await self.send(query, timeout=timeout)
app_1 | File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 331, in send
app_1 | RPCError.raise_it(result, type(data))
app_1 | File "/usr/local/lib/python3.10/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
app_1 | raise getattr(
app_1 | pyrogram.errors.exceptions.bad_request_400.QueryIdInvalid: Telegram says: [400 QUERY_ID_INVALID] - The callback query id is invalid (caused by "messages.SetBotCallbackAnswer")
These above errors occur after copy is completed
Though I have set this in qbit config
Queueing\MaxActiveDownloads=50 Queueing\MaxActiveTorrents=10 Queueing\MaxActiveUploads=10 Downloads\DiskWriteCacheSize=30
The cpu usage hasnt reduced
Vps Specs
Can you add a var to set custom core like 1 or 2 depending on vps choice or what would you suggest so that cpu usage will go down like 80-90 % is fine any more modifications ?
A button to add custom rclone flags for /copy
button because to change flags from bot every time no need to edit .py file manually
@bolavefasfas bolavefasfas
@bolavefasfas bolavefasfas
- Qbit working fine now.
- Fixed error shown when cancel the copy and after completing the copy
- Fixed shown twice in the /myfiles.
- Try set limit for MaxConnecs, decrease AsyncIOThreadsCount and set limit of DiskWriteCacheSize to 32.
- Maybe in future, I add custom rclone flags
Bot does not work in group try sending rclone.conf in group
it works in private but not in grp even after authorizing you want me to send me the video of problem ??
@bolavefasfas bolavefasfas
- Qbit working fine now.
- Fixed error shown when cancel the copy and after completing the copy
- Fixed shown twice in the /myfiles.
- Try set limit for MaxConnecs, decrease AsyncIOThreadsCount and set limit of DiskWriteCacheSize to 32.
- Maybe in future, I add custom rclone flags
* Bot does not work in group try sending rclone.conf in group * it works in private but not in grp even after authorizing you want me to send me the video of problem ??
Yes, I know, problem when loading rclone config on group
My config
Should I keep port number 80 or keep it blank
Qbit download not working
Copy menu does not close
app_1 | 2022-09-07 11:53:48,006 ERROR MainThread pyrogram.dispatcher 'CallbackQuery' object has no attribute 'delete' app_1 | Traceback (most recent call last): app_1 | File "/usr/local/lib/python3.10/dist-packages/pyrogram/dispatcher.py", line 240, in handler_worker app_1 | await handler.callback(self.client, *args) app_1 | File "/usr/src/app/bot/modules/copy.py", line 229, in copy_menu_settings app_1 | await query.delete() app_1 | AttributeError: 'CallbackQuery' object has no attribute 'delete'