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
{{ message }}
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.
Latest pip installed version of oauth2client
This problem perplexed me for some time, but I managed to figure out what was causing it.
I was using the python example from https://developers.google.com/youtube/v3/docs/thumbnails/set
When I set the flag --noauth_local_webserver I would get the error UnboundLocalError: local variable 'success' referenced before assignment
The problem appears in oauth2client\tools.py line 167. success = False needs to be moved up above this statement: if not flags.noauth_local_webserver: to line 166. Problem solved. Anywho, thank you guys for your hard work. This api is amazing
Latest pip installed version of oauth2client
This problem perplexed me for some time, but I managed to figure out what was causing it.
I was using the python example from https://developers.google.com/youtube/v3/docs/thumbnails/set
When I set the flag --noauth_local_webserver I would get the error
UnboundLocalError: local variable 'success' referenced before assignment
The problem appears in oauth2client\tools.py line 167.
success = False
needs to be moved up above this statement:if not flags.noauth_local_webserver:
to line 166. Problem solved. Anywho, thank you guys for your hard work. This api is amazingroot@nextlocal:~# pip show oauth2client
Metadata-Version: 2.0
Name: oauth2client
Version: 1.5.0
Summary: OAuth 2.0 client library
Home-page: http://github.com/google/oauth2client/
Author: Google Inc.
Author-email: UNKNOWN
License: Apache 2.0
Location: /usr/local/lib/python2.7/dist-packages
Requires: six, pyasn1-modules, rsa, pyasn1, httplib2
The text was updated successfully, but these errors were encountered: