Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] In obsidian 1.7.4, sync errors prevents app from starting #301

Open
deafmute1 opened this issue Oct 16, 2024 · 4 comments
Open

[BUG] In obsidian 1.7.4, sync errors prevents app from starting #301

deafmute1 opened this issue Oct 16, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@deafmute1
Copy link

deafmute1 commented Oct 16, 2024

Describe the bug

in Obsidian 1.7.4, the new startup load time optimization feature flags this plugin at start up as "taking a long time to load" and offers the option to disable this plugin. Unless you disable the plugin, Obsidian will never load at startup.

The plugin loads and seems to operate fine (i.e. with no new bugs) if manually enabled after startup.

Method of syncing

  • N/A

To Reproduce

Steps to reproduce the behaviour:

  1. Open Obsidian Vault with this plugin previously enabled

Expected behaviour

Vault should be loadable with this plugin enabled

Screenshots

If applicable, add screenshots to help explain your problem.

Metadata

  • OS: Mac 14.7
  • Plugin version 1.9.2
  • Obsidian version 1.7.4
@deafmute1 deafmute1 added the bug Something isn't working label Oct 16, 2024
@deafmute1 deafmute1 changed the title [BUG] In Obsidian 1.7.4, plugin prevents app from starting until disabled [BUG] In Obsidian 1.7.4, sync errors prevents app from starting Oct 16, 2024
@deafmute1 deafmute1 changed the title [BUG] In Obsidian 1.7.4, sync errors prevents app from starting [BUG] In obsidian 1.7.4, sync errors prevents app from starting Oct 16, 2024
@deafmute1
Copy link
Author

Okay, I let the load process run out for longer, and I found that there is a sync error in console for what appears to be every single book. This appears to be a bug with syncing that is triggered at obsidian start up by enabling "Sync at Startup".

After rerunning the manual sync a few times, these errors went away (despite reloading obsidian half a dozen times and getting the same errors). I'm not sure if this is due to the plugin somehow marking these as failed and giving up, or if rerunning it a bunch of times managed to jostle something into place and fix it. Either way, this error/bug has stopped for me, at least for now

Sync error:
Error syncing book {id: '26035', asin: 'B010PQAUH6', title: 'Oathbringer: The Stormlight Archive Book Three', author: 'Brandon Sanderson', url: 'https://www.amazon.com/dp/B010PQAUH6', …}asin: "B010PQAUH6"author: "Brandon Sanderson"id: "26035"imageUrl: "https://m.media-amazon.com/images/I/91v0vIqvFlL._SY160.jpg"lastAnnotatedDate: Thu Jan 10 2019 00:00:00 GMT+1100 (Australian Eastern Daylight Time) {}title: "Oathbringer: The Stormlight Archive Book Three"url: "https://www.amazon.com/dp/B010PQAUH6"[[Prototype]]: Object t {name: 'YAMLException', reason: 'incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line', mark: r, message: 'incomplete explicit mapping pair; a key node is mi… B010PQAUH6\n ^', stack: 'YAMLException: incomplete explicit mapping pair; a…r.onload (plugin:obsidian-kindle-plugin:303:4152)'}

@woodae99
Copy link

I have the same issue

@aignaciodc
Copy link

Ditto, still. So just keep disabling and re-enabling until it stops?

@ggrant2001
Copy link

I had this issue, disabled the plugin during the load. After Obsidian loaded, I reenabled the plugin, then went to Kindle Highlights settings, and disabled "Sync at Startup". That seemed to fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants