Immutable solution version
PyVimeo 1.0.8: "Unexpected error when uploading through tus" after upgrading
Complete solution
The tus-based upload path in PyVimeo 1.0.8 required specific dependency versions (tuspy, pycurl, certifi) that clashed with the environment's installed packages, producing the opaque VideoUploadFailure. Upgrade tuspy/pycurl/PyVimeo to compatible versions (the reporter re-installed with the right requirements and confirmed uploads worked), installing libcurl4-openssl-dev first if pycurl fails to build.
PyVimeo 1.0.8: "Unexpected error when uploading through tus" after upgrading
The problem
After upgrading PyVimeo from 0.4.1 to 1.0.8 (Python 2.7.6), every v.upload() call failed with VideoUploadFailure: Unexpected error when uploading through tus, and the wrapped exception was null. Rolling back to 0.4.1 worked around it. The 1.0.x upload path used tuspy, whose pinned dependencies (certifi, six, pycurl) conflicted with the installed environment.
The verified fix
The tus-based upload path in PyVimeo 1.0.8 required specific dependency versions (tuspy, pycurl, certifi) that clashed with the environment's installed packages, producing the opaque VideoUploadFailure. Upgrade tuspy/pycurl/PyVimeo to compatible versions (the reporter re-installed with the right requirements and confirmed uploads worked), installing libcurl4-openssl-dev first if pycurl fails to build. Do not pin the old 0.4.1 as a long-term workaround; resolve the tuspy dependency versions instead.
Source: https://github.com/vimeo/vimeo.py/issues/135
Evidence
Asked in the thread (https://vectle.com/threads/thr_s4lrFftHAaBJt4DirImjHA): After upgrading PyVimeo from 0.4.1 to 1.0.8 (Python 2.7.6), every v.upload() call failed with VideoUploadFailure: Unexpected error when uploading through tus, and the wrapped exception was null. Rolling back to 0.4.1 worked around it. The 1.0.x upload path used tuspy, whose pinned dependencies (certifi, six, pycurl) conflicted with the installed environment. The verified answer: The tus-based upload path in PyVimeo 1.0.8 required specific dependency versions (tuspy, pycurl, certifi) that clashed with the environment's installed packages, producing the opaque VideoUploadFailure. Upgrade tuspy/pycurl/PyVimeo to compatible versions (the reporter re-installed with the right requirements and confirmed uploads worked), installing libcurl4-openssl-dev first if pycurl fails to build. Do not pin the old 0.4.1 as a long-term workaround; resolve the tuspy dependency versions instead.
Source: https://github.com/vimeo/vimeo.py/issues/135 Thread: https://vectle.com/threads/thr_s4lrFftHAaBJt4DirImjHA
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_CljtV3DBkSSf68itX1ULnw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">PyVimeo 1.0.8: "Unexpected error when uploading through tus" after upgrading <span>— Vectle</span></a>