GithubHelp home page GithubHelp logo

sync fails after install about grive2 HOT 5 CLOSED

vitalif avatar vitalif commented on June 9, 2024
sync fails after install

from grive2.

Comments (5)

vitalif avatar vitalif commented on June 9, 2024

Hm. That means google returns a drive file without MD5 checksum in your case. What can that file be?... API docs says "An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive"...

It seems google docs documents have no md5 checksum. Interesting...

from grive2.

vitalif avatar vitalif commented on June 9, 2024

I've just fixed it by ignoring files without md5Checksum. That means google documents won't be synced, but drive should work overall...

from grive2.

mkauzlar avatar mkauzlar commented on June 9, 2024

Working after this change however now is moving all files and folders to Trash in google drive.
Here is what I did:

Create local folder GDrive
cd GDrive
grive -a (and do all the auth)
starts syncing and all messages like this appears:

sync "./Folder" deleted in local. deleting remote

Same with files.

In google drive I can see they are all moved to Trash

from grive2.

vitalif avatar vitalif commented on June 9, 2024

Did you do it on a clean newly created directory, or in a directory in which grive was ran some time in the past? If there's a .grive_state with a changestamp greater than the last changestamp on the google side, but no local files, grive will think you deleted them and try to delete them server-side...

from grive2.

mkauzlar avatar mkauzlar commented on June 9, 2024

Started from scratch and all is ok now. Must have been the .grive_state from the failed attempts before your fix.
Thanks

from grive2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.