Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

LimitInvalidError on big Filedata #3

Closed
NotStatilko opened this issue Nov 20, 2021 · 0 comments
Closed

LimitInvalidError on big Filedata #3

NotStatilko opened this issue Nov 20, 2021 · 0 comments
Labels
critical Critical bugs

Comments

@NotStatilko
Copy link
Member

The Telethon library throws LimitInvalidError when we try to download a RemoteBoxFile with big filedata (e.g where folder len equals to FOLDERNAME_MAX)

tgbox/api.py

Lines 929 to 931 in 17025f3

filedata_len = bytes_to_int(dec_navbytes[:3],signed=False)
preview_len = bytes_to_int(dec_navbytes[3:],signed=False)
#TODO: BIG FILEDATA LEN IS BROKEN

This error already was reported to Telethon devs.
LonamiWebs/Telethon#3199 (comment)

Anyway, we should investigate this.

@NotStatilko NotStatilko added the critical Critical bugs label Nov 20, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
critical Critical bugs
Projects
None yet
Development

No branches or pull requests

1 participant