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

Bug: can't load my longform project after restart my obsidian #229

Closed luojiang-killgrave closed 5 months ago

luojiang-killgrave commented 5 months ago

Versions Longform version: 2.0.4 Obsidian version: 1.5.3 OS [e.g. macOS, Windows, iOS, Android]: windows and macOS Theme: default Other plugins that you think might be relevant here: I disabled all other plugins( Better Word Count,Dataview,Excalidraw,Importer, Timelines ), nothing changed.

Describe the bug well, after I create a longform project, it works fine. but after I put my laptop away for a while(maybe over a night), when I reopen my obsidian, my longform project just can't show anything, I tried to press the button beside Drafts, It shows like this (with console log, hope it helps)

image

To Reproduce Steps to reproduce the behavior:

  1. don't really know, just leave my latop for a while

Expected behavior

Screenshots

image

Additional context I am using Google Drive to store all my files, share between my windows laptop(surface laptop3) and a macbook pro. but this bug happened during I operate on my windows laptop.

luojiang-killgrave commented 5 months ago

I tried to create a new longform project then delete it, my old longform project came back! (with scenes disordered) hope this helpful

jgharding commented 5 months ago

In case it helps, I’ve had this pop up and the issue is usually resolved by closing and reopening Obsidian.

kevboh commented 5 months ago

This almost always happens because the yaml in the index file is malformed in some way. This is easiest to diagnose by opening the yaml in a text editor like VSCode and looking at it.