kevboh / longform

A plugin for Obsidian that helps you write and edit novels, screenplays, and other long projects.
Other
610 stars 30 forks source link

Index not updating #180

Open Davidjl50 opened 11 months ago

Davidjl50 commented 11 months ago

Versions Longform version: 2.0.3 Obsidian version: 1.1.16 OS [e.g. macOS, Windows, iOS, Android]: Windows, Linux Theme: no matter

Describe the bug I have created a whole new novel and I am using longform. I added my files to the Longform folder, but the index will not update. I opened the data.json file that reflects the added file. I even added files using the Add Scene button, but the index remains empty.

I have to uninstall and reinstall the plugin, no effect. I restarted and reloaded Obsidian, every time I had to add the file back and the index will not reflect it.

This is what the index file looks like.


longform: format: scenes title: FFM sceneFolder: / scenes: [] ignoredFiles: []

Is there maybe another plugin stopping it from updating?

Please help, I like this plugin a lot

Thank you

kevboh commented 11 months ago

I opened the data.json file that reflects the added file

Longform no longer relies on data.json for file tracking; you shouldn't need to mess with this at all.

This is what the index file looks like.

Could you do me a favor and reply with the contents either wrapped in triple-backticks (same key on keyboard as tilde) a la

here is some escaped text

or just upload the file directly? I suspect this is a YAML parsing issue with a malformed file, but the current formatting makes diagnosing it difficult.

Also, are there any errors in the console (View > Toggle Developer Tools)?

Davidjl50 commented 11 months ago

Here are the files you ask for. I hope these help.

obsidian.md-1690409686059.log obsidian.md-1690409797927.log Index.md

Thank you

kevboh commented 11 months ago

Based on those logs it appears that something is wrong with how Obsidian is loading your app data, and not just Longform's. There are other JSON parsing issues in there. Are other plugins breaking for you?

Davidjl50 commented 11 months ago

No, not that I am aware of