salimoha / googlecl

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

Error "browser: None" #328

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add to config file: auth_browser = /usr/bin/firefox
2. Edit a document: google docs edit "TestDoc"
3. Screen shows browser: None

What is the expected output? What do you see instead?
The configured browser should be loaded automatically. Instead there is a 
warning about the browser and then a link to click manually.

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?
Revision 512, Ubuntu 10.10 i386 python-gdata 2.0.9-0~frasten0

Please provide any additional information below.
The config file is definitely being read since it is finding my username ok. 
Also tried "export BROWSER=/usr/bin/firefox" and still got the same error. 

Original issue reported on code.google.com by michael....@gmail.com on 16 Nov 2010 at 10:39

GoogleCodeExporter commented 9 years ago
r515 fixes the issue (and some related bugs).

There was a typo in googlecl/docs/client.py that was causing this problem.

Original comment by tom.h.mi...@gmail.com on 16 Nov 2010 at 10:30

GoogleCodeExporter commented 9 years ago
Great, the browser now loads the URL automatically. Still the authentication 
step has to be repeated each time opening a file though.

Original comment by michael....@gmail.com on 19 Nov 2010 at 8:31

GoogleCodeExporter commented 9 years ago
I don't quite understand.  You are prompted to grant access every time you try 
to edit a document?  Could you show me the command you are using?  Is skip_auth 
= True set in the DOCS section of your config file?

Original comment by tom.h.mi...@gmail.com on 19 Nov 2010 at 5:09

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Yes, each time the doc is opened, it asks to grant access again. First open a 
doc, follow link and grant access, edit and save in OpenOffice, then enter to 
save to Docs. Repeat the command and a new link will be shown to grant access.
Here is what the command history looks like: http://pastebin.com/KpaHgYym

No skip_auth is defined in the config, here is the entire file: 
http://pastebin.com/v2jfjFFT

Original comment by michael....@gmail.com on 20 Nov 2010 at 8:36

GoogleCodeExporter commented 9 years ago
Could you update to r526? That should fix the issue with Docs needing 
authentication every time.

Original comment by tom.h.mi...@gmail.com on 23 Nov 2010 at 7:48