Giter VIP home page Giter VIP logo

Comments (5)

bcpierce00 avatar bcpierce00 commented on August 27, 2024

The file contents are also used as part of the fingerprint, though you can disable this behavior (with some loss in safety -- see the manual) by setting both the fastcheck and fastercheckUNSAFE options to true.

You might try running md5 on the local and acd-mounted copies of the file and see if it agrees with diff. Otherwise, running unison with -debug=verbose (on just a single file -- the output will be large) and looking for where it's making fingerprints might give a hint.

from unison.

leocrawford avatar leocrawford commented on August 27, 2024

Thanks for your ideas. I have checked the file contents using diff and md5sum, they are identical. The debug doesn't seem to give much away about what is being fingerprinted or when. Interestingly the code suggests that the exception should indicate at least whether it was contents or metadata that differ, but that doesn't seem to be shown in the debug trace.

I have tried /c/amazon/Pictures/nas9=true and the debug is quite different, but fails because of a mismatched fingerprint. I believe this is purely based on size? The files at both ends are the same size, and the four references in the debug all match the expected size.

Any further ideas?

from unison.

alkuzad avatar alkuzad commented on August 27, 2024

the best shot for you is to override os.reasonForFingerprintMismatch to output as debug also the content of both fpdata. Diff after the function was done may not show everything.

from unison.

leocrawford avatar leocrawford commented on August 27, 2024

Thanks for the hints. For anyone else's benefit after some debugging I found the cause of the problem was on the acd_cli side, as by default it runs commands asynchronously. This can be changed using the --single-threaded option, after which unison and acd_cli work well together

from unison.

bcpierce00 avatar bcpierce00 commented on August 27, 2024

Thanks for the follow-up!

from unison.

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.