You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem isn't so much that guild update doesn't remove the lock, but the command that ran before it didn't. If the commands were to ignore the lock willy-nilly, it would defeat the purpose of a lock in the first place.
Solution, as I see it, is to fix the commands so that locks get released if an exception is raised. If a lock is in place, you should get a nice error message. And maybe add a command for cleaning the lock explicitly, in case it all does go awry.
yes, the error should get more friendly treatment rather than throw all things plus backtracking directly.
The same issue occurs when a package wasn't found in the repo.
The database lock issue occurs when I try ctrl+c when it works, maybe we can add a sigaction for SIGINT too.
Besides, I patched 'fatal' procedure to display a friendly error message, without backtracking info, users will be frightened by these things.
Reported by Stis on freenode #guile
lock file is not removed at guild update.
A possible solution is to always rm the lock file if we are about to make a new database or supply a clean-lock argumend to guild.
The text was updated successfully, but these errors were encountered: