401 exception (probably from expired token) corrupts data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grive (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm downloading ~25GB of pictures and videos from Google Drive. Occasionally grive crashes because of an exception (details below), creating an empty local file for the last-processed file. When I rerun grive, the empty file overwrites the actual file on Google Drive. Luckily I have these files backed up separately!
I'm creating a bug in Grive's Github account separately. I'll include a link once it's available.
Here is a characteristic example with commentary:
sync "./Pictures/
[That's the last file being processed.]
exception: /build/
Dynamic exception type: boost::
std:
[gr:
[gr:
[gr:
[gr:
[gr:
GData-Version: 3.0
[Oops, exception because of 401 response. Restart.]
b@fuzzbomb:
grive: Symbol `json_tokener_
Reading local directories
Synchronizing folders
Reading remote server file list
Synchronizing files
sync "./Pictures/
[Broken file gets uploaded.]
Issue on Github: https:/ /github. com/Grive/ grive/issues/ 266