Fix #239 (Google Drive crash on sync)
The issue occurs when the remote timestamp in the DB is more recent than the next (i.e. time has gone backwards).
It's not possible to know which is "really" more recent here, so the safest thing to do is to report an error and skip that file.
I am guessing that Google changed how timestamps worked in the 11th November update :woman_shrugging:
Screenshot with the fix running.
Extra info:
The directory issue seems odd (this is a file, not a directory).
The local_path_string is set to /home/username/Google//AsciiArt.txt
I wonder if that double / is causing issues...
Note: the issue still comes up if I rerun; every time I launch the app. But this is definitely better than crashing at least.
Looking at my Google drive in the Web UI, it has the same file listed twice, with different contents. Madness. Removing one of the duplicates seems to also fix the problem more permanently (with or without this PR)
I know this is old now, but tested the fix, and it works for me too :) I guess 2 way sync is not possible because of the timestamp issue, as it generates errors, but it's great to start