kalanakt / All-Url-Uploader

A simple telegram Bot, Upload Media File| video To telegram using the direct download link. (youtube, Mediafire, google drive, mega drive, etc)
https://urluploader.vercel.app
MIT License
365 stars 911 forks source link

[ bug reports ] LONG ERROR...... #131

Closed foxj0 closed 5 months ago

foxj0 commented 5 months ago

Checklist

Describe the bug Uploader.echo - INFO - pyrogram.dispatcher - ERROR - 'Message' object is not callable Traceback (most recent call last): File "/Uploader/button.py", line 40, in youtube_dl_call_back with open(save_ytdl_json_path, "r", encoding="utf8") as f: FileNotFoundError: [Errno 2] No such file or directory: './DOWNLOADS/1889968310gAdNb.json' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker await handler.callback(self.client, *args) File "/Uploader/callbacks.py", line 36, in button await youtube_dl_call_back(bot, update) File "/Uploader/button.py", line 43, in youtube_dl_call_back await update.message(f"error: {e}") TypeError: 'Message' object is not callable

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.