[GNC] Claims file is locked; stalls when I delete lck file
R Losey
rlosey at gmail.com
Sat Aug 16 21:35:19 EDT 2025
It helps to understand about the LCK file.
When GnuCash starts, it checks for the LCK file; if it is present, you get
the warning you noted.
If it is not present, it creates the file and then opens your data file.
When you shut down GnuCash, it closes your data file and then deletes the
LCK file.
So, if you keep seeing the error about the LCK file, it probably means that
your GnuCash is crashing (I think this is what you mean by "stalls").
The "Open Anyway" pretends like the LCK file was not there. If you only
access GnuCash from one computer, this should be a pretty safe option. The
"Read Only" option won't write out any data.
>From the symptoms, it sounds GnuCash is crashing when reading in your data
file. If you have backups of your data file, can you open an older one?
I agree with the other post -- what were you running before 5.10?
On Sat, Aug 16, 2025 at 3:15 PM Cricket Onebit <cricketbeautiful at gmail.com>
wrote:
> When I open GnuCash, it claims the file is locked.
>
> I have tried Read Only, Open Anyways, and deleting the lck file.
>
> All three options close the window, but then the program stalls.
> ctrl-alt-del does not list GnuCash. A new lck file is created.
>
> I was running 5.10. I'm not sure if I'd actually used that version or just
> installed it. Updating to 5.12 did not change the symptoms.
>
>
>
>
>
> --
> +++
>
> Not as a ladder from earth to Heaven, not as a witness to any creed,
> But simple service simply given to his own kind in their common need.
> -- Rudyard Kipling
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
--
_________________________________
Richard Losey
rlosey at gmail.com
Micah 6:8
More information about the gnucash-user
mailing list