vfxparad0x / googlecl

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

docs edit: cannot use gvim as editor on Linux #348

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

Running the following command will reproduce the problem:

$ google docs edit --title='sometitle' --editor=gvim

As with other editors, expected behavior is that google docs command completes 
only after external editor exits.

In a case when gvim is specified as editor option, file 'sometitle' is 
downloaded, gvim editor is opened with the content from the file, but google 
docs command immediately exits with:
"No modifications to file, not uploading." message,  making remote changes 
impossible with gvim. Workaround is to use some other editor.

Versions information:

os:
Linux Mint 10 2.6.35-22-generic

googlecl
Version: 0.9.8-1

python-gdata:
Version: 2.0.8-1.1

python
Python 2.6.6

gvim: 
Version: 7.2.330

Aditional info:
Using the same command with editor options 'vim' or 'gedit' works fine. e.g:  
$ google docs edit --title='sometitle' --editor=vim

Also, the same command works fine on Windows XP:
$ google docs edit --title='sometitle' --editor=gvim

Original issue reported on code.google.com by vlada...@gmail.com on 3 Jan 2011 at 10:04

GoogleCodeExporter commented 8 years ago
This has been fixed in the trunk, but it's taking an abnormally long time to 
produce a release, which I apologize for.

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