FlorianHeigl / googlecl

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

consider a default for BROWSER #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Seems like almost everybody using this tool will have firefox installed, so it 
might not hurt to try it if it's there and BROWSER isn't set.

Original issue reported on code.google.com by jh...@google.com on 18 Jun 2010 at 10:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
mmm, me be they are using chrome

Original comment by Mr.etern...@gmail.com on 18 Jun 2010 at 11:01

GoogleCodeExporter commented 9 years ago
...or are on a headless server with no graphical browser at all.

Original comment by riku.lin...@gmail.com on 19 Jun 2010 at 8:43

GoogleCodeExporter commented 9 years ago
Well, in that case you should be able to copy and paste the URL into another 
browser somewhere else.  It may also be possible to have python load the URL, 
log you in and click the button automatically.

Original comment by jh...@google.com on 19 Jun 2010 at 9:17

GoogleCodeExporter commented 9 years ago
I think this is related to issue 48. If a default browser it set, 
webbrower.get() will do the right thing.

Original comment by dcol...@gmail.com on 20 Jun 2010 at 5:42

GoogleCodeExporter commented 9 years ago
Issue 40 does indeed contains a patch to improve this, which made it into 0.9.7

In short, googlecl will now try to launch your default browser (and give the 
proper tab/window focus). You can specify a browser specifically for googlecl 
to use with the auth_browser option in the config file.

I think that addresses this issue, so I'll mark it Fixed. If anyone disagrees, 
just post on this issue and I'll re-open it.

Original comment by tom.h.mi...@gmail.com on 20 Jun 2010 at 7:01

GoogleCodeExporter commented 9 years ago
Hi Tom,

I got a report that having auth_browser set was upsetting 0.9.7. I installed 
0.9.7, removed my access_tokens file, and confirmed this error message:

Failed to launch web browser: could not locate runnable browser

Here's my auth_browser setting, which worked with 0.9.5:

auth_browser = C:\Documents and Settings\itruett\Local Settings\Application 
Data\Google\Chrome\Application\chrome.exe

I have observed this behavior on Windows XP. I have not tested any other OS.

Thanks,
Isaac

Original comment by itruett on 21 Jun 2010 at 5:44

GoogleCodeExporter commented 9 years ago
Sorry - forgot to add that if I remove auth_browser then my default browser, 
Chrome, opens just fine.

Original comment by itruett on 21 Jun 2010 at 5:45