Code Monkey home page Code Monkey logo

Comments (2)

acook avatar acook commented on June 20, 2024 2

Hmm. I've been trying to figure out how Sync might be involved.

The fact that it seems to have started months after I started using Sync seems to make it unlikely that it is just Sync itself, something probably happened in late August that created the issue.

The problem with #1096 is that these aren't new files some of them had been in the vault for months. Looking at my git history there's no correlation between when a file is created, moved, or renamed and when its contents are clobbered.

So unless Sync is just randomly re-creating files during a transfer (maybe because of like an atomic file update??) I'm struggling to figure out how it would create an empty file that is then populated by Templater on a remove machine and subsequently the newer file then transfers back. Particularity for files that aren't actively open on a remote machine. No amount of templates disabling Sync would fix that because a template shouldn't be running at all, right?

Plus that issue popped up 6 months before this one did, so I'm not sure. There could still be related under the hood, but I suspect they're different.

In the meantime I'll disable Templater on my phone and secondary devices and see if it occurs again.

Also, for posterity, even though I'm using Obsidian Git I am only using it locally, not for syncing. So it's not creating any conflicts with Obsidian Sync or anything.

from templater.

Zachatoo avatar Zachatoo commented on June 20, 2024

May be related to #1096, see discussion there for potential workarounds and why this would be hard to fix on the Templater side.

from templater.

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.