[Errno 29] Illegal seek , [Errno 5] Input/output error. Error while downloading
- telegram-upload version: last
- Python version: Python 3.10.12
- Operating System: Ubuntu 22.04
- Dependencies list (run
pip freeze): attrs==21.2.0 Automat==20.2.0 Babel==2.8.0 bcrypt==3.2.0 blinker==1.4 certifi==2020.6.20 chardet==4.0.0 click==8.0.3 cloud-init==23.4.4 colorama==0.4.4 command-not-found==0.3 configobj==5.0.6 constantly==15.1.0 cryptg==0.4.0 cryptography==3.4.8 dbus-python==1.2.18 distro==1.7.0 distro-info==1.1+ubuntu0.2 fail2ban==0.11.2 hachoir==3.3.0 httplib2==0.20.2 hyperlink==21.0.0 idna==3.3 importlib-metadata==4.6.4 incremental==21.3.0 jeepney==0.7.1 Jinja2==3.0.3 jsonpatch==1.32 jsonpointer==2.0 jsonschema==3.2.0 keyring==23.5.0 launchpadlib==1.10.16 lazr.restfulclient==0.14.4 lazr.uri==1.0.6 MarkupSafe==2.0.1 more-itertools==8.10.0 netifaces==0.11.0 oauthlib==3.2.0 pexpect==4.8.0 prompt-toolkit==3.0.43 ptyprocess==0.7.0 pyaes==1.6.1 pyasn1==0.4.8 pyasn1-modules==0.2.1 PyGObject==3.42.1 PyHamcrest==2.0.2 pyinotify==0.9.6 PyJWT==2.3.0 pyOpenSSL==21.0.0 pyparsing==2.4.7 pyrsistent==0.18.1 pyserial==3.5 PySocks==1.7.1 python-apt==2.4.0+ubuntu3 python-debian==0.1.43+ubuntu1.1 python-magic==0.4.24 pytz==2022.1 PyYAML==5.4.1 requests==2.25.1 rsa==4.9 SecretStorage==3.3.1 service-identity==18.1.0 six==1.16.0 sos==4.5.6 speedtest-cli==2.1.3 ssh-import-id==5.11 systemd-python==234 telegram-upload==0.7.1 Telethon==1.34.0 Twisted==22.1.0 ubuntu-pro-client==8001 ufw==0.36.1 unattended-upgrades==0.1 urllib3==1.26.5 wadllib==1.3.6 wcwidth==0.2.13 zipp==1.0.0 zope.interface==5.4.0
Description
When i try to download single/multiple files i randomly get this error and after that it stops to download all the files:
` File "/usr/local/lib/python3.10/dist-packages/telegram_upload/client/telegram_download_client.py", line 109, in _download_file r = f.write(chunk) OSError: [Errno 29] Illegal seek
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/telegram-download", line 8, in
`