[GNC] Could not obtain the lock for **GnuCash-datafilestring**
Geoff
cleanoutmyshed at gmail.com
Wed Oct 30 05:04:29 EDT 2024
Hi Megan
> I received the same error message but this time chose "Open Anyway".
> My file opened and I immediately SAVED AS a new file name.
Good.
> I looked at the folder where my data is stored and there is a LOCK
> file with the new name (formatted as "xxxx.gnucash.LCK") in the folder
> with a timestamp of 2.40pm. (coincides with me saving as the new
> filename)
Not so good - you will get the same warning message next time.
> As a second issue, I have also experienced GC closing down by itself
> (as in - a failure of the app) and disappearing suddenly.
Bad.
> I assumed this was tied to the LCK situation.
Most likely.
What version of GnuCash are you running? One of the recent releases
exhibited similar behaviour on Windows that was fixed in version 5.9.
Regards
Geoff
=====
On 30/10/2024 3:01 pm, Megan Tilley wrote:
> Hi Robert,
> I rebooted again and tried to open GC.
>
> I received the same error message but this time chose "Open Anyway".
> My file opened and I immediately SAVED AS a new file name.
>
> I did what I needed to do (TRansaction Report), and closed GC down.
>
> I looked at the folder where my data is stored and there is a LOCK file
> with the new name (formatted as "xxxx.gnucash.LCK") in the folder with a
> timestamp of 2.40pm. (coincides with me saving as the new filename)
>
> As a second issue, I have also experienced GC closing down by itself (as in
> - a failure of the app) and disappearing suddenly. I assumed this was tied
> to the LCK situation.
>
>
>
> Thanks!
>
>
> Megan in Sydney
>
>
>
>
> On Wed, 30 Oct 2024 at 14:18, R Losey <rlosey at gmail.com> wrote:
>
>> If you have rebooted your computer since you've last run GnuCash and you
>> know that GnuCash is not running on any other computer accessing that file,
>> you may safely use the "Open anyway" option - it seems to deleted the old
>> .LCK file, create a new one, and open your file.
>>
>> On Tue, Oct 29, 2024 at 9:13 PM Megan Tilley <megan.tilley at gmail.com>
>> wrote:
>>
>>> Thanks, Robert. Apparently, unlike most Windows Users you may be
>>> acquainted
>>> with, I almost always shut down any program I am using once finished.
>>>
>>> In this particular case, I know I shut GnuCast down. However, I DID try
>>> and
>>> reopen it within 60 seconds of shutting GC down. I think that is the cause
>>> of my "lock-out".
>>>
>>> Your explanation is helpful, but doesn't touch on how I get around this
>>> issue.
>>>
>>> I have rebooted my PC and am still locked out of GnuCash, with the same
>>> error message. Plus - I can see the *.gnucash.LCK* file with a time stamp
>>> of 8:44am this morning (my local time is now 1.11pm).
>>>
>>> Thanks!
>>>
>>>
>>> Megan in Sydney
>>>
>>>
>>> On Wed, 30 Oct 2024 at 11:19, Robert Heller <heller at deepsoft.com> wrote:
>>>
>>>> If you improperly close Gnucash it will leave behind a lock file, which
>>>> Gnucash takes to mean that Gnucash already running -- Gnucash does not
>>>> support
>>>> multiple concurrent instances using the same datafile and checks for
>>> this
>>>> case. Improperly closing Gnucash happens when you do something like
>>>> shutdown
>>>> MS-Windows while Gnucash is still running -- DON'T DO THAT. *Always*
>>>> cleanly
>>>> exit Gnucash before logging out / shutting down your computer. (I know
>>>> MS-Windows users have been "trained" not to exit applications. And I
>>> have
>>>> seen applications that lack any sort of "exit" option. Dumb. Really
>>> Dumb.)
>>>>
>>>> Generally, you can select "Open Anyway". But it is best to avoid this
>>> by
>>>> properly exiting Gnucash: File>Exit.
>>>>
>>>> At Wed, 30 Oct 2024 10:53:54 +1100 Megan Tilley <megan.tilley at gmail.com
>>>>
>>>> wrote:
>>>>
>>>>>
>>>>> Hi everyone, I occasionally receive this message, but I can not find
>>> its
>>>>> definition anywhere.
>>>>>
>>>>> I am the only user on this Win10 platform, and if GC is closed, and
>>> does
>>>>> not appear in TaskManager, isn't it "closed"?
>>>>>
>>>>> My options are to - Open Read-only; create New file; Open Anyway; Open
>>>>> Folder.
>>>>>
>>>>> 1) what does the error mean?
>>>>> 2) which option should I select?
>>>>> 3) what happens if I select incorrectly?
>>>>>
>>>>> Thanks!
>>>>>
>>>>>
>>>>> Megan in Sydney
>>>>> _______________________________________________
>>>>> 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.
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
>>>> Deepwoods Software -- Custom Software Services
>>>> http://www.deepsoft.com/ -- Linux Administration Services
>>>> heller at deepsoft.com -- Webhosting Services
>>>>
>>>>
>>> _______________________________________________
>>> 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
>>
> _______________________________________________
> 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.
More information about the gnucash-user
mailing list