yash-dk / TorToolkit-Telegram

Most versatile Telegram torrent, direct-link, mega, and youtube-dl bot. Uploads to various cloud storage like Gdrive, Mega, Telegram, etc.
GNU General Public License v3.0
673 stars 1.56k forks source link

Extraction Not Working For Some Archives #31

Closed FristyFlakes closed 3 years ago

FristyFlakes commented 3 years ago

Extraction Doesn't Work For 10GB Above Tested On 7 Different Links

Error Log:

2021-02-23T11:02:36.111133+00:00 app[web.1]: File "/torapp/tortoolkit/core/HandleManager.py", line 231, in handle_leech_command 2021-02-23T11:02:36.111133+00:00 app[web.1]: await check_link(e,rclone, is_zip, is_ext) 2021-02-23T11:02:36.111133+00:00 app[web.1]: File "/torapp/tortoolkit/functions/Leech_Module.py", line 248, in check_link 2021-02-23T11:02:36.111134+00:00 app[web.1]: newpath = await handle_ext_zip(path, rmsg, omess) 2021-02-23T11:02:36.111134+00:00 app[web.1]: File "/torapp/tortoolkit/functions/Leech_Module.py", line 377, in handle_ext_zip 2021-02-23T11:02:36.111134+00:00 app[web.1]: if "Wrong Password" in ext_path: 2021-02-23T11:02:36.111134+00:00 app[web.1]: TypeError: argument of type 'bool' is not iterable

sherlockia2 commented 3 years ago

Also not working when the archive contains directories.

yash-dk commented 3 years ago

It will be fixed in the upcoming update.

yash-dk commented 3 years ago

fixed.

yash-dk commented 3 years ago

Some zips with missing headers are errored out.

yash-dk commented 3 years ago

Fixed for good this time.