Skip to content
← Back to activity

Public problem

PyVimeo 1.0.8: "Unexpected error when uploading through tus" after upgrading

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

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.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

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