Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-12-24 Thread Keith McKenna via gnucash-user
Robert Heller 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 d

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-30 Thread Geoff
P.S. I forgot to mention that I am running the same version of GnuCash as you on Windows 10 and not experiencing the problems you described, albeit I have it installed on the C:\ drive and do not use DropBox. Version: 5.8 Build ID: 5.8+(2024-07-06) Finance::Quote: 1.49 Good luck! Regar

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-30 Thread Megan Tilley
Thank you, Geoff - then SourceForge is the place to go... I have (re)noted the installation process and latest released version information - this time more obviously in my documentation. I had wondered at the instances on GitHub... SourceForge for me! LOL! Thanks! Megan in Sydney On Thu,

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-30 Thread Geoff
Hi Megan There is no guarantee that an upgrade will fix your particular problem, however to answer your questions: > If I need to update the GC program: > > 1. where do I find the documentation outlining the process and > 2. where do I source the most recent release > The installation

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-30 Thread Megan Tilley
My apologies - I did forget to include the App version data: Windows 10 Home 64-bit Version 22H2 OS build 19045.5011 GnuCash Version: 5.8 Build ID: 5.8+(2024-07-06) Finance::Quote: 1.62 == I am the only user. == I only use GnuCash on this computer. == This issue started on Oct 26 with the first

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-30 Thread R Losey
She is running Windows 10 (she said in her original post; see what I kept below)... but not sure which version of GnuCash is being used. Robert, note that there was a GnuCash bug in the Windows version that left a process running that caused this problem. On Wed, Oct 30, 2024 at 8:48 AM Robert H

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-30 Thread R Losey
You don't need to save as a new name. The fact that there was a LCK file with the new name implies that you have the version with the bug that didn't fully shut down GnuCash when one does File->Quit. What version of GnuCash are you running? If you are not at 5.8 or 5.9, I strongly recommend updati

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-30 Thread Robert Heller
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? Som

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-30 Thread Robert Heller
At Wed, 30 Oct 2024 11:59:41 -0500 R Losey wrote: > > She is running Windows 10 (she said in her original post; see what I kept > below)... but not sure which version of GnuCash is being used. > > Robert, note that there was a GnuCash bug in the Windows version that left > a process running that

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-30 Thread Stan Brown (using GC 4.14)
On 2024-10-29 17:19, Robert Heller wrote: > Generally, you can select "Open Anyway". But it is best to avoid this > by properly exiting Gnucash: File=>Exit. More specifically, you can safely click "Open Anyway" if your data file is on this computer (as opposed to some sort of network or cloud sto

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-30 Thread Geoff
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 ".gnucash.LCK") in the folder > with

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-29 Thread Megan Tilley
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

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-29 Thread R Losey
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:

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-29 Thread William Prescott
You can also delete the .LCK file and the message will go away. Will On 29 Oct 2024, at 20:14, Geoff wrote: Have you tried "Open Anyway"? On 30/10/2024 1:12 pm, Megan Tilley wrote: > Thanks, Robert. Apparently, unlike most Windows Users you may be acquainted > with, I almost always shut down a

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-29 Thread R Losey
As has been noted, it means that GnuCash thinks that another instance of GnuCash still has the file open. This could be very dangerous unless you KNOW that something happened -- such as GnuCash crashing, or Windows being shut down while it was running. Also, note, you didn't say which version of G

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-29 Thread Geoff
Have you tried "Open Anyway"? On 30/10/2024 1:12 pm, Megan Tilley 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

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-29 Thread Megan Tilley
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 o

Re: [GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-29 Thread Robert Heller
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 shutdo

[GNC] Could not obtain the lock for **GnuCash-datafilestring**

2024-10-29 Thread Megan Tilley
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) w

Re: Could not obtain the lock

2017-12-28 Thread moirag
Hi, friends, Sorry for going AWOL - I couldn't put any time into this issue until the holidays. I have figured it out!! My anti-virus (a thing called Bitprotector that is provided by Best Buy, where I got the laptop) blocked guncash from doing something. I discovered this completely by accident,

