Re: Could not obtain the lock
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, when I was downloading a movie from Cineplex and Bitprotector blocked it and sent me to a window to tell it whether to unblock it ... and there was gnucash also listed as blocked!! Bitprotector had never told me about that. So, I unblocked it and voila! Now gnucash works again. Whew! Moira > 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 > file > onto it with apparently different privileges than you have now. However, > I > am not an expert in privileges, so I cannot help you with that part of > your > problem. > > Another experiment that I can suggest is to try creating a new GnuCash > data > file either on a USB key or in a sub-folder on your desktop, and see if > you > can create a couple of accounts and transactions. Try playing with that > for a while, and create and save a text file or a Word document. > > Good luck and let us know about your progress. > > > David C > > On Wed, Nov 22, 2017 at 8:53 PM, wrote: > >> > 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 I already tried saving it in a new folder, and that didn't >> work. >> >> >> > ___ gnucash-user mailing list gnucash-user@gnucash.org 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.
Re: Could not obtain the lock
> 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 I already tried saving it in a new folder, and that didn't work. ___ gnucash-user mailing list gnucash-user@gnucash.org 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.
Re: Could not obtain the lock
> 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 > familiar with permissions issues. Well, it is brand new, and well-protected, so I think malware is a remote possibility. I will try the USB thing. > Another thing you could try is to put the GnuCash data file on a USB key > and see if it can be opened , closed and saved. > ___ gnucash-user mailing list gnucash-user@gnucash.org 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.
Re: Could not obtain the lock
> 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 folder on your desktop, call it Moira_GnuCash_Data or similar and use file manager to save a copy of the data file there. Alternatively, when you have the file open in GnuCash just do a Save As... into a new folder on your desktop. You will not be able to save any data until you do that. It has to be on my desktop?? OK, i'll try that ... tomorrow ... and report back. Moira ___ gnucash-user mailing list gnucash-user@gnucash.org 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.
Re: Could not obtain the lock
> 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 windows manages username permissions - I know that some files can only be touched by an administrator. You didn't specify windows in your OP, it would certainly be possible on linux that the new user ID would not have permissions to the files of an old ID... I am the administrator for the machine. I have Windows (10?) Moira ___ gnucash-user mailing list gnucash-user@gnucash.org 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.
Re: Could not obtain the lock
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 your > local machine ('C' Drive) or on a removable device. If you are using > cloud storage, you may have a problem with the configuration. I looked in the same folder as the data file, there is no .LCK file there. > In Windows the user name matters when there are more than one user on the same machine, but on single user machines it does not matter if the files were created in another machine under a different user name. Then that is not the problem; these files were created in another file under a different user name; both machines were single user. > What do you mean by "it asks me to save the file as a new file"? Have you been clicking on "File > Save" and immediately getting a message to "Save As.." or does the "Save" button go grey and the asterisk that was in front of the file name in the top banner disappear?. If you do get the "Save As..." prompt, just save it to a different folder under your desktop temporarily until you can find the problem. The actual error message I get when I click Save is "Could not make a backup of the file C:\Users\User\Documents\blahblahblah.gnucash" I then click "Close" (the only option in the error window), and it open the Save window. Regardless of how or where I save it, I get an error message "GnuCash could not write to C:\Users\User\Documents\Temporary Gnucash\blahblahblah.gnucash. That database may be on a read-only file system, or you may not have write permission for the directory." If I try to overwrite the existing file, I get the warning message that it alredy exists, and after that "Could not make a backup of the file C:\Users\User\Documents\blahblahblah.gnucash" The changes don't save. > Exactly how do you exit the program? Are the transactions you entered > recently reappearing when you re-open the file? Do you start the program by clicking on the program icon or on the data file icon or a shortcut to the data file? I exit by clicking on Save, and then when that is done, either clicking on the X in the upper left corner or with File - Quit. Same results either way. I start the program from the descktop shortcut, but get the same results when I open it from the Start menu. Help! ___ gnucash-user mailing list gnucash-user@gnucash.org 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.
Re: Could not obtain the lock
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. > > > ___ > gnucash-user mailing list > gnucash-user@gnucash.org > 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. > > ___ gnucash-user mailing list gnucash-user@gnucash.org 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.