GnuCash could not obtain the lock for file....

John Ralls jralls at ceridwen.us
Fri Apr 10 22:26:32 EDT 2015


> On Apr 10, 2015, at 6:47 PM, life0riley <life0s_50 at yahoo.com> wrote:
> 
> 
> 
> On 04/10/2015 08:09 AM, John Ralls wrote:
>>> On Apr 10, 2015, at 8:03 AM, Allan <allanhasmail at gmail.com> wrote:
>>> 
>>> Where is the lock file I need to delete to fix this?
>> In the same directory as your data file, with the same name as your data file + .LC, e.g. myfile.gnucash.LCK.
>> 
>> But you don't need to delete it, just click "open anyway" in that dialog box after making sure that there isn't another instance of GnuCash running with the file open.
>> 
>> Regards,
>> John Ralls
>> 
>> 
> 
> Is clicking "open anyway" the preferred method?
> 
> GnuCash terminated abnormally once on me after I left it open for some time.  I confirmed there were no other instances running and simply went to the directory where the GnuCash data file is stored and deleted the lock file.  I was able to open GnuCash after that without issue.  At that time I was using GnuCash 2.6.1 in Xubuntu 14.04.

Yes, that's the reason for the dialog box.

Regards,
John Ralls




More information about the gnucash-user mailing list