ericyd / gdrive-copy

Web app to copy a Google Drive folder
https://script.google.com/macros/s/AKfycbxbGNGajrxv-HbX2sVY2OTu7yj9VvxlOMOeQblZFuq7rYm7uyo/exec
MIT License
1.58k stars 343 forks source link

Auto stop copy #126

Open manhtidus opened 5 years ago

manhtidus commented 5 years ago

My folder after copy over 2400 files it stopped. I resumed it manually, and only copy more 4-8 files and stop again. https://imgur.com/MNpsd3U

ericyd commented 5 years ago

What's the bug?

manhtidus commented 5 years ago

After copy totally perfect over 2400 files to new place (my folder have >3500 files), it stopped. I tried resume a few times, but it only continue copy 4-8 files then stop. I waited for a while but it's not copy anymore. In the photo that I have attached above showed timeline I tried to resume, and some files to be copied before stopping

ericyd commented 5 years ago

The image you've linked doesn't show any obvious issues - it looks like the end of a successful copy log. In fact, the script thinks its complete because it marked it as complete under the Progress header.

It seems that the real bug here is that the script stopped improperly - i.e., without logging that it was going to stop. If that happens it would be possible for the state to be improperly saved and therefore some files might get missed.

Is this issue consistently reproducible with this folder?