Google Drive client fails to sync Pages documents I have two Pages documents in a local folder. They should be synchronised to Google Drive by my Google Drive client. The documents appear as folders remotely.

I'm getting "Upload error - an unknown issue has occurred".

Now if I open the GDrive folder in my brower, instead of SomeDoc.pages, I see a folder with the same name and a structure like so:

Index.zip
preview-micro.jpg
preview-web.jpg
preview.jpg
Metadata
    Properties.plist
    ...
Data
    (images contained in the doc)


Closed and restarted the client, and deleted the faulty remote files. It didn't help (it actually deleted the local files in an attempt to synchronise).

Surprisingly, nothing to be found: search and search on Google nor on stackexchange.

Any idea?


OSX 10.10
Pages 5.5.1 (2111)
Google Drive 1.18.7821.2489


UPDATE

This is stunning: if you open a terminal and ls -la the directory where your document resides, you'll find out the document is actually not a file but a directory, containing all the items I've listed (Data, Metadata...). Even though Finder presents it as an actual file.

I've updated to Pages 5.5.2 (2120). Making a guess from this post, I re-opened the file and re-saved it. Now in the terminal, it shows as a file, not as a directory.

Then I renamed it to trigger a sync (not sure this step is mandatory). I worked. Renamed it to its original name.

The old files still appear "in error" in the Google Drive client, even after I restarted it (by going to Activity Monitor to finish it as there's no quit button in the current version). Still have to fix that part.
Did you try to uncheck the following.


  Google Drive (drive.google.com), click Option (the gear icon) and
  Upload settings.
  
  There, uncheck the option Convert uploaded files to Google Docs
  format.