iwonbigbro / gsync

RSync for Google Drive - GSync
Other
238 stars 50 forks source link

Sync's Directories but none of the files within #97

Open ghost opened 8 years ago

ghost commented 8 years ago

I can't seem to get Gsync to sync both the directories and the files they contain. I have been giving it both verbose and recursing parameters but directories and subdirectories are all that sync.

I am sure the error is mine.

Thank you for your help!

UbuntuRunner commented 8 years ago

It´s a known bug (https://github.com/iwonbigbro/gsync/issues/69)

In Ubuntu, open the following file:

sudo vi /usr/local/lib/python2.7/dist-packages/libgsync/drive/init.py

go to:

body = {} for k, v in properties.iteritems(): body[k] = _Drive.utf8(v)

change to:

body = {} for k, v in properties.iteritems(): if v is not None: body[k] = _Drive.utf8(v)