Re: Could not obtain the lock

2017-11-23 Thread moirag
> On Wednesday, 22 November 2017 04:19:21 GMT moi...@web.net wrote: > >> >> It has to be on my desktop?? OK, i'll try that ... tomorrow ... and >> report >> back. >> >> Moira > > No it doesn't have to be on your desktop, but for testing purposes it is a > handy place that we know exists! Oh, well

Re: Could not obtain the lock

2017-11-22 Thread moirag
> Moira, > > Do you have similar problems with other files on that computer? Do you > check it for malware regularly? It seems a little odd that you were able > to place the file there without write permission unless you do have > multiple users on that computer. You may need to find an expert t

Re: Could not obtain the lock

2017-11-22 Thread David Carlson
Moira, You have the attention of several different experienced GnuCash users from various different backgrounds, and we all share your frustration. Your experience does not match that of a typical user. In my opinion there is something unusual about your computer or how you managed to get the fi

Re: Could not obtain the lock

2017-11-22 Thread Mike or Penny Novack
On 11/20/2017 9:49 PM, moi...@web.net wrote: No, the files are not "Read-Only". My username for Windows??? Yes, it is different on the new computer. Does that matter? In general, yes, and not only for gnucash. Would affect ALL situations were a path name was saved because the path name is now

Re: Could not obtain the lock

2017-11-22 Thread David Carlson
Moira, Do you have similar problems with other files on that computer? Do you check it for malware regularly? It seems a little odd that you were able to place the file there without write permission unless you do have multiple users on that computer. You may need to find an expert that is fami

Re: Could not obtain the lock

2017-11-22 Thread moirag
> I believe that others will concur that you do not have write permission in > the folder containing that data file. Is your user name User? Yes, my user name is User. Should I change it (if I can figure out how)? > That is also why GnuCash failed to create a .LCK file. You need to make a new f

Re: Could not obtain the lock

2017-11-22 Thread moirag
> Hi Moira, > > What about the folder that the GC data file is in - is that read-only? > can you create a file in that folder using some other program, say notepad or > word? The folder is not read-only, but it does indicate that there are read-only files in it that I can't find. > Don't know how

Re: Could not obtain the lock

2017-11-22 Thread moirag
David... > The lock file is always in the same folder as the data file and it always > has the same name as the data file with the suffix .LCK Unless you are > doing something very unusual, the files will be visible in your file > explorer as long as you put them somewhere in your user folder on

Re: Could not obtain the lock

2017-11-22 Thread Maf. King
On Wednesday, 22 November 2017 04:19:21 GMT moi...@web.net wrote: > > It has to be on my desktop?? OK, i'll try that ... tomorrow ... and report > back. > > Moira No it doesn't have to be on your desktop, but for testing purposes it is a handy place that we know exists! Maf. __

Re: Could not obtain the lock

2017-11-21 Thread David Carlson
I believe that others will concur that you do not have write permission in the folder containing that data file. Is your user name User? That is also why GnuCash failed to create a .LCK file. You need to make a new folder on your desktop, call it Moira_GnuCash_Data or similar and use file manage

Re: Could not obtain the lock

2017-11-21 Thread AC
On 2017-11-21 00:46, David Carlson wrote: > Moira, > > The lock file is always in the same folder as the data file and it always > has the same name as the data file with the suffix .LCK Unless you are > doing something very unusual, the files will be visible in your file > explorer as long as yo

Re: Could not obtain the lock

2017-11-21 Thread David Carlson
Moira, The lock file is always in the same folder as the data file and it always has the same name as the data file with the suffix .LCK Unless you are doing something very unusual, the files will be visible in your file explorer as long as you put them somewhere in your user folder on your local

Re: Could not obtain the lock

