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

Error Upload Directly From Drive ( Dir-Leech ) #13

Open
tuthanika opened this issue Dec 13, 2023 · 1 comment
Open

Error Upload Directly From Drive ( Dir-Leech ) #13

tuthanika opened this issue Dec 13, 2023 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@tuthanika
Copy link

tuthanika commented Dec 13, 2023

After using "Upload Directly From Drive (Dir-Leech)" once, if continue to another folder will receive an error.

For example:
Folder 1: /content/drive/Shareddrives/tuthanika/1
Folder 2: /content/drive/Shareddrives/tuthanika/2

Bot running with Folder 1 complete, run new command dir_leech with Folder 2, will error. At this time, the bot cann't operate even if using a direct link.

ERROR:pyrogram.dispatcher:[Errno 17] File exists: '/content/drive/Shareddrives/tuthanika/1'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/pyrogram/dispatcher.py", line 240, in handler_worker
await handler.callback(self.client, *args)
File "/content/Telegram-Leecher/colab_leecher/main.py", line 347, in handle_options
await BOT.TASK
File "/content/Telegram-Leecher/colab_leecher/utility/task_manager.py", line 98, in taskScheduler
makedirs(Paths.down_path)
File "/usr/lib/python3.10/os.py", line 225, in makedirs
mkdir(name, mode)
FileExistsError: [Errno 17] File exists: '/content/drive/Shareddrives/tuthanika/1'

@XronTrix10
Copy link
Owner

@tuthanika Thank you for sharing the error message. I will definitely look into this error. You are always welcome for contribution and it will be highly appreciated 😀

@XronTrix10 XronTrix10 pinned this issue Feb 24, 2024
@XronTrix10 XronTrix10 added bug Something isn't working help wanted Extra attention is needed labels Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants