farux / obsidian-auto-note-mover

This is a plugin for Obsidian (https://obsidian.md).
MIT License
259 stars 22 forks source link

Bug: Obsidian Sync errors #23

Open Wittionary opened 2 years ago

Wittionary commented 2 years ago

I'm not sure which angle to approach this from, but I figured I'd start here. Whenever I create a new file that hits a rule and is auto-moved, Obsidian Sync gives me the following error. image

It's looking for the file in the location where it was created and, as such, can not find it. Can a grace period be added (or some other solution) such that Obsidian has enough time to start the initial sync of the file so that, when it's auto-moved, it just has to point to the new location?

farux commented 2 years ago

I don't use obsidian sync so I can't confirm this, but I think it is probably the same problem as below. https://github.com/farux/obsidian-auto-note-mover/issues/19 The plugin cannot recognize the tasks of the sync software on the system. Synchronization completion times vary depending on system and network conditions. The best that can be done is to add a uniform delay to the movement of notes, but this is not guaranteed to be error-free since the required delays vary. The sync software should reflect the latest file status.

However, I would consider the option of adding a uniform delay.

kazdonkai commented 2 years ago

Thanks for considering the option to delay execution. I think every user's situation is different, so I would like to be able to set the time to delay, like the option in the Hover Editer plugin.