2016-01-30 GnuCash IRC logs

01:51:34 *** Mechtilde has joined #gnucash
01:53:09 *** Bako has joined #gnucash
01:53:32 *** Bako has left #gnucash
02:00:29 *** Mechtilde has quit IRC
02:03:09 *** Mechtilde has joined #gnucash
02:03:27 *** MoeD_ has joined #gnucash
02:04:08 *** MoeD has quit IRC
02:04:22 *** MoeD_ is now known as MoeD
02:10:00 *** Mechtilde has quit IRC
03:16:31 *** fell has quit IRC
05:14:38 *** fell has joined #gnucash
05:14:39 *** gncbot sets mode: +o fell
05:36:59 *** nomeata has joined #gnucash
06:10:37 *** fabior has joined #gnucash
06:25:13 *** finster has joined #gnucash
06:25:43 <finster> hello there. happy user of gnucash 2.6.11 (osx, intel) here.
06:26:34 <finster> is there a way to filter the accounts view by a certain date range so that it shows the balance for the selected period only?
06:52:24 *** bertbob has quit IRC
06:59:18 *** Girobino has joined #gnucash
07:01:15 <Girobino> Hi, I am using the german translated version of GnuCash. What does "Art" mean in accounts with "Forderungen" or "Verbindlichkeiten"? What are these options: '?', 'I' and 'P'
07:06:15 *** bertbob has joined #gnucash
07:09:20 *** bertbob has quit IRC
07:22:10 *** fabior has quit IRC
07:24:54 *** bertbob has joined #gnucash
07:38:22 *** MagicFab has joined #gnucash
07:51:36 *** MichaelBurge has joined #gnucash
07:59:09 *** MagicFab has quit IRC
08:06:06 <MichaelBurge> I'm trying to build Gnucash from the master branch on Github, and while make tries to compile the file 'gnc-account-xml-v2.cpp' I get a ton of errors like 'error: template with C linkage'.
08:09:11 <MichaelBurge> I was thinking about adding a UI to manage Gnucash's lots feature. The intention is to make it possible to assign a transaction to the lot underlying a bill.
08:24:11 *** gjanssens has joined #gnucash
08:24:13 *** gncbot sets mode: +o gjanssens
08:34:31 *** Jimraehl1 has left #gnucash
08:36:39 *** fabior has joined #gnucash
08:43:55 <gjanssens> Problem: first run of gnucash with my c++ code enabled in the csv-import results in a dlopen failure...
08:44:09 <gjanssens> It appears to trip over c++ mangling semantics
08:44:37 <gjanssens> Anyone got some experience with this ?
08:45:21 <gjanssens> I've read this article https://www.linux.com/learn/docs/ldp/457-c-dlopen
08:45:44 <gjanssens> But applying those techniques would effectively break the current modularity of gnucash
08:46:27 <gjanssens> dlopen complains about a c++ class I have created, however I don't need that class to be accessible from the rest of gnucash
08:46:35 <gjanssens> It's just for internal use in the csv importer
08:47:35 <gjanssens> As I understand dlopen should only care about symbols that should be exported (to be accessed outside the module)
08:47:42 *** Jimraehl1 has joined #gnucash
08:48:07 <gjanssens> How can I change my code such that dlopen no longer cares about this ?
08:53:00 *** rubdos has joined #gnucash
08:54:26 <gjanssens> I'll ask the same via the mailing list, because my online presence will vary today
08:54:34 * gjanssens is at FOSDEM
09:03:38 *** rubdos has quit IRC
09:05:15 *** nomeata has quit IRC
09:25:17 <gjanssens> warlord: the mail I sent in reply to your response on my dlopen question bounced with the error "recipient domain not found"
09:25:28 <gjanssens> "<derek@ihtfp.com> recipient domain not found (in reply to RCPT TO command)"
09:29:59 <codesmythe> gjanssens: can you pastebin the full error message you are seeing?; is the code available on github?
09:33:21 *** Mechtilde has joined #gnucash
09:33:28 *** rubdos has joined #gnucash
09:35:22 <gjanssens> codesmythe: There's only one line, so I'll just paste it here:
09:35:23 <gjanssens> <gnc.module> Failed to dlopen() '/home/janssege/Lokaal/installs/gnucash/master/lib/gnucash/libgncmod-csv-import.so': /home/janssege/Lokaal/installs/gnucash/master/lib/gnucash/libgncmod-csv-import.so: undefined symbol: _ZTI12GncTokenizer
09:36:13 <gjanssens> The code is indeed available on github: https://github.com/gjanssens/gnucash/tree/cpp
09:36:28 <gjanssens> I'm working in src/import-export/csv-imp
09:36:53 <gjanssens> The class dlopen complains about is declared in GncTokenizer.hpp
09:39:14 * gjanssens will be gone for a couple of minutes....
09:39:20 *** gjanssens is now known as gjanssens_
09:42:25 *** gjanssens_ has quit IRC
09:52:07 *** gjanssens_ has joined #gnucash
09:52:08 *** gncbot sets mode: +o gjanssens_
09:54:23 *** gjanssens_ is now known as gjanssens
10:05:32 <Mechtilde> /query gjanssens
10:06:06 <codesmythe> gjanssens: You need to add an implementation for the virtual function GncTokenizer::tokenize()
10:08:49 <gjanssens> codesmythe: can that be an empty one ?
10:09:54 <codesmythe> gjanssens:yes, but that function returns an int. I changed the line to "virtual int tokenize() { return 0; };" and the link error went away.
10:11:09 *** aqua_ has joined #gnucash
10:12:54 <codesmythe> gjanssens: Once you get past that, you may also need to put extern "C" around the include of Account.t and Transaction.h in gnc-csv-imp-trans.hpp
10:14:06 <codesmythe> gjanssens: And around the .h includes in gnc-csv-imp-trans.cpp
10:15:05 <gjanssens> codesmythe: adding the implementation did fix it indeed
10:15:17 <gjanssens> thanks
10:15:29 <codesmythe> gjanssens: Great!
10:15:44 *** rubdos has quit IRC
10:17:33 <codesmythe> You're welcome.
10:21:00 *** Mechtilde has quit IRC
10:25:05 <gjanssens> codesmythe: why should I wrap these headers in extern "C" ?
10:25:53 *** gjanssens is now known as gjanssens_
10:26:02 <gjanssens_> I will check irc logs later though
10:29:15 *** gjanssens_ has quit IRC
10:35:13 *** gjanssens_ has joined #gnucash
10:35:13 *** gncbot sets mode: +o gjanssens_
10:35:24 *** gjanssens_ is now known as gjanssens
10:35:38 *** Mechtilde has joined #gnucash
10:59:18 *** gjanssens has quit IRC
11:03:36 *** markusj has joined #gnucash
11:06:37 *** minot has joined #gnucash
11:09:07 <markusj> Hello! I have a short question: Is it possible to configure how gnucash maps imported HBCI data into the description field of a transaction? Since SEPA, the payment sender overflows into the description text, which is joined by gnucash to description; sender (non-broken would be: sender description)
11:18:25 *** aqua_ has quit IRC
11:23:39 *** Mechtilde has quit IRC
11:35:14 *** rubdos has joined #gnucash
11:35:31 *** gjanssens has joined #gnucash
11:35:33 *** gncbot sets mode: +o gjanssens
12:19:03 *** minot1 has joined #gnucash
12:20:49 *** minot has quit IRC
12:26:47 *** gjanssens has quit IRC
12:47:00 *** Girobino has left #gnucash
12:47:08 *** Girobino has joined #gnucash
12:47:32 *** Girobino has left #gnucash
13:29:55 *** minot1 has quit IRC
13:33:39 *** jralls_ is now known as jralls
13:34:47 *** ChanServ sets mode: +o jralls
13:35:04 <finster> is it possible to make the budget planner summarize data from sub-accounts?
13:35:07 *** dschwen has quit IRC
13:35:41 <finster> as it seems right now only top-level accounts within the expenses hierarchy are considered for the budgeting statistics in the bottom of the budgeting sheet
13:57:33 *** fabior has quit IRC
14:19:19 *** minot has joined #gnucash
14:48:08 *** nicomachus has joined #gnucash
15:53:43 *** fell_ has joined #gnucash
15:56:11 *** fell has quit IRC
16:11:16 *** bozonius has joined #gnucash
16:18:48 *** rubdos has quit IRC
16:37:15 *** markusj has quit IRC
18:10:34 *** CDB-Man_ has joined #gnucash
18:11:35 *** CDB-Man has quit IRC
18:59:32 <lmat> @tell gjanssens You're using extern "C"?
18:59:32 <gncbot> lmat: The operation succeeded.
19:04:19 <lmat> @tell gjanssens Ah, I see where that was suggested, and that your question isn't answered. For the full explanation, see http://en.cppreference.com/w/cpp/language/language_linkage. In short, it makes linkage with C work. The most obvious effect is to turn off name mangling.
19:04:19 <gncbot> lmat: The operation succeeded.
19:42:36 *** Coderjoe has quit IRC
19:45:36 *** Coderjoe has joined #gnucash
23:25:00 *** MichaelBurge has quit IRC
23:27:33 *** nicomachus has left #gnucash