GNOME Bugzilla – Bug 733459
"Retain log/backup files" facility does not actually delete files
Last modified: 2018-06-29 23:32:13 UTC
Hello, I've noticed that GnuCash does not delete older log/backup files any more for some time now. My folder containing the GnuCash files contains now old files dating back to February, while my setting is to keep them for 30 days. Since my oldest files date since February 6th, I guess the issue started manifesting itself when I upgraded from GnuCash 2.4 to 2.6 - latest 2.4 was released on January 14th and, soon after that, your website started promoting 2.6 as the latest and greatest stable version. Eventually I upgraded. I attached a Process Monitor log ( http://technet.microsoft.com/en-us/sysinternals/bb896645 ) taken with the following filters while saving the file: - Process Name is gnucash.exe -> include - Path contains dropbox -> include - Event Class is File System -> include I set the severity to normal because, while the feature is definitely broken, the impact is rather minor (it took a few months for me to see it). Thank you.
Created attachment 281247 [details] Process Monitor log
Just tested with 2.6.4 and it worked fine. With the GUI fixes now in place we've re-released it for Windows. Please download, test, and report if it's resolved for you.
I have just installed 2.6.4-2 and it still doesn't work: it hasn't deleted my February files. It does behave worse, though: when exiting the program - either by the window close button, or by file->exit command - it freezes altogether, that is the window becomes dim and the title bar says (Not Responding). The Task Manager shows the gnucash.exe process not using any CPU and not releasing any memory from its private working set. Waiting for several minutes to unfreeze doesn't help. The only outcome is the force closing of the window (gnucash.exe is not responding / if you close the program you might lose information / close the program). I am reverting to 2.6.3.
OK. Please open a command window, cd to the directory where your accounts are, run 'dir *.gnucash' and 'dir *.log', and paste the results or attach them.
@owlman: the freeze on exit has been reported in a separate bug 738477 and will be followed up there. Can you reply to John's request and provide us with a list of files gnucash and log files in the directory of your data file please ?
Created attachment 290572 [details] C:\Users\owlman.Jane3\Dropbox\Buget>dir *.gnucash > ../gnucash.log
Created attachment 290573 [details] C:\Users\owlman.Jane3\Dropbox\Buget>dir *.log > ../log.log Sorry for the delay in answering this. I'm chronically out of time.
Apparently I was supposed to change the status back to UNCONFIRMED, when I provided the requested info. Sorry about that.
This issue doesn't seem to happen on 2.6.5 any more, as 2.6.5 has just erased all my history files. Now, since my configuration says "retain files for 30 days" and I hadn't opened my gnucash since before that, I was left with no more files, so only next month I'll be able to confirm it works properly.
Weird. I hadn't been able to find a cause for this and had set it aside to pursue the larger problems with the 2.6.4 build on Win32. Do let us know in a month...
Library problems can cause symptoms both big like those in 2.6.4, and small like this issue. Maybe when you overhauled the libraries for 2.6.5 you inadvertently fixed this too... I'll definitely keep an eye on this and let you know!
owlman: we're a couple of months further now. Do you still see this bug ?
Looking for an list entry for exactly this issue, I found this bug description. I have this issue, too. Since 2.6.3, now using 2.6.5, Windows Vista and Windows 7/SP1 (home and at work) I tried configurations 'Never' and '1 day'. Both did not work.
Hi Geert, John, I do not see this bug in 2.6.5 anymore. I consider it fixed, as far as I'm concerned. But markus said he still saw this in 2.6.5. Perhaps he could elaborate?
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=733459. Please update any external references or bookmarks.