2015-02-23 GnuCash IRC logs
00:31:18 *** jimvideo has quit IRC
01:07:15 *** GabrieleV has quit IRC
01:07:32 *** GabrieleV_ has joined #gnucash
01:07:35 *** GabrieleV_ is now known as GabrieleV
01:22:24 *** MechtiIde has joined #gnucash
01:36:16 *** ErKa has quit IRC
01:47:08 *** warlord has joined #gnucash
01:58:44 *** cartsoftware has joined #gnucash
02:00:54 *** cartsoftware has quit IRC
02:08:10 *** fell__ has joined #gnucash
02:08:11 *** gncbot sets mode: +o fell__
02:12:28 *** MechtiIde has quit IRC
02:13:20 *** fell_ has quit IRC
02:16:36 *** jokke has joined #gnucash
02:25:00 *** wol has joined #gnucash
02:33:09 *** gjanssens has joined #gnucash
02:33:10 *** gncbot sets mode: +o gjanssens
02:37:14 *** uXus has joined #gnucash
03:04:16 *** wol1 has joined #gnucash
03:05:02 *** wol has quit IRC
03:07:33 *** GabrieleV_ has joined #gnucash
03:07:38 *** GabrieleV has quit IRC
03:07:38 *** GabrieleV_ is now known as GabrieleV
04:05:25 *** StuM has joined #gnucash
04:22:01 *** wol1 has quit IRC
04:23:45 *** cartsoftware has joined #gnucash
04:27:54 *** wol has joined #gnucash
04:32:13 *** fabior has joined #gnucash
04:58:04 *** GabrieleV_ has joined #gnucash
04:58:09 *** GabrieleV has quit IRC
04:58:09 *** GabrieleV_ is now known as GabrieleV
05:13:03 *** GabrieleV_ has joined #gnucash
05:13:06 *** GabrieleV has quit IRC
05:13:06 *** GabrieleV_ is now known as GabrieleV
05:33:32 *** nomeata has joined #gnucash
05:41:29 *** fabior has quit IRC
05:58:53 *** fabior has joined #gnucash
06:33:28 *** wol1 has joined #gnucash
06:37:57 *** wol has quit IRC
06:39:55 *** fabior_ has joined #gnucash
06:39:56 *** fabior has quit IRC
06:43:43 *** cartsoftware has quit IRC
06:44:43 *** cartsoftware has joined #gnucash
06:54:04 *** himaxx has joined #gnucash
06:58:16 *** Jimraehl1 has left #gnucash
06:58:49 *** Jimraehl1 has joined #gnucash
07:04:21 *** himaxx has quit IRC
07:19:38 *** fabior_ has quit IRC
07:36:51 *** wol has joined #gnucash
07:43:40 *** StuM has quit IRC
07:45:20 *** wol1 has quit IRC
07:49:48 *** aqua___ has joined #gnucash
07:57:51 *** andy has joined #gnucash
08:05:55 *** StuM has joined #gnucash
08:36:15 *** rickoehn has joined #gnucash
08:42:22 *** wol has quit IRC
08:45:00 *** StuM has quit IRC
08:46:12 *** cartsoftware has quit IRC
09:05:19 *** warlord has quit IRC
09:08:28 *** cartsoftware has joined #gnucash
09:22:51 *** ErKa has joined #gnucash
09:45:13 *** ErKa has quit IRC
10:12:20 *** rpg has joined #gnucash
10:12:58 *** fabior has joined #gnucash
10:22:02 *** wol has joined #gnucash
10:24:02 *** ErKa has joined #gnucash
10:30:57 *** lmat has joined #gnucash
11:02:39 *** GabrieleV_ has joined #gnucash
11:02:40 *** GabrieleV has quit IRC
11:02:40 *** GabrieleV_ is now known as GabrieleV
11:07:14 *** nomeata has quit IRC
11:51:32 *** wol1 has joined #gnucash
11:52:05 *** wol has quit IRC
11:57:57 *** MechtiIde has joined #gnucash
12:13:49 *** himaxx has joined #gnucash
12:33:07 *** wol1 has quit IRC
13:01:13 *** cartsoftware has quit IRC
13:03:52 *** himaxx has quit IRC
13:16:56 *** jokke has quit IRC
13:17:24 *** Krzysiek_K has joined #gnucash
13:19:14 *** Krzysiek_K has left #gnucash
13:31:01 *** Hinnerk has joined #gnucash
13:31:01 <Hinnerk> hi
13:31:18 <Hinnerk> hi
13:31:53 <Hinnerk> I have a problem: When I start gnucash with my file, the following error message pops up twice, before it silently fails:
13:31:55 <Hinnerk> Ein Bericht hat eine Identifikationsnummer (»report-guid«), die doppelt auftritt. Bitte prüfen Sie, ob folgende »report-guid« fälschlicherweise in den gespeicherten Berichten mehr als ein Mal auftritt: 0b81a3bdfd504aff849ec2e8630524bc
13:32:30 <Hinnerk> so it says something about some reports id existing twice and I should check if this is an error...
13:32:39 <Hinnerk> what to do?
13:37:25 <Hinnerk> I can'T open my file!
13:43:27 *** lmat_ has joined #gnucash
13:45:08 *** lmat has quit IRC
14:05:16 *** jokke has joined #gnucash
14:07:00 <gjanssens> Hinnerk: what OS are you using ?
14:12:52 <Hinnerk> windows 7
14:12:59 <Hinnerk> latest official gnucash
14:13:34 <Hinnerk> i don't even know where to check for the double id...
14:16:20 <Hinnerk> I just did a search on the .gnucash directory of my user directory. I found this ID once in file accelerator-map (1 hit). Nothing else.
14:16:27 <Hinnerk> The line in that file reads:
14:16:40 <Hinnerk> Line 176: ; (gtk_accel_path "<Actions>/MenuAdditions/0b81a3bdfd504aff849ec2e8630524bcAction" "")
14:17:03 <Hinnerk> but of course I may be looking at a completely wrong directory.
14:20:44 <gjanssens> No, the .gnucash directory was what I wanted to suggest.
14:20:55 <Hinnerk> but i find only one instance...
14:21:02 <gjanssens> The id seems to be the id of the Income Statement report
14:21:16 <Hinnerk> just opened the accelerator-map file and did another search, just 1 hit.
14:21:19 <gjanssens> Have you recently been experimenting with this report ?
14:21:30 <Hinnerk> Well, which report is it?
14:21:35 <Hinnerk> the id means nothing to me
14:21:48 <gjanssens> As I said: Income Statement
14:21:58 <Hinnerk> oh, didn't see that.
14:22:02 <Hinnerk> hm
14:22:16 <Hinnerk> ah!
14:22:18 <Hinnerk> one sec!
14:22:25 <gjanssens> sure...
14:24:37 <Hinnerk> now that rang a bell..
14:25:01 <Hinnerk> I looked at the .scm of the income statement to see if I could somehow easily amend it to add a second column
14:25:15 <Hinnerk> so i made a copy of the .scm
14:25:31 <Hinnerk> and forgot it in the reports folder....
14:25:39 <Hinnerk> makes sense now.
14:25:51 <Hinnerk> deleted it and now it works
14:26:09 *** fell__ is now known as fell
14:26:10 <Hinnerk> thank you!
14:26:27 <gjanssens> You're welcome :)
14:47:37 <Hinnerk> another question:
14:48:19 <Hinnerk> when I import trx from my checking account, sometimes a trx is not recognised and I have to manually set the other leg. But my impression is, i should have recognised it.
14:48:57 <fell> Hinnerk: Silently following, I updated http://wiki.gnucash.org/wiki/De/Berichte. Can you proofread it?
14:49:26 <Hinnerk> will do.
14:50:14 <fell> Is Bayes enabled in Einstellungen?
14:50:25 <Hinnerk> just a sec. back the recognition of trx: One example is my savings account. I don't think there could ever be an import where this trx doesn't go to the proper savings account.
14:50:27 <Hinnerk> yes, it is.
14:50:31 <Hinnerk> (bayes that is)
14:51:08 <Hinnerk> should i change the setting?
14:51:24 <Hinnerk> Or is there a good way of finding a trx that is irritating the algo?
14:51:31 <fell> No, it does the guesses.
14:51:44 <Hinnerk> i mean the thresholds.
14:51:53 <Hinnerk> not switching it off :)
14:52:42 <fell> You can test it, but usually the defaults are good.
14:53:10 <Hinnerk> ok. so finding the false positive or something gets more important :)
14:54:04 <fell> And you must do the adjustments in the importer. Later changes are not notified by Bayes.
14:54:16 <Hinnerk> that's what i do.
14:55:32 <Hinnerk> @fell: Read it. Good so far.
14:55:32 <gncbot> Hinnerk: Error: "fell:" is not a valid command.
14:55:40 <Hinnerk> (at)fell: Read it. Good so far.
14:55:57 *** fell_ has joined #gnucash
14:55:57 *** gncbot sets mode: +o fell_
14:56:12 <Hinnerk> (at)fell: Read it. Good so far.
14:58:31 <fell_> Feel free to improve the wiki, too! ;-)
15:00:34 *** MechtiIde has quit IRC
15:00:51 *** fell has quit IRC
15:02:58 <Hinnerk> I'll try :)
15:06:55 <Hinnerk> question about the report-id in the .scm file:
15:07:02 <Hinnerk> I find two near the end of the file.
15:07:13 <Hinnerk> Which one do I need to change? Both?
15:09:32 *** fell_ is now known as fell
15:10:33 <fell> Can you point me to the oroginal file?
15:10:49 <fell> Income Statement?
15:13:23 <fell> Perhaps gjanssens knows, why the report has 2 names and guids. Backward compatibility after renaming?
15:14:27 <fell> So you should remove the P&L section
15:14:42 <fell> That was the old name, IIRC.
15:18:46 <Hinnerk> yes, income statement. I just opened the original.
15:19:02 <Hinnerk> It has two define-report sections.
15:19:17 <Hinnerk> one with name is-reportname and one with pnl-reportname
15:20:26 <Hinnerk> so for my copy I can just throw out one of the two sections?
15:27:48 <fell> Hinnerk: remove P&L and rename Income to 2-Col-Income or similar.
15:28:21 <Hinnerk> you mean rename the file? Did so. Just removing pnl...
15:29:45 *** rpg has quit IRC
15:43:20 <Hinnerk> could someone help me with this scheme line?
15:43:37 <Hinnerk> (set! revenue-closing
15:43:38 <Hinnerk> (gnc:account-get-trans-type-balance-interval-with-closing
15:43:40 <Hinnerk> revenue-accounts closing-pattern
15:43:42 <Hinnerk> start-date-tp end-date-tp)
15:43:43 <Hinnerk> ) ;; this is norm positive (debit)
15:43:49 <Hinnerk> taken from the i/s .scm file
15:44:17 <Hinnerk> if I understand everything correct, the result is a table of account balances.
15:44:53 <Hinnerk> is it possible to extend this table to have the same balances for a different period? I already created all the necessary options, labels, etc.
15:45:23 *** fabior has quit IRC
15:48:48 <fell> in https://github.com/Gnucash/gnucash/blob/maint/src/report/standard-reports/income-statement.scm remove 741-751
15:49:46 <fell> adjust 734-5
15:50:40 <Hinnerk> did that. I'm now working towards having a second column with a previous period.
15:50:50 <Hinnerk> that is what my latest question is about.
15:51:38 <Hinnerk> I think I just need to make sure that all the function like "revenue-closing" return a table that contains both columns.
15:52:09 <Hinnerk> but i don't know enough about scheme (pretty much nothing)
15:52:25 <Hinnerk> so I'm not sure what the right syntax would be.
15:52:38 <fell> Ahem, 734 is set in 715 and referenced in 722 ff.
15:53:02 <fell> S reset 734 and adjust 715
15:53:06 <Hinnerk> fell: nevermind, I cleaned that up.
15:53:24 <Hinnerk> everything with "pnl" is the section is gone in my copy.
15:53:33 <Hinnerk> ...in the section...
15:53:34 <fell> OK
15:54:07 <fell> removed 719?
15:54:12 <Hinnerk> I don't want to spam this chat, where can I easily paste you a bit of code?
15:54:25 <Hinnerk> not sure about 719, my lines have moved since I changed code...
15:54:36 <Hinnerk> assume for now all is well :)
15:54:59 <fell> The lines in the link above
15:55:33 <fell> remove 726-730
15:55:37 <Hinnerk> yes, 719 is history :)
15:56:10 <Hinnerk> don't worry about it anymore. I think that is ok. Now back to modifying the results...
16:35:19 <gjanssens> fell, Hinnerk I believe warlord added the two report definitions
16:35:43 <gjanssens> There was regular debate on what the report should be called, so in the end both names were added
16:36:06 <gjanssens> So indeed if you are creating your own custom report, you can remove one section as you did
16:37:15 <fell> gjanssens: thx!
16:39:51 <gjanssens> Hinnerk the function gnc:account-get-trans-type-balance-interval-with-closing is defined in src/report/report-system/report-utilities.scm
16:40:53 <gjanssens> I don't think you can make that function output a table with an additional column for a different period
16:41:16 <gjanssens> What you perhaps can do is call the function a second time with different start and end dates
16:41:30 <gjanssens> And then merge the results in your report code
16:41:36 <Hinnerk> i was planning on calling it twice
16:41:40 <Hinnerk> and merge the result
16:41:52 <Hinnerk> yes, that's what i mean
16:44:06 <Hinnerk> Sorry guys, I'm getting really tired. I'll try to get back tomorrow evening and would love to continue the discussion. And thank you for all your support!
16:44:47 <fell> No Problem!
16:45:06 *** Hinnerk has quit IRC
17:03:02 *** wol has joined #gnucash
17:05:54 *** gjanssens has quit IRC
17:06:39 *** GabrieleV_ has joined #gnucash
17:06:40 *** GabrieleV has quit IRC
17:06:40 *** GabrieleV_ is now known as GabrieleV
17:30:22 *** wol1 has joined #gnucash
17:36:00 *** wol1 has quit IRC
17:38:21 *** wol has quit IRC
17:46:14 *** wol has joined #gnucash
17:55:48 *** rickoehn has quit IRC
18:05:57 *** himaxx has joined #gnucash
18:11:08 *** lmat_ has quit IRC
18:17:29 *** ErKa has quit IRC
18:50:51 *** palshife has joined #gnucash
18:57:26 <palshife> Hi all! Long-time gnucash user here. Just recently started hacking on the Python bindings (and by extension the SWIG exposed C/C++ APIs). Software engineer by day so I’m happy to dive in to the code, but had a few questions around broad patterns. If someone has time to point me around for some extra reading or exercises, let me know. Great product!
19:00:51 <jralls> palshife: I've got to go AFK in a moment, but in the meantime do you know about the API docs at http://code.gnucash.org/docs/head/?
19:03:37 <palshife> Yep. I’ve been going through there first. I also found the Python example code and some of that documentation. I have a hello world working in Python (create session, get root account, close session) so I’m feelin’ good so far.
19:05:31 <palshife> I’m an OS X user on MacPorts so I have some interesting stories to tell there. I got the python27 variant working on my machine with a couple of portfile changes and configure patches. If someone in here is interested I can show you the changes I had to make to get everything working (autoconf and python OS X idiosyncrasies).
19:07:24 <palshife> jralls: Seen your name many times over the years on mailing lists. Thanks for the link.
19:07:51 <jralls> You're welcome. Now I must go.
19:07:59 *** jralls is now known as jralls_afk
19:20:06 *** himaxx has quit IRC
19:33:12 *** keret1 is now known as keret
20:23:33 *** jokke has quit IRC
20:39:26 *** ErKa has joined #gnucash
21:01:22 *** uXus has quit IRC
21:14:57 *** ErKa has quit IRC
21:33:43 *** uXus has joined #gnucash
21:39:15 *** StuM has joined #gnucash
21:56:37 *** uXus has quit IRC
22:08:03 *** uXus has joined #gnucash
22:53:14 *** GabrieleV_ has joined #gnucash
22:53:17 *** GabrieleV has quit IRC
22:53:17 *** GabrieleV_ is now known as GabrieleV
23:08:14 *** GabrieleV_ has joined #gnucash
23:08:17 *** GabrieleV has quit IRC
23:08:17 *** GabrieleV_ is now known as GabrieleV