[GNC] Today's search....for .lck
Mahon Finbar
mahon.finbar at neuf.fr
Mon Aug 7 05:46:04 EDT 2023
OK, lets try to get to the bottom of this.
When I say I have had issues, I am unaware that I should not take the
suggestion of 'open anyway' unless....
I have tried several times to get an answer to why I have had this
issue, and what to do about it.
I think I said in the OP that the message I have been getting about not
having rights was not the first 'save' but I think I may have had finger
problems, around then, as I said in the OP.
I will try, again, to send the list of files, I thought I had created a
jpg.....
For information, the file that opens today when I start Gnucash is -
GNU FEB 12 2019.gnucash.20230730134528 If that is the date and time for
the file I had open it coincides with my recollection of the date and
time I was working when the message 'could not write to file, etc., arose.
As you said there are multiple files opened since.
Barry
On 06/08/2023 18:12, Adrien Monteleone wrote:
> On 8/6/23 6:23 AM, Mahon Finbar via gnucash-user wrote:
>> Quite correct....
>>
>> For a very long time I have had an issue that when I click the app,
>> it loads, but after the perl stuff it says"cannot find the file -
>> open anyway?"
> The lock file message occurs when there is a lock file (.lck) on the
> last used file.
>
> Lock files are created when GnuCash opens a file and they are deleted
> when GnuCash cleanly exits.
>
> Thus, the presence of a lock file means one of two things:
>
> 1. The file is indeed open already. (maybe the app is minimized, or
> maybe the window for it is on an external monitor)
>
> 2. GnuCash did not cleanly shut down the last time it was used and the
> lock file remained.
>
> Only if you know for a fact that you are dealing with case #2 is it
> okay to proceed with "open anyway".
>
>> From time to time, seemingly randomly, it opens the (presumably last
>> used) file and away I go.
>
> I don't think I've ever seen GnuCash continue to do anything unless
> I've chosen an option from the lockscreen warning. If you are
> observing different behavior, I'd call that a bug.
>
>> I am always careful.
>
> Apparently not if you 'presume' the file that gets opened is the last
> used one without making sure. (the file name is in the window title
> bar) And by the names and counts of the files you've provided so far,
> it indeed wasn't the last used file, but a backup. And this has
> happened many times.
>
> But no matter. While you weren't very clear, It appears you are
> opening the app via an app shortcut, and NOT double-clicking the data
> file. If you instead double-click the file, please advise.
>
> Let's move on to cleaning this up. It looks like you started yet
> another thread (not sure why) with a screenshot showing a File
> Explorer list, but it didn't come through. If you can get that
> screenshot to upload (JPG, BMP should work) and we can see the full
> file list with modified and created dates, we can help you sort the mess.
>
> Regards,
> Adrien
>
> _______________________________________________
> 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