Application crash on startup when trying to list projects
Hello, I am currently facing an issue when trying to open the application after I restarted my computer. It says that it fails trying to list my projects. I am running the latest version on Pop!_OS 22.04 LTS.
Hi! Did you run into this issue again? How are you launching the application?
Do you have some steps I can use to reproduce the crash?
I was not able to reproduce it unfortunately. For some reason my projects.json was suddenly empty, maybe something caused it to fail while updating.
I fixed it by just deleting everything from .local/share/com.gitbutler.app and reinstalling.
Thanks for reporting!
Currently the application writes this file directly, which can leave it half-written or empty for that matter if the app is killed in just the right time.
A solution would be to write a new file, and move it into place when done as this would make the write atomic.