We are not sure exactly what’s going on here. We believe that on some mac systems node.fs and osx do not play well and the writing queue gets stuck. This is not an Obsidian’s problem but a deeper/lower level issue.
In 0.12.5, Licat introduced a periodic safety check on the writing queue and if there is no progress, you will get a warning inviting to restart obsidian.
I’ve also been doing a little experiment on my end. I started using Obsidian pretty recently and this bug happened 3 times in the span of my two first days (with a few plugins).
Then following your advice I turned off all third-party plugins and it didn’t happen for the next few days.
I re-added VaultStats, BetterWordCount and Hotkeys++ on the 13th and it happened again on that very evening.
Today I removed both of them and turned on Emoji Toolbar and Tracker and it happened again right now.
From my observations, it would seem like the issue isn’t a specific third party plugin but just having at least one enabled .
Anyways this time I thought of turning on the console and this is what shows up (no errors):
Some of those are supposed to be disabled but I’m not sure if they came back from the dead as part of the bug, if I just have a bad memory or just don’t know how to click a button (I’m not ruling out any of these options).
Anyways I currently have the app in limbo with the console opened and I just DMed Licat.
UPDATE: we were able to get some more info, but it’s not resolved yet there’s still mysterious stuff going on.
Hi,
This is the first time I’ve this issue: a small window with the message that the file fail to save and obsidian get stuck.
I closed and reopened Obsidian, opened the “File Recovery” > Snapshots and the last snapshot had 0KB (nothing, empty).
I don’t have any sync system active, only simple local files.
The “small window” was like the usual black “notice-container” on right-top side that appears when we check plugins update. Next time I’ll try to capture a screen recording, but the “notice-container” it’ll be impossible to record (very fast mesage).
About the snapshots, yes, the older are available.
Hi, I had this issue again. In the last weeks I’ve used Obsidian only on iOS/iPadOS and this seems a Mac only issue.
I’ve seen a notification saying that the file couldn’t be saved. Fortunately this time in the version history I’ve found a copy with almost all the note.
This is the log:
app.js:1 Obsidian Developer Console
main.ts:27 loading markdown-table-editor plugin
main.ts:38 loading obsidian-tracker plugin
main.ts:10 Loading Hotkeys++ plugin
main.ts:38 Dataview: Version 0.4.x Loaded
main.ts:17 Light mode active
main.ts:9 e
main.ts:49 Loading the DEVONlink plugin.
main.ts:49 loading Find unlinked files and unresolved links plugin
main.ts:5 Loading the macOS Keyboard Navigation plugin.
main.ts:55 Loading Markdown-Prettifier
main.ts:31 Loading Note Refactor plugin
main.ts:15 loading Sort & Permute lines
VM252:3828 [Calendar] Trying to switch Moment.js global locale to it, got it
index.ts:351 Dataview: Parsed all file prefixes (0.003s)
index.ts:242 Dataview: Task & metadata parsing queued in 0.002s.
obsidian-text-editor.ts:19 getCursorPosition was called: line 16, ch 143
obsidian-text-editor.ts:46 acceptsTableEdit was called on row 16
obsidian-text-editor.ts:52 getLine was called on line 16
obsidian-text-editor.ts:19 getCursorPosition was called: line 17, ch 0
obsidian-text-editor.ts:46 acceptsTableEdit was called on row 17
obsidian-text-editor.ts:52 getLine was called on line 17
obsidian-text-editor.ts:19 getCursorPosition was called: line 16, ch 209
obsidian-text-editor.ts:46 acceptsTableEdit was called on row 16
obsidian-text-editor.ts:52 getLine was called on line 16
obsidian-text-editor.ts:19 getCursorPosition was called: line 17, ch 0
obsidian-text-editor.ts:46 acceptsTableEdit was called on row 17
obsidian-text-editor.ts:52 getLine was called on line 17
obsidian-text-editor.ts:19 getCursorPosition was called: line 18, ch 138
obsidian-text-editor.ts:46 acceptsTableEdit was called on row 18
obsidian-text-editor.ts:52 getLine was called on line 18
obsidian-text-editor.ts:19 getCursorPosition was called: line 19, ch 0
obsidian-text-editor.ts:46 acceptsTableEdit was called on row 19
obsidian-text-editor.ts:52 getLine was called on line 19
obsidian-text-editor.ts:19 getCursorPosition was called: line 18, ch 229
obsidian-text-editor.ts:46 acceptsTableEdit was called on row 18
obsidian-text-editor.ts:52 getLine was called on line 18
obsidian-text-editor.ts:19 getCursorPosition was called: line 19, ch 0
obsidian-text-editor.ts:46 acceptsTableEdit was called on row 19
obsidian-text-editor.ts:52 getLine was called on line 19
index.html:1 Uncaught (in promise) Timed out.
app.js:1 Timed out.
(anonymous) @ app.js:1
app.js:1 Uncaught (in promise) Timed out.
obsidian-text-editor.ts:19 getCursorPosition was called: line 20, ch 389
obsidian-text-editor.ts:46 acceptsTableEdit was called on row 20
obsidian-text-editor.ts:52 getLine was called on line 20
obsidian-text-editor.ts:19 getCursorPosition was called: line 21, ch 0
obsidian-text-editor.ts:46 acceptsTableEdit was called on row 21
obsidian-text-editor.ts:52 getLine was called on line 21
app.js:1 Sync Error!
app.js:1 Timed out.
(anonymous) @ app.js:1
app.js:1 Timed out.
(anonymous) @ app.js:1
app.js:1 Uncaught (in promise) Timed out.
index.html:1 Uncaught (in promise) Timed out.
app.js:1 Sync Error!
app.js:1 Timed out.
(anonymous) @ app.js:1
DevTools failed to load SourceMap: Could not parse content for app://obsidian.md/pickr.min.js.map: Unexpected end of JSON input
index.html:1 Uncaught (in promise) Timed out.