2019-12-09 GnuCash IRC logs

00:04:14 <CDB-Man> https://bugs.gnucash.org/show_bug.cgi?id=797521
00:08:38 *** epi has joined #gnucash
00:11:41 <epi> Hi, I am trying to connect GnuCash with a MySQL database. Without SSL (require_secure_transport) I am able to do that just fine. With SSL I get an Error like this: "INFO <gnc.backend.dbi> [error_handler] DBI error: 3159: Connections using insecure transport are prohibited while --require_secure_transport=ON." Do I have to configure GnuCash specially? I can open a connection via command line with SSL. I recieved no answer when I asked on friday, sh
00:11:41 <gncbot> epi: Sent 2 days, 12 hours, and 1 minute ago: <jralls> GnuCash doesn't know how to connect to MySQL over SSL.
00:11:42 <epi> ould I ask elsewhere or is this the right place to do so?
00:12:11 <epi> oh now i see the answer, sorry my bad. thank you very much
00:12:25 *** epi has quit IRC
00:30:48 *** fell_laptop has quit IRC
00:30:55 *** omnireq has quit IRC
00:42:16 *** Mechtilde has joined #gnucash
00:45:18 *** Mechtilde has quit IRC
00:46:24 *** Mechtilde has joined #gnucash
00:49:06 *** karelk has joined #gnucash
01:09:29 *** warlord has joined #gnucash
01:20:39 *** pohly1 has joined #gnucash
01:39:19 *** FH_thecat has quit IRC
01:47:04 *** Gerd has joined #gnucash
01:53:58 *** Mechtilde has quit IRC
02:05:59 *** fell_laptop has joined #gnucash
02:06:00 *** ChanServ sets mode: +o fell_laptop
02:19:44 *** FH_thecat has joined #gnucash
02:21:11 *** sbluhm has joined #gnucash
02:21:12 *** ChanServ sets mode: +v sbluhm
02:51:56 *** Gerd has quit IRC
02:53:14 *** JayC has quit IRC
03:08:21 *** obscurans has quit IRC
03:59:46 *** gjanssens has joined #gnucash
03:59:46 *** ChanServ sets mode: +o gjanssens
03:59:54 <gjanssens> .
04:29:29 *** fell_laptop is now known as fell
04:45:57 *** Gerd has joined #gnucash
04:56:23 <chris> CDB-Man: always good to have more beta testers
04:56:29 *** omnireq has joined #gnucash
05:09:18 *** Gerd has quit IRC
05:12:53 *** omnireq_ has joined #gnucash
05:14:05 *** omnireq has quit IRC
05:14:37 <chris> heartache is part of the process :(
05:16:03 *** luwum[m] has quit IRC
05:16:04 *** peter-butler[m] has quit IRC
05:16:04 *** ElonSatoshi[m] has quit IRC
05:16:06 *** MatrixTraveler[m] has quit IRC
05:16:09 *** sunyibo[m] has quit IRC
05:16:09 *** gimpnet-irc[m] has quit IRC
05:16:10 *** mmkodali[m] has quit IRC
05:16:20 *** habicht[m] has quit IRC
05:37:02 *** GabrieleV has quit IRC
05:38:23 *** MatrixTraveler[m] has joined #gnucash
05:40:26 *** GabrieleV has joined #gnucash
05:54:55 *** omnireq__ has joined #gnucash
05:56:05 *** omnireq_ has quit IRC
05:57:56 *** sbluhm has quit IRC
06:06:57 *** User__ has joined #gnucash
06:14:56 *** GabrieleV has quit IRC
06:16:19 *** sbluhm has joined #gnucash
06:19:36 <chris> gjanssens http://www.swig.org/Doc4.0/Guile.html#Guile_nn11 see %values_as_list
06:19:58 <chris> and http://www.swig.org/Doc4.0/Guile.html#Guile_nn19 see (struct-member-get pointer) (struct-member-set pointer value)
06:20:23 <chris> time to experiment on swig
06:25:47 *** storyjesse has joined #gnucash
06:32:45 <gjanssens> chris: I don't think your first reference applies here.
06:33:12 <gjanssens> xaccAccountSplitList is not returning multiple values (that's a C++ only feature by the way)
06:33:21 *** Mechtilde has joined #gnucash
06:33:28 <gjanssens> It returns exactly one value: a pointer to a GList struct
06:33:35 *** sbluhm has quit IRC
06:34:22 <gjanssens> What makes the GList a "list" is that the struct has a pointer to the next struct which in turn has a pointer to the next struct and so on.
06:34:40 <gjanssens> But what you get from the function is exactly one value as far as swig is concerned.
06:36:02 <gjanssens> The second reference does explain where the setter and getter functions come from and a potentially more concise but more confusion alternative.
06:36:47 <gjanssens> Other than that I agree what you are looking for is likely solvable via swig.
06:36:54 <gjanssens> Or at least partially.
06:37:06 <gjanssens> Do you need the ability to modify the split list ?
06:37:35 <gjanssens> In particular do you need to be able to *add* or *delete* splits from it ?
06:37:49 <gjanssens> That's the bit I'm uncertain about if that's easy to solve.
06:38:19 <gjanssens> Just traversing the splitlist and optionally making changes to a particular split (without removing it) should not be too hard.
06:38:46 <gjanssens> If I find some time later on I can try to write a mockup. Likely not today though.
06:50:33 *** sbluhm has joined #gnucash
06:56:10 *** omnireq__ has quit IRC
06:56:40 *** omnireq__ has joined #gnucash
06:58:18 *** fell has quit IRC
07:04:09 *** gjanssens has quit IRC
07:11:08 *** fell has joined #gnucash
07:11:08 *** ChanServ sets mode: +o fell
07:42:13 *** JayC has joined #gnucash
07:42:13 *** ChanServ sets mode: +v JayC
07:42:36 *** fell has quit IRC
07:42:37 *** fell_laptop has joined #gnucash
07:42:37 *** ChanServ sets mode: +o fell_laptop
07:54:30 *** fell_laptop is now known as fell
07:55:56 *** puck has quit IRC
07:59:54 <fell> gjanssens: wouldn't it be less burden, if warlord would install/configure https://www.mediawiki.org/wiki/Extension:GraphViz and we copy the 50k content of the dot file in a <graphviz>...</graphviz> section instead of uploading a 350k svg?
08:04:34 *** puck has joined #gnucash
08:31:29 *** monkeyjuice has joined #gnucash
08:32:26 *** monkeyjuice has quit IRC
08:53:18 *** Gerd has joined #gnucash
08:59:31 <chris> gjanssens: don't need to modify lists. modifying lists is unfunctional.
08:59:45 *** MatrixTraveler[m] has quit IRC
09:12:07 <chris> I can't think of any GnuCash API which will modify GList
09:23:05 <chris> CDB-Man: the receivalbe aging bug is more tricky and I'll need to research exactly why aging.scm gets a different aging-list. Thanks for report.
09:43:00 *** jervin has quit IRC
09:44:04 *** peter-butler[m] has joined #gnucash
09:44:07 *** ElonSatoshi[m] has joined #gnucash
09:44:08 *** jervin has joined #gnucash
09:44:11 *** habicht[m] has joined #gnucash
09:44:14 *** Couto[m] has joined #gnucash
09:44:18 *** mmkodali[m] has joined #gnucash
09:44:19 *** gimpnet-irc[m] has joined #gnucash
09:44:23 *** luwum[m] has joined #gnucash
09:44:26 *** sunyibo[m] has joined #gnucash
09:52:13 *** jervin has quit IRC
09:53:22 *** jervin has joined #gnucash
09:54:54 *** jervin has quit IRC
09:56:04 *** User__ has quit IRC
09:56:10 *** storyjesse has quit IRC
10:00:02 *** jralls has joined #gnucash
10:02:30 *** KevinDB has quit IRC
10:04:06 *** KevinDB has joined #gnucash
10:04:06 *** ChanServ sets mode: +v KevinDB
10:04:14 <jralls> chris: How do you think the lists come to be if they're not modified by the API? Every time you create a new transaction the splits are added to the account's split list with gnc_account_insert_split.
10:12:05 <chris> but xaccAccountGetSplitList would only be called once per report, isn't it? and after report is run, its value is discarded
10:12:14 * chris doesn't know much about C internals
10:12:58 <chris> ditto qof_query_run for splits
10:13:39 <chris> ah I understand the question
10:13:58 <chris> gnc_account_insert_split will modify account->splits
10:14:32 <chris> I meant to state I don't know any API of the sort gnc_splitlist_insert_split (splitlist, new_split)
10:14:43 <chris> thereby mutating the first argument
10:25:21 *** omnireq__ has quit IRC
10:29:36 *** oozer has joined #gnucash
10:30:48 <chris> off now ;)
10:50:24 *** jralls has quit IRC
10:50:30 *** jralls has joined #gnucash
10:51:12 *** jralls has quit IRC
10:51:17 *** jralls has joined #gnucash
10:51:56 *** Gerd has quit IRC
10:52:00 *** jralls has quit IRC
10:52:04 *** jralls has joined #gnucash
10:52:13 *** oozer has quit IRC
10:52:47 *** jralls has quit IRC
10:52:52 *** jralls has joined #gnucash
10:53:39 *** jralls has joined #gnucash
10:54:22 *** jralls has quit IRC
10:54:27 *** jralls has joined #gnucash
10:55:09 *** jralls has quit IRC
10:55:14 *** jralls has joined #gnucash
10:56:01 *** jralls has joined #gnucash
10:56:44 *** jralls has quit IRC
10:56:49 *** jralls has joined #gnucash
10:57:36 *** jralls has joined #gnucash
10:58:19 *** jralls has quit IRC
10:58:24 *** jralls has joined #gnucash
10:59:07 *** jralls has quit IRC
10:59:11 *** jralls has joined #gnucash
10:59:59 *** jralls has joined #gnucash
11:00:42 *** jralls has quit IRC
11:00:46 *** jralls has joined #gnucash
11:01:34 *** jralls has joined #gnucash
11:02:17 *** jralls has quit IRC
11:04:03 *** sbluhm has quit IRC
11:05:48 *** omnireq has joined #gnucash
11:05:48 *** ChanServ sets mode: +v omnireq
11:09:39 *** jralls has joined #gnucash
11:13:16 *** jralls has quit IRC
11:14:56 *** boldstripe has joined #gnucash
11:18:07 *** boldstripe_ has joined #gnucash
11:18:21 *** boldstripe has quit IRC
11:18:21 *** boldstripe_ is now known as boldstripe
11:27:14 *** boldstripe_ has joined #gnucash
11:27:30 *** boldstripe has quit IRC
11:27:30 *** boldstripe_ is now known as boldstripe
11:33:25 *** Mechtilde has quit IRC
11:47:35 *** warlord has quit IRC
12:01:47 *** Gerd has joined #gnucash
12:03:17 *** ArtGravity has joined #gnucash
12:03:17 *** ChanServ sets mode: +v ArtGravity
12:05:09 *** warlord has joined #gnucash
12:34:03 *** sbluhm has joined #gnucash
12:34:03 *** ChanServ sets mode: +v sbluhm
12:35:01 *** guak has joined #gnucash
12:38:39 *** Mechtilde has joined #gnucash
12:47:55 *** boldstripe_ has joined #gnucash
12:48:08 *** boldstripe has quit IRC
12:48:08 *** boldstripe_ is now known as boldstripe
12:58:21 *** calvinct has joined #gnucash
13:01:48 *** boldstripe has quit IRC
13:12:10 *** gjanssens has joined #gnucash
13:12:11 *** gncbot sets mode: +o gjanssens
13:12:11 *** ChanServ sets mode: +o gjanssens
13:13:02 <gjanssens> .
13:24:22 *** oozer has joined #gnucash
13:34:46 *** jralls has joined #gnucash
13:35:48 *** ChanServ sets mode: +o jralls
13:35:51 <jralls> .
14:00:08 *** frakturfreak has joined #gnucash
14:00:08 *** ChanServ sets mode: +v frakturfreak
14:45:12 *** calvinct has quit IRC
15:42:10 *** FH_thecat has quit IRC
16:28:06 *** monkeyjuice has joined #gnucash
16:28:31 *** calvinct has joined #gnucash
16:28:45 *** monkeyjuice has quit IRC
16:33:21 *** boldstripe has joined #gnucash
16:33:42 *** Mechtilde has quit IRC
16:37:03 *** sbluhm has quit IRC
16:46:43 *** pohly1 has quit IRC
16:53:21 *** frakturfreak has quit IRC
17:05:47 *** fell has quit IRC
17:48:40 *** gjanssens has quit IRC
17:58:00 *** calvinct has quit IRC
18:23:25 *** jervin has joined #gnucash
18:33:23 *** jervin has quit IRC
18:35:24 *** jervin has joined #gnucash
19:00:53 *** Gerd has quit IRC
19:08:37 *** User__ has joined #gnucash
19:13:11 *** User__ has quit IRC
19:23:04 *** boldstripe_ has joined #gnucash
19:23:17 *** boldstripe has quit IRC
19:23:17 *** boldstripe_ is now known as boldstripe
19:23:47 *** warlord has quit IRC
19:38:42 *** ArtGravity has quit IRC
19:45:04 *** r19rcv20 has joined #gnucash
19:46:06 <r19rcv20> Hello. I have a new desktop and i have my gnucash information on my laptop. How do i move it to my desktop? i am having some issues with that
19:50:43 *** jervin has quit IRC
20:02:34 *** warlord has joined #gnucash
20:08:10 <jralls> r19rcv20: Migration is just a form of backup: https://wiki.gnucash.org/wiki/Backup
20:10:14 *** jralls has quit IRC
20:13:24 <r19rcv20> Oh ok I understand thank you so much!
20:13:49 *** r19rcv20 has quit IRC
20:38:08 *** omnireq has quit IRC
20:47:09 *** waeking has joined #gnucash
20:47:09 *** ChanServ sets mode: +v waeking
20:50:01 *** jralls has joined #gnucash
21:09:11 *** oozer has quit IRC
21:14:12 *** guak has quit IRC
21:43:07 *** omnireq has joined #gnucash
21:49:13 *** FH_thecat has joined #gnucash
22:05:37 *** omnireq has quit IRC
22:05:56 *** omnireq has joined #gnucash
22:49:36 *** oliver has quit IRC
22:51:18 *** oliver has joined #gnucash
23:40:01 *** storyjesse has joined #gnucash
23:44:06 *** karelk has quit IRC