Re: [GNC] Today's search....for .lck
Barry, we don't need your actual files. That's not going to help much anyway. The only thing requested was a screenshot of your file manager window showing the list of files, including their names, creation dates, and modified dates. But if that list is several scrolling windows long, then the better option is to export the list into a txt file and send that (or copy/paste it into a reply). The command to do so was provided several replies back. Regards, Adrien On 8/13/23 1:41 PM, Mahon Finbar via gnucash-user wrote: Apropos, the whole issue ofthehistory of the GNU files, I have been having a lot of problems trying to get the into a fo that can be senton here here. There are so many files with very small differences it seems to "confuse" cutting and pasting. Could I suggest I try saving individually GNU files from the period before 30.7.2023, which is when the issue of not being able to save the files started, as .txt files and sent them over? ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
One possibility that I might suggest is to buy a couple of USB memory keys and move every file that you can find in whichever user folders on your 'C;' drive to folders with similar names on one of the USB keys. Then try to pick out the files that appear to have data that belongs in your final data file and use them to reconstruct your file on the other USB key. Plan a method that allows you to keep track of which files you have checked and keep them afterwards as backup in case you need to make another try. On Sun, Aug 13, 2023 at 2:12 PM Maf. King wrote: > On Sunday, 13 August 2023 19:41:29 BST Mahon Finbar via gnucash-user wrote: > > > > > Could I suggest I try saving individually GNU files from the period > > before 30.7.2023, which is when the issue of not being able to save the > > files started, as .txt files and sent them over? > > Barry. > > This whole thing seems to be a mess, with different users, different > levels of > backup files being used and reused, and folders seemingly vanishing. I'm > not > sure that introducing .txt files randomly will help anyone. > > Can you still open whatever you think is your most "recent" gnucash data > file > (ie the one you think has the most recent changes in it)? (just starting > the > program from the menu might do it - not worrying about users and data > files and > so on) > > Can you then "Save As" and a create new file (choose a sensible filename) > just > in the top level of the user's folder? (that at least will get over the > problem of which user is trying to save files, clean-up can wait) > > 0.02 > Maf. > > > > ___ > gnucash-user mailing list > gnucash-user@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. > -- David Carlson ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
On Sunday, 13 August 2023 19:41:29 BST Mahon Finbar via gnucash-user wrote: > > Could I suggest I try saving individually GNU files from the period > before 30.7.2023, which is when the issue of not being able to save the > files started, as .txt files and sent them over? Barry. This whole thing seems to be a mess, with different users, different levels of backup files being used and reused, and folders seemingly vanishing. I'm not sure that introducing .txt files randomly will help anyone. Can you still open whatever you think is your most "recent" gnucash data file (ie the one you think has the most recent changes in it)? (just starting the program from the menu might do it - not worrying about users and data files and so on) Can you then "Save As" and a create new file (choose a sensible filename) just in the top level of the user's folder? (that at least will get over the problem of which user is trying to save files, clean-up can wait) 0.02 Maf. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
Apropos, the whole issue ofthehistory of the GNU files, I have been having a lot of problems trying to get the into a fo that can be senton here here. There are so many files with very small differences it seems to "confuse" cutting and pasting. Could I suggest I try saving individually GNU files from the period before 30.7.2023, which is when the issue of not being able to save the files started, as .txt files and sent them over? Barry On 07/08/2023 23:34, Adrien Monteleone wrote: Yeah, I'm suspecting the "can't write to file" message is when trying to save the file back to its original location which is under a different user than the one who's desktop is front and center at that moment. But we'll need that error message screenshot to confirm. And then there is the obvious backup file(s) mess to clean up. And as you note, that will likely involve copying files from one user to another and correcting their permissions accordingly. (before any cleanup within GnuCash itself!) I'm not versed on such, but I'm sure someone here is. Regards, Adrien p.s. — I used to use Gmail for this list till I discovered the same problem so I switched to an account provided by my ISP and it has been a few years with no issues. (though I now use the list via gmane. And that reminds me, I'm long overdue for a wiki write up for gmane I promised!) On 8/7/23 4:23 PM, David Carlson wrote: Wow. I just went to the archives of this list and discovered that not all the messages were appearing in my Gmail folder. Specifically there was a reply to my first message about providing a path/filename where you provided C:\users\administrato\documents is where the only one which "fits" i.e. where GNU FEB 12 2019.gnucash is. There are literally hundreds of others to which Adrien has now responded. He correctly suggests that is a major part of your problem, and begins to work on a solution. For some reason that message from you is not in my Gmail, but that is a completely different problem that is for another place. Presumably administrato is your root user name with different rights than your ordinary Barry Mahon user name. Part of the untangling will be to aggregate everything under one user name, preferably without root rights. I am not qualified to help you with that. ___ gnucash-user mailing list gnucash-user@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. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
Yes, I appreciate that. Over the years my 'user' name has been changed. Administrato is the one used as the baseline. However the Gnu files were originally under the Barry Mahon user. Barry On 10/08/2023 17:12, Adrien Monteleone wrote: Barry, Be sure you aren't confusing the two users on your system! (one is "Barry Mahon" and the other is "administrato") Regards, Adrien On 8/10/23 2:59 AM, Mahon Finbar via gnucash-user wrote: OH, I now find the Tax Account folder has been deleted. I have no recollection, but it must have happened. I'll go through the backup files on Backblaze. Sorry, as I said, I have no recollection Barry On 07/08/2023 23:05, Adrien Monteleone wrote: Barry, At one point you advised you had GnuCash files in: C:\Users\Barry Mahon\Documents\Tax accounts and returns\ now, you are saying it is: C:\users\administrato\documents These are 2 separate locations and two separate 'users' on this machine. Where do you *think* your GnuCash file is supposed to be? (full qualified path please) And what do you *think* its file name is supposed to be? (just the file name here is fine) And for completeness, can you trigger that 'cannot write to file' warning that you originally reported, and send us a screenshot? ___ gnucash-user mailing list gnucash-user@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. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
On 8/10/2023 11:12 AM, Adrien Monteleone wrote: Barry, Be sure you aren't confusing the two users on your system! (one is "Barry Mahon" and the other is "administrato") Regards, Adrien Barry. although you are a single human being with multiple user log ins on your computer, the computer does not "know" that all of these users are a single human. As far as your computer is concerned, different people. Take my household as an example. I am the administrator on all of our computers. I am also an ordinary user on the one I mainly use and my wife is an ordinary user of the one she mainly uses. On my computer, the two accounts are a single human user but on my wife's, two different humans. If you have an ordinary ;pg in and an administrator log in it is important for you to keep in your mind "which am I logged in to at this moment?". Ideally you are not logged in as administrator except for the brief times when you need administrator rights and you do all your ordinary work while logged in as an ordinary user. LOL, back in my working days that was real important. In addition to my regular log in I had a "prod" log in for emergency use. A mistake made while I was logged in "prod" could be real serious. Michael D Novack ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
Barry, Be sure you aren't confusing the two users on your system! (one is "Barry Mahon" and the other is "administrato") Regards, Adrien On 8/10/23 2:59 AM, Mahon Finbar via gnucash-user wrote: OH, I now find the Tax Account folder has been deleted. I have no recollection, but it must have happened. I'll go through the backup files on Backblaze. Sorry, as I said, I have no recollection Barry On 07/08/2023 23:05, Adrien Monteleone wrote: Barry, At one point you advised you had GnuCash files in: C:\Users\Barry Mahon\Documents\Tax accounts and returns\ now, you are saying it is: C:\users\administrato\documents These are 2 separate locations and two separate 'users' on this machine. Where do you *think* your GnuCash file is supposed to be? (full qualified path please) And what do you *think* its file name is supposed to be? (just the file name here is fine) And for completeness, can you trigger that 'cannot write to file' warning that you originally reported, and send us a screenshot? ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
OH, I now find the Tax Account folder has been deleted. I have no recollection, but it must have happened. I'll go through the backup files on Backblaze. Sorry, as I said, I have no recollection Barry On 07/08/2023 23:05, Adrien Monteleone wrote: Barry, At one point you advised you had GnuCash files in: C:\Users\Barry Mahon\Documents\Tax accounts and returns\ now, you are saying it is: C:\users\administrato\documents These are 2 separate locations and two separate 'users' on this machine. Where do you *think* your GnuCash file is supposed to be? (full qualified path please) And what do you *think* its file name is supposed to be? (just the file name here is fine) And for completeness, can you trigger that 'cannot write to file' warning that you originally reported, and send us a screenshot? Thanks. Regards, Adrien On 8/7/23 10:56 AM, Mahon Finbar via gnucash-user wrote: is where the only one which "fits" i.e. where GNU FEB 12 2019.gnucash is. There are literally hundreds of others On 07/08/2023 17:33, David Carlson wrote: What is the complete path/filename for the files? ___ gnucash-user mailing list gnucash-user@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. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
On Wed, Aug 9, 2023 at 3:26 AM Fred Bone wrote: > On 07 August 2023 at 16:05, Adrien Monteleone said: > > > Barry, > > > > At one point you advised you had GnuCash files in: > > > > C:\Users\Barry Mahon\Documents\Tax accounts and returns\ > > > > now, you are saying it is: > > > > C:\users\administrato\documents > > > > These are 2 separate locations and two separate 'users' on this machine. > > > > Where do you *think* your GnuCash file is supposed to be? (full > > qualified path please) > > > > And what do you *think* its file name is supposed to be? (just the file > > name here is fine) > > > > Should be trivial. > > When signed in as "administrato", try to access the files stored under > "Barry Mahon". Or vice versa. > But if "administrato" is a system administrator, files created (and possibly written) by that user may not be able to be read by regular users (assuming "Barry Mahon" is a regular user. Even if not, there may be permission issues. Sign in as "Barry Mahon", navigate to the file under "administrato" and look at the properties to see what permissions you have. -- _ Richard Losey rlo...@gmail.com Micah 6:8 ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
On 07 August 2023 at 16:05, Adrien Monteleone said: > Barry, > > At one point you advised you had GnuCash files in: > > C:\Users\Barry Mahon\Documents\Tax accounts and returns\ > > now, you are saying it is: > > C:\users\administrato\documents > > These are 2 separate locations and two separate 'users' on this machine. > > Where do you *think* your GnuCash file is supposed to be? (full > qualified path please) > > And what do you *think* its file name is supposed to be? (just the file > name here is fine) > > And for completeness, can you trigger that 'cannot write to file' > warning that you originally reported, and send us a screenshot? Should be trivial. When signed in as "administrato", try to access the files stored under "Barry Mahon". Or vice versa. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
Of course, that command would be: DIR "C:\Users\Barry Mahon\Documents\Tax accounts and returns" > filename.txt David T. On Aug 8, 2023, 4:17 PM, at 4:17 PM, Jack Lockard wrote: >maybe someone else who knows off the top of their head can advise a >command that will export your file list to a text file > >To get the text file do the following: > >1, Open a Command window by typing CMD in the search box on the task >bar. >2. Type in DIR C:\Users\Barry Mahon\Documents\Tax accounts and returns >> filename.txt and press enter. >3. This will create a text file in the current folder location of the >files in the folder specified in step 2. > >Hope this helps, >Jack > > >-Original Message- >From: gnucash-user > On Behalf Of >Adrien Monteleone >Sent: Monday, August 7, 2023 4:16 PM >To: gnucash-u...@lists.gnucash.org >Subject: Re: [GNC] Today's searchfor .lck > >First, for attachment images, they need to be 'as attachment' and *not* >inline. > >That is, in your e-mail app, attach the screenshot. Do not just paste >it into the message mixed in with the text. > >You may also have a setting in your e-mail app for this to toggle >between 'inline' and 'attachment'. For the mailing list - you *do not* >want 'inline'. (the mailing list software will simply strip them out of >the message) > >Second, if you say there are hundreds of files, a screenshot isn't >going to cut it anyway. (it would take many screenshots) > >I'm not well versed on Windows command line, so without me spending >time looking it up, maybe someone else who knows off the top of their >head can advise a command that will export your file list to a text >file that you can attach here. Of course, you'd want to use whatever >options are available to include the original creation date & time, as >well as a last modified date & time. (those can be shown or not shown >as desired) > >From that list, we should be able to reasonably guess which is your >latest file (or maybe even several candidates for it) and then you can >open them and confirm. > >I suspect though, that you have a condition where there are >transactions in one file that aren't in another, and vice versa. And >this may involve more than 2 files. You'll have to decipher that for >yourself once you figure out the file situation, and then we can >proceed with helping you consolidate them into one book. > >Lastly, it would be good to get a handle on how this happened in the >first place, so the problem doesn't continue to compound. > >But I too don't think you lost any data unless you started deleting >.gnucash files without backups. (.lck files aren't necessarily a >problem) > >.gcm files store some preferences for each book. It would be best not >to lose those for now, but losing them wouldn't be data lost. > >Regards, >Adrien > >On 8/7/23 10:03 AM, Mahon Finbar via gnucash-user wrote: >> Thank you for that. However, a file search for any file of that >> structure only delivers 1 dated 18.02.2022, which I have mentioned in >> an earlier post is the date on my 'currently loaded' file which won't >save. >> >> There are a number of files with .GCM and number with LCK dated 2021, >> others with .log, many more (recent ones) with shortcut. > >What do you mean by 'shortcut'? They are pointing to other gnucash >files in some other location? This is concerning... > >> >> All the rest are datestamped. >> >> You can see why I am confused and very worried that I have lost all >> the recent data. >> >> Thanks to all for the help and advice. I feel stupid, I thought I was >> reasonably capable in IT, but.. >> >> I even have problems creating the proper . versions for >uploading. >> 'save as' doesn't seem to be working. > >___ >gnucash-user mailing list >gnucash-user@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. >___ >gnucash-user mailing list >gnucash-user@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. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
maybe someone else who knows off the top of their head can advise a command that will export your file list to a text file To get the text file do the following: 1, Open a Command window by typing CMD in the search box on the task bar. 2. Type in DIR C:\Users\Barry Mahon\Documents\Tax accounts and returns > filename.txt and press enter. 3. This will create a text file in the current folder location of the files in the folder specified in step 2. Hope this helps, Jack -Original Message- From: gnucash-user On Behalf Of Adrien Monteleone Sent: Monday, August 7, 2023 4:16 PM To: gnucash-u...@lists.gnucash.org Subject: Re: [GNC] Today's searchfor .lck First, for attachment images, they need to be 'as attachment' and *not* inline. That is, in your e-mail app, attach the screenshot. Do not just paste it into the message mixed in with the text. You may also have a setting in your e-mail app for this to toggle between 'inline' and 'attachment'. For the mailing list - you *do not* want 'inline'. (the mailing list software will simply strip them out of the message) Second, if you say there are hundreds of files, a screenshot isn't going to cut it anyway. (it would take many screenshots) I'm not well versed on Windows command line, so without me spending time looking it up, maybe someone else who knows off the top of their head can advise a command that will export your file list to a text file that you can attach here. Of course, you'd want to use whatever options are available to include the original creation date & time, as well as a last modified date & time. (those can be shown or not shown as desired) From that list, we should be able to reasonably guess which is your latest file (or maybe even several candidates for it) and then you can open them and confirm. I suspect though, that you have a condition where there are transactions in one file that aren't in another, and vice versa. And this may involve more than 2 files. You'll have to decipher that for yourself once you figure out the file situation, and then we can proceed with helping you consolidate them into one book. Lastly, it would be good to get a handle on how this happened in the first place, so the problem doesn't continue to compound. But I too don't think you lost any data unless you started deleting .gnucash files without backups. (.lck files aren't necessarily a problem) .gcm files store some preferences for each book. It would be best not to lose those for now, but losing them wouldn't be data lost. Regards, Adrien On 8/7/23 10:03 AM, Mahon Finbar via gnucash-user wrote: > Thank you for that. However, a file search for any file of that > structure only delivers 1 dated 18.02.2022, which I have mentioned in > an earlier post is the date on my 'currently loaded' file which won't save. > > There are a number of files with .GCM and number with LCK dated 2021, > others with .log, many more (recent ones) with shortcut. What do you mean by 'shortcut'? They are pointing to other gnucash files in some other location? This is concerning... > > All the rest are datestamped. > > You can see why I am confused and very worried that I have lost all > the recent data. > > Thanks to all for the help and advice. I feel stupid, I thought I was > reasonably capable in IT, but.. > > I even have problems creating the proper . versions for uploading. > 'save as' doesn't seem to be working. ___ gnucash-user mailing list gnucash-user@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. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
Yeah, I'm suspecting the "can't write to file" message is when trying to save the file back to its original location which is under a different user than the one who's desktop is front and center at that moment. But we'll need that error message screenshot to confirm. And then there is the obvious backup file(s) mess to clean up. And as you note, that will likely involve copying files from one user to another and correcting their permissions accordingly. (before any cleanup within GnuCash itself!) I'm not versed on such, but I'm sure someone here is. Regards, Adrien p.s. — I used to use Gmail for this list till I discovered the same problem so I switched to an account provided by my ISP and it has been a few years with no issues. (though I now use the list via gmane. And that reminds me, I'm long overdue for a wiki write up for gmane I promised!) On 8/7/23 4:23 PM, David Carlson wrote: Wow. I just went to the archives of this list and discovered that not all the messages were appearing in my Gmail folder. Specifically there was a reply to my first message about providing a path/filename where you provided C:\users\administrato\documents is where the only one which "fits" i.e. where GNU FEB 12 2019.gnucash is. There are literally hundreds of others to which Adrien has now responded. He correctly suggests that is a major part of your problem, and begins to work on a solution. For some reason that message from you is not in my Gmail, but that is a completely different problem that is for another place. Presumably administrato is your root user name with different rights than your ordinary Barry Mahon user name. Part of the untangling will be to aggregate everything under one user name, preferably without root rights. I am not qualified to help you with that. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
Wow. I just went to the archives of this list and discovered that not all the messages were appearing in my Gmail folder. Specifically there was a reply to my first message about providing a path/filename where you provided C:\users\administrato\documents is where the only one which "fits" i.e. where GNU FEB 12 2019.gnucash is. There are literally hundreds of others to which Adrien has now responded. He correctly suggests that is a major part of your problem, and begins to work on a solution. For some reason that message from you is not in my Gmail, but that is a completely different problem that is for another place. Presumably administrato is your root user name with different rights than your ordinary Barry Mahon user name. Part of the untangling will be to aggregate everything under one user name, preferably without root rights. I am not qualified to help you with that. -- David Carlson ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
Barry, At one point you advised you had GnuCash files in: C:\Users\Barry Mahon\Documents\Tax accounts and returns\ now, you are saying it is: C:\users\administrato\documents These are 2 separate locations and two separate 'users' on this machine. Where do you *think* your GnuCash file is supposed to be? (full qualified path please) And what do you *think* its file name is supposed to be? (just the file name here is fine) And for completeness, can you trigger that 'cannot write to file' warning that you originally reported, and send us a screenshot? Thanks. Regards, Adrien On 8/7/23 10:56 AM, Mahon Finbar via gnucash-user wrote: is where the only one which "fits" i.e. where GNU FEB 12 2019.gnucash is. There are literally hundreds of others On 07/08/2023 17:33, David Carlson wrote: What is the complete path/filename for the files? ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
In my earlier email I suggested that you tell us the complete path/filename for those files. Windows likes to foreshorten them in some cases, especially if there are external drives involved. I should have said complete unqualified path/filename in case the path names have been shortened to stay under the character count limit or to identify an external drive. On Mon, Aug 7, 2023 at 3:17 PM Adrien Monteleone < adrien.montele...@lusfiber.net> wrote: > First, for attachment images, they need to be 'as attachment' and *not* > inline. > > That is, in your e-mail app, attach the screenshot. Do not just paste it > into the message mixed in with the text. > > You may also have a setting in your e-mail app for this to toggle > between 'inline' and 'attachment'. For the mailing list - you *do not* > want 'inline'. (the mailing list software will simply strip them out of > the message) > > Second, if you say there are hundreds of files, a screenshot isn't going > to cut it anyway. (it would take many screenshots) > > I'm not well versed on Windows command line, so without me spending time > looking it up, maybe someone else who knows off the top of their head > can advise a command that will export your file list to a text file that > you can attach here. Of course, you'd want to use whatever options are > available to include the original creation date & time, as well as a > last modified date & time. (those can be shown or not shown as desired) > > From that list, we should be able to reasonably guess which is your > latest file (or maybe even several candidates for it) and then you can > open them and confirm. > > I suspect though, that you have a condition where there are transactions > in one file that aren't in another, and vice versa. And this may involve > more than 2 files. You'll have to decipher that for yourself once you > figure out the file situation, and then we can proceed with helping you > consolidate them into one book. > > Lastly, it would be good to get a handle on how this happened in the > first place, so the problem doesn't continue to compound. > > But I too don't think you lost any data unless you started deleting > .gnucash files without backups. (.lck files aren't necessarily a problem) > > .gcm files store some preferences for each book. It would be best not to > lose those for now, but losing them wouldn't be data lost. > > Regards, > Adrien > > On 8/7/23 10:03 AM, Mahon Finbar via gnucash-user wrote: > > Thank you for that. However, a file search for any file of that > > structure only delivers 1 dated 18.02.2022, which I have mentioned in an > > earlier post is the date on my 'currently loaded' file which won't save. > > > > There are a number of files with .GCM and number with LCK dated 2021, > > others with .log, many more (recent ones) with shortcut. > > What do you mean by 'shortcut'? They are pointing to other gnucash files > in some other location? This is concerning... > > > > > All the rest are datestamped. > > > > You can see why I am confused and very worried that I have lost all the > > recent data. > > > > Thanks to all for the help and advice. I feel stupid, I thought I was > > reasonably capable in IT, but.. > > > > I even have problems creating the proper . versions for uploading. > > 'save as' doesn't seem to be working. > > ___ > gnucash-user mailing list > gnucash-user@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. > -- David Carlson ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
First, for attachment images, they need to be 'as attachment' and *not* inline. That is, in your e-mail app, attach the screenshot. Do not just paste it into the message mixed in with the text. You may also have a setting in your e-mail app for this to toggle between 'inline' and 'attachment'. For the mailing list - you *do not* want 'inline'. (the mailing list software will simply strip them out of the message) Second, if you say there are hundreds of files, a screenshot isn't going to cut it anyway. (it would take many screenshots) I'm not well versed on Windows command line, so without me spending time looking it up, maybe someone else who knows off the top of their head can advise a command that will export your file list to a text file that you can attach here. Of course, you'd want to use whatever options are available to include the original creation date & time, as well as a last modified date & time. (those can be shown or not shown as desired) From that list, we should be able to reasonably guess which is your latest file (or maybe even several candidates for it) and then you can open them and confirm. I suspect though, that you have a condition where there are transactions in one file that aren't in another, and vice versa. And this may involve more than 2 files. You'll have to decipher that for yourself once you figure out the file situation, and then we can proceed with helping you consolidate them into one book. Lastly, it would be good to get a handle on how this happened in the first place, so the problem doesn't continue to compound. But I too don't think you lost any data unless you started deleting .gnucash files without backups. (.lck files aren't necessarily a problem) .gcm files store some preferences for each book. It would be best not to lose those for now, but losing them wouldn't be data lost. Regards, Adrien On 8/7/23 10:03 AM, Mahon Finbar via gnucash-user wrote: Thank you for that. However, a file search for any file of that structure only delivers 1 dated 18.02.2022, which I have mentioned in an earlier post is the date on my 'currently loaded' file which won't save. There are a number of files with .GCM and number with LCK dated 2021, others with .log, many more (recent ones) with shortcut. What do you mean by 'shortcut'? They are pointing to other gnucash files in some other location? This is concerning... All the rest are datestamped. You can see why I am confused and very worried that I have lost all the recent data. Thanks to all for the help and advice. I feel stupid, I thought I was reasonably capable in IT, but.. I even have problems creating the proper . versions for uploading. 'save as' doesn't seem to be working. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
On Monday, 7 August 2023 16:03:22 BST Mahon Finbar via gnucash-user wrote: > > You can see why I am confused and very worried that I have lost all the > recent data. > You probably haven't lost work, at least not before the last successful save. the problem comes in finding the work you've done. Can you sort your directory of files in a date order. not filename or GC timestamps, but the "date last modified" or something similar? The "most recently saved file" will be the point where GC stopped working for whatever reason, that we still need to get to the bottom of, once you have a useable datafile to hand. This thread does seem to be all over the place with various issues at the moment! HTH, Maf. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
C:\users\administrato\documents is where the only one which "fits" i.e. where GNU FEB 12 2019.gnucash is. There are literally hundreds of others On 07/08/2023 17:33, David Carlson wrote: What is the complete path/filename for the files? On Mon, Aug 7, 2023, 10:04 AM Mahon Finbar via gnucash-user wrote: Thank you for that. However, a file search for any file of that structure only delivers 1 dated 18.02.2022, which I have mentioned in an earlier post is the date on my 'currently loaded' file which won't save. There are a number of files with .GCM and number with LCK dated 2021, others with .log, many more (recent ones) with shortcut. All the rest are datestamped. You can see why I am confused and very worried that I have lost all the recent data. Thanks to all for the help and advice. I feel stupid, I thought I was reasonably capable in IT, but.. I even have problems creating the proper . versions for uploading. 'save as' doesn't seem to be working. Barry On 07/08/2023 13:17, Michael Hendry wrote: > On 7 Aug 2023, at 10:46, Mahon Finbar via gnucash-user wrote: > >> 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. > That is a backup file (identifiable from the time-stamp at the end. It looks as though the file you should have opened is: > > GNU FEB 12 2019.gnucash > > Regards, > > Michael ___ gnucash-user mailing list gnucash-user@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. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
What is the complete path/filename for the files? On Mon, Aug 7, 2023, 10:04 AM Mahon Finbar via gnucash-user < gnucash-user@gnucash.org> wrote: > Thank you for that. However, a file search for any file of that > structure only delivers 1 dated 18.02.2022, which I have mentioned in an > earlier post is the date on my 'currently loaded' file which won't save. > > There are a number of files with .GCM and number with LCK dated 2021, > others with .log, many more (recent ones) with shortcut. > > All the rest are datestamped. > > You can see why I am confused and very worried that I have lost all the > recent data. > > Thanks to all for the help and advice. I feel stupid, I thought I was > reasonably capable in IT, but.. > > I even have problems creating the proper . versions for uploading. > 'save as' doesn't seem to be working. > > Barry > > On 07/08/2023 13:17, Michael Hendry wrote: > > On 7 Aug 2023, at 10:46, Mahon Finbar via gnucash-user < > gnucash-user@gnucash.org> wrote: > > > >> 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. > > That is a backup file (identifiable from the time-stamp at the end. It > looks as though the file you should have opened is: > > > > GNU FEB 12 2019.gnucash > > > > Regards, > > > > Michael > ___ > gnucash-user mailing list > gnucash-user@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. > ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
Thank you for that. However, a file search for any file of that structure only delivers 1 dated 18.02.2022, which I have mentioned in an earlier post is the date on my 'currently loaded' file which won't save. There are a number of files with .GCM and number with LCK dated 2021, others with .log, many more (recent ones) with shortcut. All the rest are datestamped. You can see why I am confused and very worried that I have lost all the recent data. Thanks to all for the help and advice. I feel stupid, I thought I was reasonably capable in IT, but.. I even have problems creating the proper . versions for uploading. 'save as' doesn't seem to be working. Barry On 07/08/2023 13:17, Michael Hendry wrote: On 7 Aug 2023, at 10:46, Mahon Finbar via gnucash-user wrote: 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. That is a backup file (identifiable from the time-stamp at the end. It looks as though the file you should have opened is: GNU FEB 12 2019.gnucash Regards, Michael ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
On 8/7/2023 5:59 AM, Mahon Finbar via gnucash-user wrote: BTW, forgot to mention, the date of the last transaction in the file that I mentioned that opens, is in 2022!! I certainly have been updating my records since then. Barry You perhaps might have noticed discussions here about keeping books for multiple entities. That of course means each would have its own file (different filenames, ideally in different directories (file folders). By the same token, it is possible to have multiple files for the same entity, either intentionally* or accidentally. IF, when you open your books under gnucash all you see are old transactions (you know you have been entering transactions with effective dates later than that) you probably have accidentally created more than one file. Having work habits to prevent this sort of thing is not strictly speaking a gnucash problem. If you were say writing a paper using your favorite word processor it would be important that you didn't end up with duplicate files (some of your editing done to one, some to the other) Tell us, what is the NAME of your gnucash books and what directory (file folder) is it in. If you do not KNOW a unique answer to this question, then that is the first thing you need to find out. Michael D Novack * Not crazy -- might for example at the (effective) end of each year create a copy giving a name like Books.gnucash which could be marked "read only", multiple copies sent off site, into the custody of another officer of the organization, etc. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
On 7 Aug 2023, at 10:46, Mahon Finbar via gnucash-user wrote: > > 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. That is a backup file (identifiable from the time-stamp at the end. It looks as though the file you should have opened is: GNU FEB 12 2019.gnucash Regards, Michael ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
BTW, forgot to mention, the date of the last transaction in the file that I mentioned that opens, is in 2022!! I certainly have been updating my records since then. 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@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. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
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@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. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
Yeah, that request has been around at least since 2008... David T. On Aug 6, 2023, 7:00 PM, at 7:00 PM, Adrien Monteleone wrote: >I can see the benefit to having logs and backup files together with the > >data, but I'd prefer if they were in their own sub-directories >automatically. > >Regards, >Adrien > >On 8/6/23 6:28 AM, Chris Green wrote: >> At least someone agrees with me! :-) >> >> I've been muttering about this, on and off, for quite a while! There >> should be a way to move the clutter of logs and backup files out of >> the way, away from where the main GnuCash xml or database file is. >> (By 'move' I mean a configuration option that allows one to keep them >> out of the way, I know files can be moved 'by hand') >> > >___ >gnucash-user mailing list >gnucash-user@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. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
On 8/6/23 11:14 AM, Chris Green wrote: > Having all the GnuCash log files and such cluttering up the directory > is a nuisance. On 2023-08-06 09:23, Adrien Monteleone wrote: > I'll add for those who are risk takers, there is: > > Preferences > General > Retain log/backup files > 'Never' > > or 'For' a short period of days, I think the default is '30' which might > be a bit much. ('Forever' is just mean, but I guess some folks need/want > that option) On that same Preferences » General screen there's a setting for how often GC should autosave. I think the default is every 5 minutes. I've set it to 10, which reduces the clutter by 50% without much increasing the risk, in my judgment. Maybe I've just been lucky, but I've never once needed to look at a log file or autosave file, in almost six years of using GC. The bad news is, I have no practice in looking at them, so if ever I need to I won't exactly be hitting the ground running. I use GC almost every day. I keep the retention period short, at 3 days. Since I use GC almost every day, I figure any problem would show up while I still had backup files available. And there's also my own weekly backups of my whole disk. Stan Brown Tehachapi, CA, USA https://BrownMath.com/ ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
I'll add for those who are risk takers, there is: Preferences > General > Retain log/backup files > 'Never' or 'For' a short period of days, I think the default is '30' which might be a bit much. ('Forever' is just mean, but I guess some folks need/want that option) Regards, Adrien On 8/6/23 11:14 AM, Chris Green wrote: Having all the GnuCash log files and such cluttering up the directory is a nuisance. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
On Sun, Aug 06, 2023 at 10:58:55AM -0500, Adrien Monteleone wrote: > On 8/6/23 6:28 AM, Chris Green wrote: > > > At least someone agrees with me! :-) > > > > I've been muttering about this, on and off, for quite a while! There > > should be a way to move the clutter of logs and backup files out of > > the way, away from where the main GnuCash xml or database file is. > > (By 'move' I mean a configuration option that allows one to keep them > > out of the way, I know files can be moved 'by hand') > > > > I can see the benefit to having logs and backup files together with the > data, but I'd prefer if they were in their own sub-directories > automatically. > Yes, exactly! :-) I use GnuCash as treasurer of a PCC (Parochial Church Council). I have a sub-directory on my system called (very originally!) pcc and that has a further sub-directory for each year. So, in the ~/pcc/2023 directory I have the GnuCash database file, and various other items like correspondence, the odd PDF file from the diocese and so on. Having all the GnuCash log files and such cluttering up the directory is a nuisance. -- Chris Green ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
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@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.
Re: [GNC] Today's search....for .lck
I can see the benefit to having logs and backup files together with the data, but I'd prefer if they were in their own sub-directories automatically. Regards, Adrien On 8/6/23 6:28 AM, Chris Green wrote: At least someone agrees with me! :-) I've been muttering about this, on and off, for quite a while! There should be a way to move the clutter of logs and backup files out of the way, away from where the main GnuCash xml or database file is. (By 'move' I mean a configuration option that allows one to keep them out of the way, I know files can be moved 'by hand') ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
On Sun, Aug 06, 2023 at 01:23:33PM +0200, Mahon Finbar via gnucash-user wrote: [snip] > > With the greatest of respect, I have always found the plethora of files > that appear around Gnucash locations hard to decipher. I'm sure there is > a reason for that, but. > At least someone agrees with me! :-) I've been muttering about this, on and off, for quite a while! There should be a way to move the clutter of logs and backup files out of the way, away from where the main GnuCash xml or database file is. (By 'move' I mean a configuration option that allows one to keep them out of the way, I know files can be moved 'by hand') -- Chris Green ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
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?" From time to time, seemingly randomly, it opens the (presumably last used) file and away I go. I am always careful, because of that issue I 'quit' and 'save' religiously, even though I am not religious. In the configuration locations there is a whole spectrum of places, I'll try sending the list if you want it? With the greatest of respect, I have always found the plethora of files that appear around Gnucash locations hard to decipher. I'm sure there is a reason for that, but. On 02/08/2023 17:56, Adrien Monteleone wrote: I know Michael. That's the whole point. Have you read the other threads from this OP? Their files appear to be a mess of backup files used as their book. And the OP still hasn't answered *how* they open their book, by app shortcut, or by clicking the file. I suspect clicking the file. And I suspect not paying attention while doing so. Just as you noted. Regards, Adrien On 8/2/23 9:24 AM, Michael or Penny Novack wrote: "GNU FEB 12 2019.gnucash.20210219151108.gnucash.LCK" And while that is a file from gnucash it is almost certainly NOT the name the user assigned to the file that is their books << and yes, it is a gnucash internal backup file >> The presence of that lock means that this backup file was left open. So while OK to delete the lock (if you know that gnucash is not running) it is NOT the file you want to open when you start gnucash. Note that if one did accidentally open this file could be on the "recently open" list and if on the top if the list, will be reopened when you start gnucash. THIS IS NOT WHAT YOU WANT. So LOOK at what gets opened when you start gnucash (the bar should show the file name). If NOT the right file, use file=>open to specify the correct file name and then once open, shut down. Now wen you reopen gnucash will be on top of the list (most recently opened) ___ gnucash-user mailing list gnucash-user@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. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
I know Michael. That's the whole point. Have you read the other threads from this OP? Their files appear to be a mess of backup files used as their book. And the OP still hasn't answered *how* they open their book, by app shortcut, or by clicking the file. I suspect clicking the file. And I suspect not paying attention while doing so. Just as you noted. Regards, Adrien On 8/2/23 9:24 AM, Michael or Penny Novack wrote: "GNU FEB 12 2019.gnucash.20210219151108.gnucash.LCK" And while that is a file from gnucash it is almost certainly NOT the name the user assigned to the file that is their books << and yes, it is a gnucash internal backup file >> The presence of that lock means that this backup file was left open. So while OK to delete the lock (if you know that gnucash is not running) it is NOT the file you want to open when you start gnucash. Note that if one did accidentally open this file could be on the "recently open" list and if on the top if the list, will be reopened when you start gnucash. THIS IS NOT WHAT YOU WANT. So LOOK at what gets opened when you start gnucash (the bar should show the file name). If NOT the right file, use file=>open to specify the correct file name and then once open, shut down. Now wen you reopen gnucash will be on top of the list (most recently opened) ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
If you do a search for all files with file extension ".lck" what reason do you have to suppose that it is a lock file for a gnucach file? I will repeat, this is a rather common method for preventing simultaneous access to a resource. Do you KNOW that none of your other applications are using the lock file method? Michael, that is a fair point as I noted in a previous reply, but the OP just reported, as you quoted, that the LCK file in question *was* for a GnuCash file *because* it had a GnuCash file name in it. Did you not read that part? "GNU FEB 12 2019.gnucash.20210219151108.gnucash.LCK" And while that is a file from gnucash it is almost certainly NOT the name the user assigned to the file that is their books << and yes, it is a gnucash internal backup file >> The presence of that lock means that this backup file was left open. So while OK to delete the lock (if you know that gnucash is not running) it is NOT the file you want to open when you start gnucash. Note that if one did accidentally open this file could be on the "recently open" list and if on the top if the list, will be reopened when you start gnucash. THIS IS NOT WHAT YOU WANT. So LOOK at what gets opened when you start gnucash (the bar should show the file name). If NOT the right file, use file=>open to specify the correct file name and then once open, shut down. Now wen you reopen gnucash will be on top of the list (most recently opened) Michael D Novack ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
On 8/1/23 3:58 PM, Michael or Penny Novack wrote: On 8/1/2023 11:12 AM, Mahon Finbar via gnucash-user wrote: GNU FEB 12 2019.gnucash.20210219151108.gnucash.LCK I did a restart of the pc and did the search again for .lck and this is is what I get. It is marked modified on 1.03.2021, type LCK file, 0 KB Further mystery. I appreciate your request to slow down, and I want to, but the sequence of events, since the beginning of this saga, is so strange. Thanks again for your patience, Barry If you do a search for all files with file extension ".lck" what reason do you have to suppose that it is a lock file for a gnucach file? I will repeat, this is a rather common method for preventing simultaneous access to a resource. Do you KNOW that none of your other applications are using the lock file method? Michael, that is a fair point as I noted in a previous reply, but the OP just reported, as you quoted, that the LCK file in question *was* for a GnuCash file *because* it had a GnuCash file name in it. Did you not read that part? "GNU FEB 12 2019.gnucash.20210219151108.gnucash.LCK" Gnucash will create a lock file for file "filename.gnucash" with the name "filename.lck" in the same directory that the file is in. You should search for "filename.lck" and not just ".lck". If you do not know the name of your gnucash data file, you have a different problem (when you first created a set of books under gnucash, your first save should have been a "save as" giving it a meaningful name and placing it in the directory of your choice -- but not knowing to do that isn't really a gnucash problem as much as a problem creating files from any application. In other words, just like wen you are creating a new document using your word processor, what do you name it and where do you put it) I'm pretty sure that above file name proves your point. It is indeed a GnuCash related LCK file. What is odd is that it is for a file that appears to be from a backup. What is more odd is that it is for a file that doesn't match anything the OP previously reported as matching current file names. (assuming, short of a requested and not yet provided screenshot, that such list is complete) Regards, Adrien ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
On 8/1/2023 11:12 AM, Mahon Finbar via gnucash-user wrote: GNU FEB 12 2019.gnucash.20210219151108.gnucash.LCK I did a restart of the pc and did the search again for .lck and this is is what I get. It is marked modified on 1.03.2021, type LCK file, 0 KB Further mystery. I appreciate your request to slow down, and I want to, but the sequence of events, since the beginning of this saga, is so strange. Thanks again for your patience, Barry If you do a search for all files with file extension ".lck" what reason do you have to suppose that it is a lock file for a gnucach file? I will repeat, this is a rather common method for preventing simultaneous access to a resource. Do you KNOW that none of your other applications are using the lock file method? Gnucash will create a lock file for file "filename.gnucash" with the name "filename.lck" in the same directory that the file is in. You should search for "filename.lck" and not just ".lck". If you do not know the name of your gnucash data file, you have a different problem (when you first created a set of books under gnucash, your first save should have been a "save as" giving it a meaningful name and placing it in the directory of your choice -- but not knowing to do that isn't really a gnucash problem as much as a problem creating files from any application. In other words, just like wen you are creating a new document using your word processor, what do you name it and where do you put it) Michael D Novack ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] Today's search....for .lck
Interesting. That one shouldn't be a problem because it isn't for any of the .gnucash files you listed earlier. (it is for a file from Feb 19, 2021 at 3:11:08pm) Even stranger is that the 'modified' date is before the time stamp in the file name. (unless your locale is DD.MM., in which case it was last modified March 1, 2021, rather than Jan 3rd.) But as long as you know GnuCash is definitely NOT running (not even on another monitor, and not minimized) then you can safely delete that LCK file. Now, can you answer the other questions I posed about how you normally start GnuCash and about saving reports? Regards, Adrien On 8/1/23 10:12 AM, Mahon Finbar via gnucash-user wrote: GNU FEB 12 2019.gnucash.20210219151108.gnucash.LCK I did a restart of the pc and did the search again for .lck and this is is what I get. It is marked modified on 1.03.2021, type LCK file, 0 KB Further mystery. I appreciate your request to slow down, and I want to, but the sequence of events, since the beginning of this saga, is so strange. ___ gnucash-user mailing list gnucash-user@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.
[GNC] Today's search....for .lck
GNU FEB 12 2019.gnucash.20210219151108.gnucash.LCK I did a restart of the pc and did the search again for .lck and this is is what I get. It is marked modified on 1.03.2021, type LCK file, 0 KB Further mystery. I appreciate your request to slow down, and I want to, but the sequence of events, since the beginning of this saga, is so strange. Thanks again for your patience, Barry ___ gnucash-user mailing list gnucash-user@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.