iwonbigbro / gsync

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

new files not synced and show as zero bytes #67

Open jhkrischel opened 10 years ago

jhkrischel commented 10 years ago

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

andagr commented 10 years ago

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">

GyroLand commented 10 years ago

I have a temporary solution for this. See the previous issue (#66).

CarloNicolini commented 8 years ago

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.