gsync
gsync copied to clipboard
new files not synced and show as zero bytes
Looks like maybe google drive changed some protocol? Syncs that used to work regularly now show zero byte uploads for new files:
<f+++++++++ 523.mp3 0 0% 0.00B/s 0:00:00 <f+++++++++ 524.mp3 0 0% 0.00B/s 0:00:00 <f+++++++++ 525.mp3 0 0% 0.00B/s 0:00:00
I'm getting the same problem, testing with one file using the following command (I know the -r is unnecessary in this specific case): gsync --progress --human-readable --debug -uvir ./test.txt drive://backup/ the debug log shows: DEBUG: drive/:665:create(): Creation failed: <HttpError 400 when requesting https://www.googleapis.com/drive/v2/files?alt=json returned "File ID mismatch">
I have a temporary solution for this. See the previous issue (#66).
I've solved the problem following issue #66 and editing the libgsync/drive/__init__.py
file on my Ubuntu 14.04, gsync installed with pip and it worked fine.
It would be nice although to implement it in the code.