2014-08-08 GnuCash IRC logs

00:01:09 *** StuM has joined #gnucash
00:05:41 *** jimvideo has quit IRC
00:13:58 *** ErKa has quit IRC
00:18:57 *** ErKa has joined #gnucash
00:53:22 *** ErKa has quit IRC
01:42:14 *** GabrieleV_ has joined #gnucash
01:42:45 *** GabrieleV has quit IRC
01:42:46 *** GabrieleV_ is now known as GabrieleV
01:43:35 *** fell_ has joined #gnucash
01:43:36 *** gncbot sets mode: +o fell_
01:43:38 *** gour has joined #gnucash
01:44:57 *** O01eg has quit IRC
02:27:44 *** GabrieleV_ has joined #gnucash
02:28:19 *** GabrieleV has quit IRC
02:28:20 *** GabrieleV_ is now known as GabrieleV
02:48:38 *** calp has quit IRC
02:51:04 *** calp has joined #gnucash
03:17:14 *** gjanssens has joined #gnucash
03:17:15 *** gncbot sets mode: +o gjanssens
03:56:11 *** aqua___ has joined #gnucash
04:19:21 <gour> morning
04:23:07 <gour> i keep my *.gnucash file under dvcs (fossil), but had to turn off checksum checking 'cause it was taking too long. there are already ~6k files in the repo, mostly due to *.log up files which are constantly created. i tried to move *.gnucash xml file into *.sqlite.gnucash, but *.log files are still generated, so i wonder if i can simply discard them considering that i keep my main
04:23:09 <gour> *.gnucash file under fossil (dvcs)? iow. can i safely restore old *.gnucash file without those *.log files by just reverting to the old version from dvcs?
04:26:40 *** StuM has quit IRC
04:26:56 *** fell_ is now known as fell
04:27:55 *** StuM has joined #gnucash
04:31:30 <fell> gour: The .log files are mainly of use if the program somehow is finished without saving your data. After you saved your data they are useless, except perhaps for auditing. You can find some details in http://wiki.gnucash.org/wiki/FAQ#GnuCash_Files_and_managing_a_GnuCash_installation .
04:43:36 *** Krzysiek_K has joined #gnucash
04:56:41 *** floh1111 has joined #gnucash
04:58:36 *** Krzysiek_K has quit IRC
05:22:50 *** wol has joined #gnucash
05:25:18 *** GabrieleV_ has joined #gnucash
05:25:24 *** GabrieleV has quit IRC
05:25:24 *** GabrieleV_ is now known as GabrieleV
05:32:19 *** Ardonik has quit IRC
05:33:50 *** Ardonik has joined #gnucash
05:39:55 *** wol1 has joined #gnucash
05:45:06 *** wol has quit IRC
06:12:43 *** wol has joined #gnucash
06:13:11 *** wol1 has quit IRC
06:16:16 <gour> fell: so, if i use dvcs (fossil) to save files and if i'm going to migrate to sqlite backend, i can live (safely) without keeping those *.log files and still being able to revert to older version? (i keep *.gnucash) under dvcs 'cause in the past i had several incidents when i had to revert to older version
06:20:38 *** aqua___ has quit IRC
06:26:46 <fell> gour: Only in the case where you plan e.g. restore the file from the first of the month and replay most transactions, the log files might be useful.
06:28:06 *** Jimraehl1 has joined #gnucash
06:29:16 *** wol1 has joined #gnucash
06:30:45 <gour> fell: hmm...i probably do not need it. otoh, those files are just generating making the whole repo quite a big - 420M (6.3G uncompressed)
06:32:23 <fell> Why do you have to reset your data file often?
06:34:03 <gour> i do not reset them, but after every transaction, when i want to save my *.gnucash files, some new *.log files are generated
06:36:40 *** wol has quit IRC
06:37:00 <gour> so, i use dvcs (fossil) as kind of convenient backup mechanism- that's why i consider to disable generating/storing *.log files
06:37:05 <fell> In cases where you only view your data, the log files only contain the header line.
06:38:29 <gour> right. i'm concerned only whether i can, in emergency case if something is corrupted to safely revert back in the past based on just the reverted version of main *.gnucash file kept under dvcs?
06:41:01 *** wol1 has quit IRC
06:41:33 *** wol has joined #gnucash
06:42:13 <fell> BTW you can adjust the creation/keeping of log files in Edit->Preferences->General->Files.
06:42:57 <gour> that i know. the question is just whether to disable it or not
06:43:44 <gour> 'cause as soon they're generated no matter for how long, they are going to be saved when i regualarly commit to my dvcs
06:53:03 <fell> If you think "I want to be able to replay transactions (for n days)" you should save them (> ~200b).
06:55:46 <fell> If you think I will not remember, what I did n days ago, but only today, you could create them without checking in to the vcs.
07:12:06 <gour> fell: when you say 'replaying transactions' do you mean things like posting invoices in business features or regular stuff like 'normal' personal expenses?
07:13:16 <fell> business transactions are not correctly logged.
07:15:37 *** wol has quit IRC
07:22:56 *** aqua___ has joined #gnucash
07:42:36 *** fell_ has joined #gnucash
07:42:37 *** gncbot sets mode: +o fell_
07:52:12 *** fell has quit IRC
07:58:49 *** StuM has quit IRC
08:00:13 *** wol has joined #gnucash
08:11:01 *** aqua___ has quit IRC
08:19:02 *** fell__ has joined #gnucash
08:19:04 *** gncbot sets mode: +o fell__
08:22:37 *** KaiForce has joined #gnucash
08:23:08 *** fell_ has quit IRC
08:23:30 *** fell__ is now known as fell
08:27:48 *** wol has quit IRC
08:36:00 *** wol has joined #gnucash
08:40:06 *** StuM has joined #gnucash
09:00:19 *** wol1 has joined #gnucash
09:07:02 *** wol has quit IRC
09:16:16 *** wol1 has quit IRC
09:21:27 *** floh1111 has quit IRC
09:26:27 *** lmat has joined #gnucash
09:45:50 *** GabrieleV_ has joined #gnucash
09:46:41 *** GabrieleV has quit IRC
09:46:41 *** GabrieleV_ is now known as GabrieleV
10:41:58 *** aqua___ has joined #gnucash
10:45:52 *** lmat_ has joined #gnucash
10:47:10 *** lmat has quit IRC
11:10:17 <gour> i moved to sqlite backend and set Retain log/backup to 'Never', but I see that GC is still generating them?
11:30:29 *** ErKa has joined #gnucash
11:46:42 *** Bodhi-Baum has joined #gnucash
11:48:07 *** fell has quit IRC
12:03:48 *** Krzysiek_K has joined #gnucash
12:04:10 *** StuM has quit IRC
12:25:09 *** jralls has quit IRC
12:25:31 *** jralls has joined #gnucash
12:25:31 *** gncbot sets mode: +o jralls
12:28:17 <jralls> gour: That code only applies to the XML backend. The SQL backends generate the (rather useless IMO) transaction logs but no backups. There's also https://bugzilla.gnome.org/show_bug.cgi?id=733459 which says that the log deletion code isn't working on the XML backend in 2.6.
12:41:05 *** fell has joined #gnucash
12:41:07 *** gncbot sets mode: +o fell
13:00:49 *** jimvideo has joined #gnucash
13:04:35 <jralls> lmat_: Are you working on a patch for make-gnucash-potfiles?
13:05:33 *** Bodhi-Baum has quit IRC
13:21:43 <gour> jralls: thank you for the url...do you suggest i'll be fine by just keeping my main *.gnucash files under dvcs, either as xml or as sqlite db and ignoring those logs?
13:21:44 *** aqua___ has quit IRC
13:27:07 <jralls> gour: You can certainly ignore the logs; you might even want to have cron clean them up. The only way you'll get useful results out of pointing a VCS at the .gnucash file is if you use XML and turn off compression, but if you use XML you get a fresh file every time you save so there's no real reason to use VCS on it; besides, you have to remember to commit every time you quit GC.
13:28:36 <jralls> With SQLite I think the best solution is to make frequent backups. On a mac, Time Machine works well, but you can set up cron job on any Unix box or a Scheduled Task on Windows.
13:28:49 <gour> jralls: so far, i used uncompressed xml and was committing always after exiting GC
13:29:42 <jralls> OK.
13:29:52 <gour> jralls: ok, main point is that i can get rid of log files and that reverting via VCS, if needed, is good enough
13:30:20 <jralls> Should be, but it would be wise to test it and make sure.
13:30:30 <gour> ok
13:33:41 *** aqua___ has joined #gnucash
13:39:53 <lmat_> jralls: Sorry for the wait.
13:40:03 <jralls> lmat_: NP
13:40:07 <lmat_> jralls: I'm working on lots of stuff :) I have never successfully run make distcheck;.
13:40:23 <lmat_> jralls: the GREP_OPTIONS thing is on the radar, though.
13:40:42 *** lmat_ is now known as lmat
13:41:39 <jralls> As I said in mail yesterday, I'd rather just read each file in perl in make-gnucash-potfiles. It seems dumb to shell out from perl to run grep.
13:41:50 <jralls> Especially grep!
13:41:56 *** MechtiIde has joined #gnucash
13:42:30 <lmat> yup, makes sense.
13:46:34 <jralls> I'm pretty fluent in perl, so if you're not actively working on it, I'll go ahead and do it right after I finish the XDG_DATA_DIRS patch for ktoblzcheck I promised Christian when I was on vacation.
13:47:18 <lmat> That'd probably be best. I don't know any perl, so I can't just spit it out, and currently, I'm having an argument with make distcheck.
13:47:43 <jralls> What kind of argument?
13:47:44 <lmat> (I'm running make distcheck clean from gnucash/master now so that I can tell the exact error ^_^)
13:48:02 <lmat> I had a false start, remembered to export GREP_OPTIONS= and I'm running it again now.
13:50:06 *** ErKa has quit IRC
13:51:50 <lmat> Oh yes... the problem is that gnc-date.cpp thing.
13:52:26 <lmat> I see that we have a commit in place, but the commit is against POTFILES.in which is re-generated at some step in the game.
13:54:25 <jralls> Oh... Probably make-gnucash-potfiles is only looking for .c files.
13:57:43 <jralls> I think it's make check that regenerates POTFILES.in.
14:29:24 <warlord> Is it check or dist?
14:30:26 *** aqua___ has quit IRC
14:31:17 <jralls> warlord: I think it's check. That seems to be what generates a bunch of changes that I sometimes commit by mistake. They're generally bogus, just changes in the order of the files.
14:34:36 <warlord> Okay.. I haven't really looked :)
15:16:07 *** GabrieleV_ has joined #gnucash
15:16:26 *** GabrieleV has quit IRC
15:16:27 *** GabrieleV_ is now known as GabrieleV
15:17:52 *** ErKa has joined #gnucash
15:26:07 *** cigarshark has joined #gnucash
15:36:19 *** wizkid238 has joined #gnucash
15:53:36 *** wol has joined #gnucash
15:55:29 <lmat> When I add the .cpp files to make-gnucash-potfiles (I put in a -name '*.cpp' -o), the error is
15:56:09 <lmat> src/gnc/AccountItemModel.cpp is in POTFILES.in but not in the dist.
15:56:23 <lmat> And many others which aren't in /src/libqof
15:56:33 <lmat> Oh yeah, I'll try to only add the libqof ones...
15:58:19 <warlord> lmat: the error means what it says. It says that the file is listed in POTFILES.in, but it's not included in "make dist"
15:58:26 <warlord> e.g. it wouldn't be in the tarball
15:58:36 <lmat> makes sense.
15:59:12 <jralls> lmat: The right way to handle that is to add the files we don't want to po/POTFILES.skip.
16:05:46 <warlord> Or add them to the dist to make sure they are there (I can't think of any reason we wouldn't include a .cpp file in the dist)
16:11:02 *** gour has quit IRC
16:12:51 *** wol1 has joined #gnucash
16:15:58 <jralls> warlord: Aside for libqof, the .cpp files are in Christian's cpp shim directories src/gnc and src/optional/gtkmm. I doubt that there are any translatable strings in any of them, but there's no point in wasting time scanning them, either.
16:18:02 *** wol has quit IRC
16:18:28 *** wol has joined #gnucash
16:22:48 *** wol2 has joined #gnucash
16:23:22 *** wol1 has quit IRC
16:30:30 *** wol has quit IRC
16:49:10 *** wol has joined #gnucash
16:53:48 *** MechtiIde has quit IRC
16:57:51 *** wol2 has quit IRC
17:00:38 *** wol1 has joined #gnucash
17:01:45 *** tiker has joined #gnucash
17:03:56 <tiker> Are there any known memory issues with 2.6.3 on Windows (64-bit) using mysql as storage?
17:05:11 <tiker> or a better description - memory consumption and not releasing issues
17:07:13 *** wol has quit IRC
17:07:40 *** KaiForce has quit IRC
17:09:10 *** wol has joined #gnucash
17:09:34 <lmat> tiker: I don't know of any memory leaks in that version. What are you experiencing?
17:10:09 <tiker> the program crashes after using for a while
17:10:39 <tiker> found out that if you click on the arrow icons on the first tab to expand and collapse the accounts, the process consumes ram
17:11:02 <tiker> just by clicking the arrow icon over and over to collapse, expand, collapse, expand, etc. the ram usage goes up and up
17:11:29 <tiker> I just increased the ram usage by 400+ megs in 2 minutes clicking the arrow over and over
17:11:50 <tiker> so I'm thinking this is what's causing the crashing issue for me - once it hits a limit it quits
17:12:25 <tiker> I'm still clicking to see how much ram it'll take before it crasehs
17:13:11 <lmat> tiker: That sounds like a pretty serious memory leak!
17:13:25 <lmat> tiker: Just for laughs, can you use the keyboard?
17:14:04 <tiker> using + - to expand and collapse has the same result
17:14:27 <lmat> tiker: Looks like I don't have the mysql backend installed. I use sqlite exclusively and it works very well ^_^
17:14:36 <lmat> tiker: Please create a report on Bugzilla?
17:14:43 <lmat> I need to head out and pick up my car from the mechanic
17:15:00 <tiker> ok
17:15:40 <lmat> tiker: later!
17:15:47 <tiker> cya\
17:16:01 *** wol1 has quit IRC
17:17:29 <tiker> the program crashed once the ram usage for the process hit 1.35 gigs.
17:18:04 <tiker> I'm going to head home from work.
17:18:14 <tiker> I'll submit the bug report once I get home if no one else responds here before then.
17:28:38 *** gjanssens has quit IRC
17:35:36 *** cigarshark has quit IRC
17:36:21 *** cigarshark has joined #gnucash
17:40:32 *** wol has quit IRC
17:47:52 *** wafflejock has quit IRC
17:53:32 *** fabior has joined #gnucash
17:58:06 <jralls> tiker: Yes, please submit a bug report, but also please try with the XML backend to ensure that the problem isn't associated with MySQL. I doubt that it is, and I suspect a Gtk bug rather than anything in GnuCash.
17:59:50 *** wafflejock has joined #gnucash
18:14:05 *** fabior has quit IRC
18:35:45 *** StuM has joined #gnucash
18:54:23 <tiker> jralls: problem exists with a new xml file as well. Create a new document, used the "common accounts" template (or something like that which is default), saved as test.gnucash and then expand / collapse "expenses" over and over...
18:55:13 <tiker> going to create the bugzilla report now
19:26:17 *** crocket has left #gnucash
19:37:33 *** wafflejock has quit IRC
19:42:17 <tiker> hopefully I filled out the bug request correctly.
19:42:37 <tiker> https://bugzilla.gnome.org/show_bug.cgi?id=734509
19:42:37 <tiker> if not, let me know
19:43:12 *** wafflejock has joined #gnucash
19:56:25 *** wafflejock has quit IRC
20:00:06 *** wafflejock has joined #gnucash
20:04:13 *** StuM has quit IRC
20:15:37 *** jralls has quit IRC
20:15:48 *** fell_ has joined #gnucash
20:15:49 *** gncbot sets mode: +o fell_
20:20:48 *** fell has quit IRC
20:36:58 *** ErKa has quit IRC
21:16:30 *** jralls has joined #gnucash
21:16:31 *** gncbot sets mode: +o jralls
22:14:26 *** wafflejock_ has joined #gnucash
22:19:16 *** wafflejock has quit IRC
22:38:00 *** GabrieleV_ has joined #gnucash
22:38:27 *** GabrieleV has quit IRC
22:38:28 *** GabrieleV_ is now known as GabrieleV
22:39:47 *** cigarshark has quit IRC
22:43:11 *** lmat has quit IRC
23:00:55 *** fell_ has quit IRC
23:03:31 *** GabrieleV_ has joined #gnucash
23:03:35 *** GabrieleV has quit IRC
23:03:35 *** GabrieleV_ is now known as GabrieleV
23:33:32 *** GabrieleV_ has joined #gnucash
23:33:41 *** GabrieleV has quit IRC
23:33:41 *** GabrieleV_ is now known as GabrieleV