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

Autosave to enable recovery after crash #47

Open
peter88213 opened this issue Jan 9, 2025 · 0 comments
Open

Autosave to enable recovery after crash #47

peter88213 opened this issue Jan 9, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@peter88213
Copy link
Owner

peter88213 commented Jan 9, 2025

At the moment, this feature seems not to be necessary due to the stability of novelibre. However, errors can be introduced by plugins at any time.

  • Create an autosave file of the current novel. This may be a binary file, e.g. by pickle.
  • On regular project save, delete the autosave file.
  • On closing the program, delete the autosave file.
  • If an autosave file exists on program start up, show a dialog for optional auto-restoring, like LibreOffice does.

Open questions:

  • What triggers autosaving?
  • If an autosave file exists on start up, are the plugins then suspicious and should no longer be loaded?
  • Has exception handling to be adapted, so that autosave files are kept?
  • What if novelibre is started with another project right after the crash?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant