The LCK (lock) file is created when GnuCash opens to prevent, via warning, someone else (or you) attempting to open the file twice at the same time. (GnuCash does not support simultaneous file access)

When GnuCash shuts down normally, the lock file is deleted.

When GnuCash crashes, the lock file remains, and upon re-starting GnuCash, you get a warning that the file is 'already open'. If you know this is the case, you can choose to 'open anyway' and proceed as before.

However, crashes should not happen and should be reported here and/or filed as bug reports.

There is already another thread here posted about a crash related to 'searching' for a vendor, though there were no additional specifics offered. (it could have been in the context of trying to run a vendor report, but that is not confirmed at this time)

If you can get the crash to happen repeatedly and reliably with the same steps (clicks), then please file a bug report if you don't find one already filed with that info. Also, check the Wiki on how to obtain a Tracefile on your system as that may be requested for the bug report. (you need to get this file *before* restarting GnuCash after a crash as it is overwritten each time.)

Regards,
Adrien

On 12/28/23 8:18 PM, Panagiotis Klivokiotis wrote:
When I try to open a vendor"s report the program closes, a file is created
with extension LCK tha does not disappear. Can you help?


_______________________________________________
gnucash-user mailing list
gnucash-user@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.

Reply via email to