Skip to content
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

Few errors #228

Open
pachax001 opened this issue Oct 14, 2023 · 0 comments
Open

Few errors #228

pachax001 opened this issue Oct 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@pachax001
Copy link

pachax001 commented Oct 14, 2023

I am using master branch.
1.ERROR: Telegram says: [400 CHANNEL_INVALID] - The channel parameter is invalid
I added the user string in config using /bsetting. So when I try to use this command /l link -t thumb_link I got the above error.(thumb_link is from a private channel where I keep my thumbnails)
Same error happens when I try to leech or mirror something from a private channel.
2.
[14-Oct-23 07:37:56 AM] [ERROR] - Traceback (most recent call last): File "/usr/src/app/bot/helper/mirror_utils/upload_utils/pyrogramEngine.py", line 381, in __upload_file thumb = await self.get_custom_thumb(self.__leech_utils['thumb']) File "/usr/src/app/bot/helper/mirror_utils/upload_utils/pyrogramEngine.py", line 71, in get_custom_thumb photo_dir = await _client.download_media(msg) AttributeError: 'str' object has no attribute 'download_media' . Path: /usr/src/app/downloads/85/My.Dearest.S01E11.231013.540p-NEXT..mkv [14-Oct-23 07:38:00 AM] [ERROR] - Traceback (most recent call last): File "/usr/src/app/bot/helper/mirror_utils/upload_utils/pyrogramEngine.py", line 381, in __upload_file thumb = await self.get_custom_thumb(self.__leech_utils['thumb']) File "/usr/src/app/bot/helper/mirror_utils/upload_utils/pyrogramEngine.py", line 71, in get_custom_thumb photo_dir = await _client.download_media(msg) AttributeError: 'str' object has no attribute 'download_media' . Path: /usr/src/app/downloads/85/My.Dearest.S01E11.231013.540p-NEXT..mkv [14-Oct-23 07:38:04 AM] [ERROR] - Traceback (most recent call last): File "/usr/src/app/bot/helper/mirror_utils/upload_utils/pyrogramEngine.py", line 381, in __upload_file thumb = await self.get_custom_thumb(self.__leech_utils['thumb']) File "/usr/src/app/bot/helper/mirror_utils/upload_utils/pyrogramEngine.py", line 71, in get_custom_thumb photo_dir = await _client.download_media(msg) AttributeError: 'str' object has no attribute 'download_media' . Path: /usr/src/app/downloads/85/My.Dearest.S01E11.231013.540p-NEXT..mkv [14-Oct-23 07:38:04 AM] [INFO] - Total Attempts: 3 [14-Oct-23 07:38:08 AM] [INFO] - Cleaning Download: /usr/src/app/downloads/85
This happens when I setup the string session through /usetting. Mirror and leech works fine for the string session setup through the /usetting. But when try to attach the thumbnail I got above error. First I tried from adding session string from both /bsetting and /usetting. The error is same. So I removed the string session from /bsetting. Still I got the above error.

@pachax001 pachax001 added the bug Something isn't working label Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant