vfxparad0x / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

"Could not locate runnable browser" in stead of "Please login and grant access" #375

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Installed googlecl and all dependencies on a Freenas (no browser indeed)
2. Issue any googlecl command

What is the expected output? What do you see instead?
Expected:
-------------------------------------------------------
Please specify user: a.×××
Please log in and/or grant access at
https://www.google.com/accounts/OAuthAuthorizeToken?oauth_token=4×××&hd=defau
lt

Please enter the verification code on the success page:
-------------------------------------------------------
Actual:
-------------------------------------------------------
Please specify user: b...@basbex.com
Traceback (most recent call last):
  File "./google", line 478, in run_interactive
    run_once(options, args)
  File "./google", line 605, in run_once
    authenticated = authenticate(auth_manager, options, config, section_header)
  File "./google", line 117, in authenticate
    browser = webbrowser.get()
  File "/usr/local/lib/python2.5/webbrowser.py", line 52, in get
    raise Error("could not locate runnable browser")
Error: could not locate runnable browser
-------------------------------------------------------

What version of the product are you using? 0.9.12
On what operating system? Freenas 7.2 (FreeBsd)
What version of gdata-python-client (aka python-gdata)? 2.0.14

Please provide any additional information below.
Tried setting auth_browser=None in config file (./config/googecl/config) but 
that didnt't change anything

Original issue reported on code.google.com by b...@basbex.com on 11 Mar 2011 at 2:48

GoogleCodeExporter commented 8 years ago
Seems i'v got it fixed:

i was told i should set auth_browser to None
but it should be set to disabled

Original comment by b...@basbex.com on 11 Mar 2011 at 9:46

GoogleCodeExporter commented 8 years ago
Yup, I told you the wrong thing. But "None" should be a valid way to indicate 
that you don't want a browser to launch, and the uncaught exception is still a 
problem.

Original comment by tom.h.mi...@gmail.com on 18 Mar 2011 at 1:55

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r543.

Original comment by tom.h.mi...@gmail.com on 18 Mar 2011 at 2:04