After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 733459 - "Retain log/backup files" facility does not actually delete files
"Retain log/backup files" facility does not actually delete files
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Backend - XML
2.6.3
Other Windows
: Normal normal
: ---
Assigned To: gnucash-core-maint
gnucash-core-maint
Depends on:
Blocks:
 
 
Reported: 2014-07-20 16:22 UTC by owlman
Modified: 2018-06-29 23:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Process Monitor log (113.80 KB, application/octet-stream)
2014-07-20 16:25 UTC, owlman
Details
C:\Users\owlman.Jane3\Dropbox\Buget>dir *.gnucash > ../gnucash.log (42.54 KB, text/plain)
2014-11-13 03:27 UTC, owlman
Details
C:\Users\owlman.Jane3\Dropbox\Buget>dir *.log > ../log.log (48.75 KB, text/plain)
2014-11-13 03:29 UTC, owlman
Details

Description owlman 2014-07-20 16:22:18 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.
Comment 1 owlman 2014-07-20 16:25:19 UTC
Created attachment 281247 [details]
Process Monitor log
Comment 2 John Ralls 2014-10-12 23:29:49 UTC
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.
Comment 3 owlman 2014-10-13 19:44:27 UTC
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.
Comment 4 John Ralls 2014-10-14 23:04:21 UTC
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.
Comment 5 Geert Janssens 2014-11-09 17:42:54 UTC
@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 ?
Comment 6 owlman 2014-11-13 03:27:48 UTC
Created attachment 290572 [details]
C:\Users\owlman.Jane3\Dropbox\Buget>dir *.gnucash > ../gnucash.log
Comment 7 owlman 2014-11-13 03:29:28 UTC
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.
Comment 8 owlman 2014-12-08 09:29:05 UTC
Apparently I was supposed to change the status back to UNCONFIRMED, when I provided the requested info. Sorry about that.
Comment 9 owlman 2014-12-21 17:58:01 UTC
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.
Comment 10 John Ralls 2014-12-21 18:02:33 UTC
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...
Comment 11 owlman 2014-12-21 18:46:44 UTC
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!
Comment 12 Geert Janssens 2015-02-08 19:05:29 UTC
owlman: we're a couple of months further now. Do you still see this bug ?
Comment 13 markus 2015-02-10 09:55:35 UTC
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.
Comment 14 owlman 2015-03-03 23:58:20 UTC
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?
Comment 15 John Ralls 2018-06-29 23:32:13 UTC
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.