-
Notifications
You must be signed in to change notification settings - Fork 85
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
'exceptions.UnicodeDecodeError' object has no attribute 'status_code' #134
Comments
We are as well (same versions). Full trace:
(The |
I've pushed up another fix to 1.0.8, let me know if it solves that problem. You'll probably still get back Unicode exceptions, but there should be (hopefully helpful) messaging on why. |
Still having issues, however now I'm getting no error message at all, see
This was working in PyVimeo 1.0.5 + 1.0.6. It's like the upload operation has become async and I never get a value for VIMEO_URL before trying to use it. Or it is silently bombing out and so not setting the variable value? Or other? Not sure. Eg.
Is the upload example the most current/still relevant with the latest PyVimeo version? |
Strange, I can't replicate.
|
I'm not getting any errors but uploading fails the file is 1.3G |
@amrutadotorg I talked with our upload storage team, and they said that it looks as if some weird stuff went on while that video was uploading. Can you try it again? |
Since I've mostly been testing uploads here with short videos of my dog, I gave it another go with some beefier videos and still can't replicate the async issue. Big Buck Bunny (1080p@60fps)Total file size of 355.9MB
https://vimeo.com/287261492/f2c7c1fcef Big Buck Bunny (4k@60fps)Total file size of 673.2MB
https://vimeo.com/287263494/a52bbcb89f Big Buck Bunny (native@60fps)Total file size of 831.9MB
https://vimeo.com/287265665/a18e0f8016 Night of the Living Dead (Internet Archive)Total file size: 4.13GB
It's still converting (~1hr left), but appears to have been uploaded succesfully. https://vimeo.com/287271078/27270b3d10 |
I tried again, the same my code |
@amrutadotorg That's really weird. I talked to our upload team about the first video you tried uploading, and they said that no data was actually transferred. Can you send an email to our support team through https://vimeo.com/help/contact with as much information as you can about your environment, the video file, and the version of PyVimeo you're using? They should be able to better help you. |
Hi Team, Has there been any development on this? I still get the same silent failure with no error output. eg. |
Good to know that I'm not the only one who has this issue. "Successfully installed certifi-2018.8.24 chardet-3.0.4 future-0.16.0 idna-2.7 pyVimeo-1.0.8 requests-2.19.1 six-1.11.0 tinydb-3.11.0 tuspy-0.2.3 urllib3-1.23" in reposnse I got "To also verify, what version of PyVimeo and what version of tuspy are installed?" |
@jotterbot @amrutadotorg I still haven't been able to replicate it. Can you get any more information out of the requests and responses you're receiving? |
How are you all uploading videos through the SDK? Are these videos files on your server, or something else? |
@jotterbot @amrutadotorg We've downgraded our tuspy requirement back to 0.2.1, and it seems to have resolved the issue. I've tagged a new release for this, 1.0.9. Please let us know if it resolves your issues. And the reason why I was unable to replicate it, but you all could is because I still have tuspy 0.2.1 installed, but you had 0.2.2. |
I have tried again, having updated PyVimeo to 1.0.9. The bad news is I am still getting an error, the good news is that I at least have some error output to go on now:
Possibly related to #132 (though my file is only ~200MB). I was doing an
Not sure if this is related to the
Ubuntu 16.04 / Python 2.7.12 |
Dear @erunion everything looks good now. Thank you. |
Just as a follow up: Upgraded python version to : So, happily resolved! (Though I don't think it works on 16.04). Never figured root cause... |
Super weird. Wonder if you were missing an SSL package of some sorts. Glad it's resolved though. |
With tuspy 0.2.3 and PyVimeo 1.0.7 I'm getting
'exceptions.UnicodeDecodeError' object has no attribute 'status_code'
The text was updated successfully, but these errors were encountered: