FlorianHeigl / googlecl

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

"No Modfications" immediately after opening document #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
google docs edit --title "Test Document" --editor=openoffice.org --format=odt

What is the expected output? What do you see instead?
OpenOffice starts up and loads the file alright, but while the document is 
still open the command line shows "No modifications to file, not uploading." 
and returns to prompt.

What version of the product are you using? On what operating system?
0.9.5 on Ubuntu Linux 10.04

Please provide any additional information below.
Same issue occurs when using --format=txt or --editor=abiword

Original issue reported on code.google.com by michael....@gmail.com on 19 Jun 2010 at 3:03

GoogleCodeExporter commented 9 years ago
Using python-gdata 2.0.9-0~frasten0

Original comment by michael....@gmail.com on 19 Jun 2010 at 3:13

GoogleCodeExporter commented 9 years ago
The problem is that openoffice (and apparently abiword) immediately launches a 
new process that does the text editing, and closes the process that actually 
launched it.

I'll see if there's a way to get openoffice and abiword to work, but in the 
meantime, the most GUI-friendly editor I've tried that works is gedit, so you 
may want to try that out.

Original comment by tom.h.mi...@gmail.com on 22 Jun 2010 at 4:17

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r485.

Original comment by tom.h.mi...@gmail.com on 29 Oct 2010 at 6:01

GoogleCodeExporter commented 9 years ago
I had grand plans to actually incorporate the OpenOffice API, but that was 
overkill for the problem that needs to be solved here.

You can now add a config file option "impatient_editors" in the DOCS section to 
specify editors that must wait for a signal from you before GoogleCL uploads 
your changes. It can be a comma separated list, e.g.

impatient_editors = openoffice.org,abiword

I've attached a patch for 0.9.11. It also includes the changes for passing 
flags in with the editor command (issue 171).

Original comment by thmil...@google.com on 29 Oct 2010 at 6:06

Attachments:

GoogleCodeExporter commented 9 years ago
That worked, thanks! After hitting enter to save, it would be nice to show an 
upload success message and document link so the user can tell it worked ok.

Also is there any way to have the upload run periodically?

Original comment by michael....@gmail.com on 14 Nov 2010 at 9:44

GoogleCodeExporter commented 9 years ago
That may be possible... file a new issue for an enhancement if you'd really 
like to see periodic background uploads happen.  But it'll be a low priority.

And I'll add a message about the upload.

Original comment by thmil...@google.com on 16 Nov 2010 at 2:42

GoogleCodeExporter commented 9 years ago
Issue 348 has been merged into this issue.

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

GoogleCodeExporter commented 9 years ago
By the way, it works with Libreoffice without any modifications.
google docs edit cliproov --editor=libreoffice --format=odt
(edit and close libreoffice)
Document successfully edited! 
https://docs.google.com/document/d/10eCItopbqCPTE4k4EdbHKi6xV2DHKsr0tTMDBmV7Xg0/
edit?hl=en

Original comment by adoj...@gmail.com on 26 Apr 2011 at 2:20

GoogleCodeExporter commented 9 years ago
This was closed by 0.9.12, using the impatient_editors config file option

Original comment by tom.h.mi...@gmail.com on 29 Apr 2011 at 11:35