Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #239 (Google Drive crash on sync) #240

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

OMGtechy
Copy link

@OMGtechy OMGtechy commented Nov 29, 2024

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 🤷‍♀️

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.
@OMGtechy
Copy link
Author

image

Screenshot with the fix running.

@OMGtechy
Copy link
Author

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

@OMGtechy
Copy link
Author

Note: the issue still comes up if I rerun; every time I launch the app. But this is definitely better than crashing at least.

@OMGtechy
Copy link
Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant