We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I first posted here https://code.google.com/p/youtube-api-samples/issues/detail?id=11 This is the same problem, better report.
The bug is in the sample code, not the API.
The important lines https://github.com/youtube/api-samples/blob/master/python/upload_video.py#L131-L135
def resumable_upload(insert_request): while response is None: status, response = insert_request.next_chunk() if 'id' in response:
while response is None - response will be None when there are more chunks to upload (fine)
if 'id' in response - this will error when response is None. (bug)
The text was updated successfully, but these errors were encountered:
Any active member in Youtube ?
Sorry, something went wrong.
No branches or pull requests
I first posted here
https://code.google.com/p/youtube-api-samples/issues/detail?id=11
This is the same problem, better report.
The bug is in the sample code, not the API.
The important lines
https://github.com/youtube/api-samples/blob/master/python/upload_video.py#L131-L135
def resumable_upload(insert_request):
while response is None:
status, response = insert_request.next_chunk()
if 'id' in response:
while response is None - response will be None when there are more chunks to upload (fine)
if 'id' in response - this will error when response is None. (bug)
The text was updated successfully, but these errors were encountered: