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

Automatically skip files that cannot be uploaded. #242

Open
jerryc127 opened this issue Dec 1, 2023 · 0 comments
Open

Automatically skip files that cannot be uploaded. #242

jerryc127 opened this issue Dec 1, 2023 · 0 comments

Comments

@jerryc127
Copy link

  • telegram-upload version: 0.7.1
  • Python version: Python 3.10.12
  • Operating System: Ubuntu 22.04.3 LTS
  • Dependencies list (run pip freeze):
altgraph==0.17.3
attrs==21.2.0
Automat==20.2.0
Babel==2.8.0
bcrypt==3.2.0
blinker==1.4
certifi==2022.12.7
chardet==4.0.0
charset-normalizer==2.0.12
cliapp==1.20180812.1
click==8.0.3
cloud-init==23.3.3
cmdtest==0.32+git
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
distlib==0.3.6
distro==1.7.0
distro-info==1.1+ubuntu0.1
docker==5.0.3
docker-compose==1.29.2
dockerpty==0.4.1
docopt==0.6.2
fail2ban==0.11.2
filelock==3.12.0
gyp==0.1
hachoir==3.2.0
httplib2==0.20.2
hyperlink==21.0.0
idna==3.4
importlib-metadata==4.6.4
incremental==21.3.0
instaloader==4.10.1
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
Markdown==3.3.6
MarkupSafe==2.0.1
more-itertools==8.10.0
netifaces==0.11.0
oauthlib==3.2.0
pexpect==4.8.0
pipenv==2023.4.29
platformdirs==3.5.0
prompt-toolkit==3.0.38
ptyprocess==0.7.0
pyaes==1.6.1
pyasn1==0.4.8
pyasn1-modules==0.2.1
Pygments==2.11.2
PyGObject==3.42.1
PyHamcrest==2.0.2
pyinotify==0.9.6
pyinstaller==5.7.0
pyinstaller-hooks-contrib==2023.8
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+ubuntu2
python-debian==0.1.43+ubuntu1.1
python-dotenv==0.19.2
python-magic==0.4.24
pytz==2022.1
PyYAML==6.0
requests==2.28.2
rsa==4.9
SecretStorage==3.3.1
service-identity==18.1.0
six==1.16.0
sos==4.5.6
ssh-import-id==5.11
systemd-python==234
telegram-upload==0.7.1
Telethon==1.28.5
texttable==1.6.4
tqdm==4.65.0
ttystatus==0.38
Twisted==22.1.0
ubuntu-advantage-tools==8001
ufw==0.36.1
unattended-upgrades==0.1
uplink==0.9.7
uritemplate==4.1.1
urllib3==1.26.15
virtualenv==20.23.0
virtualenv-clone==0.5.7
wadllib==1.3.6
wcwidth==0.2.6
websocket-client==1.2.3
zipp==1.0.0
zope.interface==5.4.0

I tried to upload some folders that contained videos that might not be playable. I encountered this issue during the upload process, which caused the execution to terminate. I hope that when an error occurs, it can automatically skip and proceed with the upload of other files.

ValueError: Metadata has no value 'duration' (index 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant