gingko / client

Gingko Writer. Tree-based writing software, written in Elm.
https://gingkowriter.com
MIT License
361 stars 49 forks source link

Unhandled Promise Rejection #197

Open pecefix opened 4 years ago

pecefix commented 4 years ago

Describe the bug After I finished editing a card, the following error (see screenshot 1) occured and then I can't close Gingko anymore nor the file is saved with the latest changes.
Additionally the file is deleted, as I noticed when I kill Gingko (with task manager) and restart it (Screenshot 2) . But I found a workaround (additional context)

To Reproduce It happened occasionally but at the moment I can't reproduce it or force it to pop up.

Expected behavior I expect no error and no deletion of file. :-)

Screenshots 1) 1_Error after end of editing 2) 2_ NewStart  File missing

Software info:

Additional context My workaround is: "SAVE AS" and rename the file . Then I'm able to close Gingko and I can work with the renamed file again. But the old file is gone.

pecefix commented 4 years ago

The bug is still there with version 2.4.15 . Today it happened again. The file is deleted at the moment the error popped up. I cannot close Gingko afterwards. But there is still the chance to export the file into Word, JSON whatever. And there is the chance to restore the file via the backup folder in AppData/Roaming/Gingko/backups/ 2020-06-07_09h18_46

I assume that the Workaround "SAVE AS"(see Additional Context above in my first report ) does not contain the last edits, BUT the backup does and so the exported file in Word! But I have to confirm this at the next error.