2017-11-21 Thread moirag
No, the files are not "Read-Only". My username for Windows??? Yes, it is different on the new computer. Does that matter? > > Hi, > > Check if you have copied the file and made it read-only (or put it in a > read- > only directory). MAybe your username is different or something? > > HTH, > Maf. >

Re: Could not obtain the lock

2017-11-20 Thread Maf. King
Hi Moira, What about the folder that the GC data file is in - is that read-only? can you create a file in that folder using some other program, say notepad or word? Don't know how windows manages username permissions - I know that some files can only be touched by an administrator. You didn't

Re: Could not obtain the lock

2017-11-20 Thread Maf. King
new computer. I opened GnuCash after > transferring the files with no problem. Since then, however, I get this > "could not obtain the lock" message, and if I click on "Open Anyway" it > will not exit cleanly, it asks me to save the file as a new file. Which I > have d

Could not obtain the lock

2017-11-20 Thread Moira
then, however, I get this "could not obtain the lock" message, and if I click on "Open Anyway" it will not exit cleanly, it asks me to save the file as a new file. Which I have declined to do because i don't know if that will mess things up. I read this thread and loo

Re : Re : Re : Could not obtain the lock

2017-09-06 Thread Alain Dormoy
Tank you. Will do. Alain De : David Carlson Date : samedi 2 septembre 2017 21:44 À : Alain Dormoy Cc : Robert Heller ; gnucash-user@gnucash.org ; Colin Law Objet : Re: Re : Re : Could not obtain the lock Alain, sometimes Windows does some weird things if its settings get messed up

Re: Re : Re : Could not obtain the lock

2017-09-02 Thread David Carlson
long while I save whatever still needs to be saved and I click on the cross in the upper right corner of my screen (am I missing something?) * *Alain* *De :* David Carlson *Date :* samedi 2 septembre 2017 12:37 *À :* Alain Dormoy *Cc :* Colin Law ; Robert Heller ; gnucash-user@gnucash.org *Obje

Re : Re : Could not obtain the lock

2017-09-02 Thread Alain Dormoy
I save whatever still needs to be saved and I click on the cross in the upper right corner of my screen (am I missing something?) Alain De : David Carlson Date : samedi 2 septembre 2017 12:37 À : Alain Dormoy Cc : Colin Law ; Robert Heller ; gnucash-user@gnucash.org Objet : Re: Re : Could not

Re: Re : Could not obtain the lock

2017-09-02 Thread David Carlson
moy" > Cc : > Objet : Re: Could not obtain the lock > > On 1 September 2017 at 11:51, Alain Dormoy wrote: >> >>> Hi! >>> >>> More often than not, when I launch GnuCash, I get the message: >>> >>> Gnucash could not obtain the lock f

Re : Could not obtain the lock

2017-09-02 Thread Alain Dormoy
-- De : "Colin Law" Date : vendredi 1 septembre 2017 13:12 À : "Alain Dormoy" Cc : Objet : Re: Could not obtain the lock On 1 September 2017 at 11:51, Alain Dormoy wrote: Hi! More often than not, when I launch GnuCas

Re: Could not obtain the lock

2017-09-01 Thread Robert Heller
At Fri, 1 Sep 2017 12:51:34 +0200 "Alain Dormoy" wrote: > > Hi! > > More often than not, when I launch GnuCash, I get the message: > > Gnucash could not obtain the lock for file:\...\filename.gnucash > > I click "Open anyway" and it works no

Re: Could not obtain the lock

2017-09-01 Thread Colin Law
On 1 September 2017 at 11:51, Alain Dormoy wrote: > Hi! > > More often than not, when I launch GnuCash, I get the message: > > Gnucash could not obtain the lock for file:\...\filename.gnucash > > I click "Open anyway" and it works normally. So I can't

Could not obtain the lock

2017-09-01 Thread Alain Dormoy
Hi! More often than not, when I launch GnuCash, I get the message: Gnucash could not obtain the lock for file:\...\filename.gnucash I click "Open anyway" and it works normally. So I can't say I really care but it's a bit puzzling. Anyone has an explanation and c