obsidian-remember-cursor-position icon indicating copy to clipboard operation
obsidian-remember-cursor-position copied to clipboard

Remember Cursor Position plugin can't read database: SyntaxError: Unexpected end of JSON input

Open Edw515 opened this issue 3 years ago • 3 comments
trafficstars

When start the Obsidian: “Remember Cursor Position plugin can't read database: SyntaxError: Unexpected end of JSON input” It cannot scroll back to where the cursor was before closing the Obsidian.

Any idea to fix that? Thanks.

Edw515 avatar Jul 27 '22 15:07 Edw515

It looks like the database file was not written correctly. Try to delete database [VAULT]\.obsidian\plugins\remember-cursor-position\data.json

dy-sh avatar Jul 27 '22 16:07 dy-sh

I tried this before and it doesn't work. It happens after I made some delay starts for other community plugins: https://forum.obsidian.md/t/improve-obsidian-startup-time-on-older-devices-with-the-faststart-script/32912/2

Edw515 avatar Jul 27 '22 20:07 Edw515

I have narrowed down the problem. After canceling all the delay starts:

  1. on the Android mobile end, Remember Cursor Position plugin doesn't remember positions when I close OB. (cursor-positions.json not updated).
  2. when the Remotely-Save plugin (https://github.com/remotely-save/remotely-save) is syncing, Remember Cursor Position plugin doesn't work even if OB is opening.

Edw515 avatar Jul 27 '22 21:07 Edw515