[GNC] Could not obtain the lock for **GnuCash-datafilestring**
Robert Heller
heller at deepsoft.com
Wed Oct 30 09:48:47 EDT 2024
Yes, if "GC closing down by itself (as in - a failure of the app)" -- that is
it is "crashing", the LOCK will be left behind.
It sounds like something is wrong. *I* know nothing about MS-Windows. Can
you post here the exact version of Gnucash and the version of MS-Windows you
are running? Someone on this list can probably help you find out what is
wrong.
At Wed, 30 Oct 2024 15:01:25 +1100 Megan Tilley <megan.tilley at gmail.com> 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
> >
>
>
--
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
More information about the gnucash-user
mailing list