-
Notifications
You must be signed in to change notification settings - Fork 8
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
Crash when first writing configuration #97
Comments
Good find! Thanks! I was kind-of expecting there to be some dragons hidden in the autoreloading code, let's see how many... Were you able to get it to work by restarting? |
Yes, all seems to be well again after a restart. 🙂 |
That said, looks like there might be similar trouble in the collection scanner:
This is from removing one subdirectory of a collection (with |
Honestly I think what I really wanted was to just restart the process on every change... but that seems a bit of a sledgehammer. The alternative seems to be having it break in a thousand places though. 🤔 |
Describe the bug
I initially started the app without a config file, then proceeded to add one whilst it was running -- looks like it detected this and reloaded, but then crashed:
I'm running the prebuilt 0.15.0 Linux x86_64 release on Arch Linux.
Full log
To reproduce
What I did:
...though trying it again now I can't reproduce.
Moving or removing the configuration file can cause a similar crash when Photofield tries to reload it:
I'm guessing there's a race condition kicking in here somewhere...
The text was updated successfully, but these errors were encountered: