You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the _perform_upload method, attempts are made to upload a chunk of the video (or the complete video in one go, I'm not quite sure about that), and a request is made to check the progress. The goal is to continue with other chunks if something happened, like a timeout, but the check to see if it needs to do a new attempt can't possibly work because it's comparing two different types.
for the line which does the faulty check. Here, last_byte is a str because it comes from a header of the progress request, while size is a long. An easy fix would be to simply run int() over last_byte.
The text was updated successfully, but these errors were encountered:
In the
_perform_upload
method, attempts are made to upload a chunk of the video (or the complete video in one go, I'm not quite sure about that), and a request is made to check the progress. The goal is to continue with other chunks if something happened, like a timeout, but the check to see if it needs to do a new attempt can't possibly work because it's comparing two different types.See
vimeo.py/vimeo/upload.py
Line 46 in e677e2e
last_byte
is astr
because it comes from a header of the progress request, whilesize
is along
. An easy fix would be to simply runint()
overlast_byte
.The text was updated successfully, but these errors were encountered: