LearnatHome / google-api-python-client

Automatically exported from code.google.com/p/google-api-python-client
Other
0 stars 0 forks source link

--noauth_local_webserver doesn't work #207

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[Use this form for both apiclient and oauth2client issues]

What steps will reproduce the problem?
1. Run a program containing run() from oauth2client.tools, using 
--noauth_local_webserver 

What is the expected output? What do you see instead?
It doesn't use raw_input() to get the key, the option doesn't affect anything.

What version of the product are you using? On what operating system?
oauth2client 1.0, Debian Sid, Python 2.7.3

Original issue reported on code.google.com by frap...@gmail.com on 10 Oct 2012 at 4:55

GoogleCodeExporter commented 9 years ago
Are you processing flags arguments on program startup as is done in this sample 
on lines 90-94:

  http://code.google.com/p/google-api-python-client/source/browse/samples/plus/plus.py#90

Original comment by jcgregorio@google.com on 10 Oct 2012 at 5:10

GoogleCodeExporter commented 9 years ago
No, that's the problem, thank you.

I think this should be writte in the docs, where it talks about run(...):
https://developers.google.com/api-client-library/python/guide/aaa_oauth#commandl
ine

Original comment by frap...@gmail.com on 10 Oct 2012 at 5:21

GoogleCodeExporter commented 9 years ago
Good point, will use this bug to track fixes to that documentation.

Original comment by jcgregorio@google.com on 10 Oct 2012 at 5:23

GoogleCodeExporter commented 9 years ago
Docs have been updated:

https://developers.google.com/api-client-library/python/guide/aaa_oauth#commandl
ine

Original comment by jcgregorio@google.com on 6 Nov 2012 at 9:51

GoogleCodeExporter commented 9 years ago
Your example has only 60 lines...
 http://code.google.com/p/google-api-python-client/source/browse/samples/plus/plus.py

Please fix link 

Original comment by sasasaf...@gmail.com on 6 May 2013 at 3:18