2021-07-09 GnuCash IRC logs

00:45:45 *** jervin has quit IRC
01:07:29 *** fell has quit IRC
01:08:27 *** fell has joined #gnucash
01:08:27 *** ChanServ sets mode: +o fell
01:11:41 *** sbluhm has joined #gnucash
01:20:25 *** Mechtilde has joined #gnucash
01:31:56 *** sbluhm has quit IRC
01:34:16 *** frakturfreak has quit IRC
01:48:19 *** frakturfreak has joined #gnucash
01:49:51 *** sbluhm has joined #gnucash
02:28:46 *** celeste has quit IRC
02:29:17 *** celeste has joined #gnucash
02:29:17 *** ChanServ sets mode: +v celeste
02:33:36 *** kcin has joined #gnucash
02:34:51 *** kcin1 has joined #gnucash
02:35:18 *** kcin has quit IRC
02:37:52 *** kcin1 has quit IRC
02:47:50 *** Bambuzel has joined #gnucash
02:47:50 *** ChanServ sets mode: +v Bambuzel
02:54:46 *** celeste has quit IRC
02:55:41 *** celeste has joined #gnucash
02:55:41 *** ChanServ sets mode: +v celeste
03:04:31 *** Bambuzel has quit IRC
03:04:36 *** Bambuzel1 has joined #gnucash
03:04:36 *** ChanServ sets mode: +v Bambuzel1
03:04:47 *** gjanssens has joined #gnucash
03:04:47 *** ChanServ sets mode: +o gjanssens
03:07:02 *** Bambuzel1 is now known as Bambuzel
03:19:30 *** mikee has quit IRC
03:19:56 *** mikee has joined #gnucash
03:23:59 *** Bambuzel has quit IRC
03:24:14 *** celeste has quit IRC
04:10:45 *** field^Zzz3 has joined #gnucash
04:54:16 *** celeste has joined #gnucash
04:54:16 *** ChanServ sets mode: +v celeste
05:57:55 *** User has joined #gnucash
06:16:12 *** field^Zzz3 has quit IRC
06:33:57 *** chris_ has joined #gnucash
06:33:57 *** gncbot sets mode: +o chris_
06:35:36 *** chris has quit IRC
07:04:53 *** NewNick has quit IRC
07:04:54 *** technicus[m] has quit IRC
07:04:55 *** antonlada[m] has quit IRC
07:06:21 *** sbluhm has quit IRC
07:06:43 *** NewNick has joined #gnucash
07:07:05 *** mydogsnameisrudy has joined #gnucash
07:09:35 *** David has quit IRC
07:09:54 *** David has joined #gnucash
07:13:41 *** technicus[m] has joined #gnucash
07:27:19 *** mydogsnameisrudy has quit IRC
07:29:05 *** antonlada[m] has joined #gnucash
07:30:56 *** David has quit IRC
07:31:24 *** David has joined #gnucash
07:43:43 <Simon> so book_end for Transaction was the last time qof_begin_edit() is called where the editlevel goes from 0 to 1
07:44:18 <Simon> xaccTransDestroy() calls xaccTransBeginEdit() which calls qof_begin_edit() and the editlevel is then 1
07:44:47 <Simon> xaccTransDestroy() then calls xaccTransCommitEdit() which expects the editlevel to be 0? I don't understand how that is supposed to work
07:45:41 <Simon> it then calls qof_instance_increase_editlevel() but never calls qof_instance_decrease_editlevel()
07:46:19 <Simon> oh, qof_commit_edit() sets it to 0 again
07:48:10 <Simon> trans_cleanup_commit() should put the editlevel back to 0 but somehow it's 1 when the book_end for Account runs
07:48:24 <Simon> presuambly I need to track 0->1 transitions everywhere, not just qof_begin_edit()
07:49:07 *** sbluhm has joined #gnucash
07:58:27 <Simon> which then shows that the last 0->1 is in qof_instance_increase_editlevel() from xaccTransCommitEdit()
07:58:41 <Simon> https://s85.org/50vOzqT1 it's not changing back to 0 for some reason
08:02:31 <Simon> of course, when I add "g_assert(qof_instance_get_editlevel(trans) == 0);" it never fails...
08:19:52 *** sbluhm has quit IRC
08:30:41 <Simon> gnc_account_end_handler() made the last call to xaccAccountBeginEdit()
08:31:17 <Simon> at the end of qof_session_load_from_xml_file_v2_full() the editlevel of the root account isn't 0
08:32:12 *** tddpirate has joined #gnucash
08:33:33 <Simon> gnc_account_foreach_descendant() only runs for descendants, not the account itself, so it calls xaccAccountCommitEdit() on everything *except* the root account
08:36:03 <Simon> it's the same with the other backends, the root accounts aren't committed
08:36:26 <Simon> so book_end for Account can never do anything because the root account is already being edited
08:37:42 *** ChanServ sets mode: +v tddpirate
08:38:56 <tddpirate> I use GnuCash for my bookkeeping. Most of my expenses are repeating with changes only in receipt ID and the actual monetary amount. So I would like to customize the UI for entering transactions. I understand that GnuCash (I have version 3.4, from Debian Buster) is scriptable using Guile and Python. However I did not find guides for actually writing and running Guile scripts. Where can I find such a guide? Thanks!
08:39:33 <tddpirate> (sorry for duplicate messages - 1st attempt did not go through well)
08:39:36 <tddpirate> I use GnuCash for my bookkeeping. Most of my expenses are repeating with changes only in receipt ID and the actual monetary amount. So I would like to customize the UI for entering transactions.
08:39:52 <tddpirate> I understand that GnuCash (I have version 3.4, from Debian Buster) is scriptable using Guile and Python. However I did not find guides for actually writing and running Guile scripts. Where can I find such a guide? Thanks!
08:42:14 <Joc> this might help https://wiki.gnucash.org/wiki/Python_Bindings
08:43:52 *** chris_ has quit IRC
08:59:25 <tddpirate> Thanks, Joc.
09:00:51 *** chris has joined #gnucash
09:00:52 *** ChanServ sets mode: +v chris
09:00:55 *** gncbot sets mode: +o chris
09:03:10 *** tddpirate has left #gnucash
09:07:32 *** Aussie_matt has quit IRC
09:17:36 <chris> gjanssens: maint->master merge conflict in libgnucash/tax/Cmakelists.txt -- I'll defer to your expertise. the test-owner-report is a simple addition of 6 lines.
09:20:45 <chris> nordigen.com -- gives freemium openbanking api - with promise of free Transactional data forever
09:24:17 <chris> (I connected and confirm it works)
09:26:09 *** storyjesse has joined #gnucash
09:27:19 *** sbluhm has joined #gnucash
09:36:53 <gjanssens> warlord: do you remember why you chose "Username" rather than "Employee name" back when you implemented the business features ? "Username" suggests some kind of login reference.
09:46:06 <warlord> gjanssens, I think the idea was that we would eventually implement multi-user and perhaps have per-user ACLs on access.
09:46:44 <gjanssens> Ok, that clearly never happened :)
09:46:57 <warlord> clearly.
09:47:10 <warlord> But 20 years ago, I thought it would ;)
09:48:17 <gjanssens> I'm asking as I'm reviewing PR#1075 and there the choice of username seems to suggest to the author that's a less common term to search for. And perhaps due to this relation with logins users may indeed perceive it as a less useful identifier.
09:48:34 <gjanssens> On the other hand, I believe username is a mandatory field, no ?
09:49:16 <gjanssens> I think in the interface I'll suggest to simply go for consistency and use "Name" everyhere rather than company name vs vendor name vs customer name vs username.
09:55:12 *** Derperperd has quit IRC
09:55:24 *** Derperperd has joined #gnucash
10:00:13 *** AstronautSurfer has joined #gnucash
10:00:13 *** ChanServ sets mode: +v AstronautSurfer
10:07:19 *** neoweb has joined #gnucash
10:07:48 *** ChanServ sets mode: +v neoweb
10:08:18 <neoweb> When I post a payment for an invoice to an equity account, it turns the balance negative?
10:16:38 <warlord> This is a Customer Invoice? How (why?) are they paying you in Equity? It should be going to an Asset. NB: Equity is a "reversed" account, so balances are reversed by default.. This means debiting equity would decrease it.
10:16:46 <neoweb> Thanks!
10:17:02 <warlord> Normally you'd use Equity as an Opening Balance, so you credit equity and debit Asset and both "go up"
10:17:12 <neoweb> The tutorial on youtube told me to do it, and I just did what you told me in the end. I don't know why he was moving the stuff to equity.
10:17:23 <warlord> That makes no sense to me.
10:17:27 <neoweb> Yeh I get it now.
10:17:32 <warlord> great
10:17:38 <neoweb> thanks warlord
10:18:31 <warlord> I think it's useful to have XX Name in there. But you could change "Username" to "Employee Name"
10:18:42 <warlord> gjanssens, ^^
10:25:23 <gjanssens> My suggestion would be to change the group name to "XX Identification" and inside the group only use "Name" (and "Number")
10:25:57 <gjanssens> The group name should make it clear that way what name or number we're talking about.
10:26:50 <warlord> THat could work, I guess
10:30:54 *** mikee has quit IRC
10:31:05 *** mikee has joined #gnucash
10:31:25 *** Joc has quit IRC
11:00:14 *** gncbot has joined #gnucash
11:00:40 *** warlord sets mode: +o gncbot
11:01:05 <warlord> sorry about that network blip -- I think my ISP reset the upstream router and it took a few minutes for my equipment to recover.
11:34:05 *** sbluhm has quit IRC
11:47:29 *** jervin has joined #gnucash
11:51:09 *** warlord has quit IRC
11:51:36 *** warlord has joined #gnucash
12:04:19 *** gncbot has joined #gnucash
12:08:48 *** NoobAlice1 has left #gnucash
12:22:07 *** jervin has quit IRC
12:25:00 *** ChanServ sets mode: +qo warlord warlord
12:25:02 *** warlord sets mode: +o gncbot
12:35:30 *** sbluhm has joined #gnucash
12:45:57 *** Jimraehl1 has joined #gnucash
12:46:43 *** Jimraehl1 has quit IRC
13:07:45 *** sbluhm has quit IRC
13:24:46 *** gncbot has joined #gnucash
13:25:04 <fell> Ah, thanks!
13:25:50 *** warlord sets mode: +o gncbot
13:25:57 <warlord> grr....
13:27:36 *** David has quit IRC
13:28:08 *** David has joined #gnucash
13:32:25 *** Joc has joined #gnucash
13:32:25 *** ChanServ sets mode: +v Joc
13:34:02 *** AstronautSurfer has quit IRC
13:44:39 *** mydogsnameisrudy has joined #gnucash
13:55:25 *** AstronautSurfer has joined #gnucash
13:55:25 *** ChanServ sets mode: +v AstronautSurfer
13:59:24 *** mydogsnameisrudy has quit IRC
14:00:04 *** ArtGravity has joined #gnucash
14:00:04 *** ChanServ sets mode: +v ArtGravity
14:04:34 <fell> Now I end in many broken tests by SWIG_Guile_scm2newstr
14:05:55 *** AstronautSurfer has quit IRC
14:15:33 *** Guest62 has quit IRC
14:36:29 *** gncbot has joined #gnucash
14:48:34 *** Joc has quit IRC
14:48:53 *** warlord sets mode: +o gncbot
14:49:41 <gjanssens> fell: it looks like GNC-COMMODITY-NS-CURRENCY is actually a function. So you should use (GNC-COMMODITY-NS-CURRENCY) instead of GNC-COMMODITY-NS-CURRENCY
14:51:21 <gjanssens> If you want to be able to use it straight away that requires more conversion magic in the swig interface files.
14:51:48 <gjanssens> Search for SET_ENUM in engine.i for example to see how that's typically done.
15:04:56 *** Joc has joined #gnucash
15:04:58 *** ChanServ sets mode: +v Joc
15:06:19 <fell> SET_ENUM requires also updates in engine.i on each change. I tried to avoid that.
15:13:16 <gjanssens> fell: np, just use brackets around GNC-COMMODITY-NS-CURRENCY as I suggested first.
15:25:30 *** gncbot has joined #gnucash
15:28:35 *** warlord sets mode: +o gncbot
15:36:20 *** mydogsnameisrudy has joined #gnucash
15:43:52 *** celeste has quit IRC
15:46:08 *** celeste has joined #gnucash
15:46:08 *** ChanServ sets mode: +v celeste
15:48:20 *** mydogsnameisrudy has quit IRC
16:01:18 *** gjanssens has quit IRC
17:32:35 *** gncbot has joined #gnucash
17:35:42 *** ChanServ sets mode: +qo warlord warlord
17:35:44 *** warlord sets mode: +o gncbot
17:35:57 <warlord> Found another bug in my network scripting..
17:39:10 *** jervin has joined #gnucash
17:42:10 <neoweb> /msg NickServ CONFIRM NFaEhHuFW
17:42:22 <neoweb> wtf
17:42:37 <neoweb> its too late hackers
17:42:49 <neoweb> i already confirmed
17:42:49 <neoweb> i am legit now
17:43:41 <warlord> Don't put a space before the slash -- and go change your password now.
17:45:36 *** David has quit IRC
17:45:58 *** David has joined #gnucash
17:52:19 <warlord> jralls, fell, chris -- sorry about the "extended" outage just now.. There was a bug in my script such that if the network dropped it would clear a table, but if it came back with the same upstream mac address it wouldn't put the table back in place... OOPS. So I've updated the script to capture that situation.
17:52:36 <warlord> Alas, I still seem to be having 20-30% packet loss when pulling significant data.
18:06:09 *** warlord has quit IRC
18:06:17 *** warlord has joined #gnucash
18:07:17 *** celeste has joined #gnucash
18:07:17 *** ChanServ sets mode: +v celeste
18:09:30 *** ChanServ sets mode: +qo warlord warlord
18:09:38 <warlord> Dammit -- my magic box is dying when I have heavy bursts of traffic..
18:09:45 <warlord> Need to find a better solution :(
18:36:59 *** jervin has quit IRC
18:42:21 *** waitman- has quit IRC
18:49:27 <neoweb> magic box?
18:49:29 <neoweb> warlord: ?
18:49:36 <neoweb> what is your magicbox?
18:49:51 <neoweb> ahh
18:49:52 <neoweb> https://www.sprint.com/en/shop/services/magic-box.html
18:50:10 <neoweb> no better internet?
18:50:58 <neoweb> Are you having a states problem?
18:51:07 <neoweb> too many states, and the router dies?
18:53:08 *** waitman- has joined #gnucash
19:24:46 *** AstronautSurfer has joined #gnucash
19:24:46 *** ChanServ sets mode: +v AstronautSurfer
19:31:06 *** fell has quit IRC
19:33:40 *** Zombie has left #gnucash
19:35:05 *** fell has joined #gnucash
19:35:05 *** ChanServ sets mode: +o fell
19:36:23 *** chris_ has joined #gnucash
19:36:23 *** gncbot sets mode: +o chris_
19:37:58 *** chris has quit IRC
20:02:42 *** Aussie_matt has joined #gnucash
20:03:00 <warlord> neoweb, sorry, wrong magic box..
20:03:35 <warlord> neoweb, http://blog.0xpebbles.org/Bypassing-At-t-U-verse-hardware-NAT-table-limits
20:45:42 *** AstronautSurfer has quit IRC
20:56:04 *** AstronautSurfer has joined #gnucash
20:56:04 *** ChanServ sets mode: +v AstronautSurfer
20:56:07 *** AstronautSurfer has quit IRC
20:56:29 *** jervin has joined #gnucash
21:04:51 *** ArtGravity has quit IRC
21:14:06 *** User has joined #gnucash
21:22:44 <chris_> fell: I'd add SET_ENUM for consistency with all other enums
21:22:48 *** chris_ is now known as chris
21:24:10 *** jervin has quit IRC
22:23:15 *** User has quit IRC
22:25:19 *** marusich has joined #gnucash
22:25:19 *** ChanServ sets mode: +v marusich
22:53:21 *** AstronautSurfer has joined #gnucash
22:53:21 *** ChanServ sets mode: +v AstronautSurfer
23:04:17 *** AstronautSurfer has quit IRC
23:57:45 *** mikee has quit IRC
23:59:16 *** storyjesse has joined #gnucash
23:59:33 *** mikee has joined #gnucash