2021-11-25 GnuCash IRC logs

00:17:53 *** bertbob has quit IRC
00:22:43 *** bertbob has joined #gnucash
00:22:43 *** ChanServ sets mode: +v bertbob
01:21:41 *** frakturfreak1 has quit IRC
01:31:16 *** sbluhm has joined #gnucash
01:36:10 *** frakturfreak1 has joined #gnucash
01:41:48 *** cskr has quit IRC
01:57:29 *** fell has quit IRC
01:58:51 *** fell has joined #gnucash
01:58:51 *** ChanServ sets mode: +o fell
02:42:47 *** Bambuzel has joined #gnucash
02:42:48 *** ChanServ sets mode: +v Bambuzel
02:42:56 *** Bambuzel has quit IRC
02:43:29 *** Bambuzel has joined #gnucash
02:43:29 *** ChanServ sets mode: +v Bambuzel
03:23:52 *** Unhammer has joined #gnucash
03:48:31 *** gjanssens has joined #gnucash
03:48:31 *** ChanServ sets mode: +o gjanssens
03:59:09 *** frakturfreak1 has quit IRC
04:13:10 *** frakturfreak1 has joined #gnucash
04:54:41 *** Hamaryns has joined #gnucash
04:54:42 *** ChanServ sets mode: +v Hamaryns
05:11:49 *** User has joined #gnucash
05:51:00 <gjanssens> .
05:51:19 *** tomk_dk has joined #gnucash
06:00:41 *** Hamaryns has quit IRC
06:01:55 *** Aussie_matt has joined #gnucash
06:02:42 *** Hamaryns has joined #gnucash
06:02:42 *** ChanServ sets mode: +v Hamaryns
06:34:43 *** Hamaryns has quit IRC
06:46:46 *** Hamaryns has joined #gnucash
06:46:46 *** ChanServ sets mode: +v Hamaryns
06:53:13 *** Hamaryns has quit IRC
07:27:23 <chris> dynamic Txn_type works for me... if txn has split whose lot->invoice->posting_txn == split->account then conclude TXN_TYPE_INVOICE otherwise TXN_TYPE_PAYMENT. works well. fails tests.
07:51:10 *** alt_mikee has joined #gnucash
07:51:47 *** mikee has quit IRC
08:03:25 *** storyjesse has joined #gnucash
08:15:30 *** mva has quit IRC
08:32:31 *** Aussie_matt has quit IRC
08:57:38 *** Jimraehl1 has joined #gnucash
09:13:24 *** mva has joined #gnucash
09:14:43 <chris> CDB-Man: ive pushed ifrs report into nightlies. next flatpak or win32 daily will have it.
09:17:38 *** David has quit IRC
09:19:46 *** gjanssens has quit IRC
09:20:42 *** gjanssens has joined #gnucash
09:20:42 *** ChanServ sets mode: +o gjanssens
10:33:08 *** User has quit IRC
10:42:33 *** sbluhm has quit IRC
10:42:55 *** storyjesse has quit IRC
10:57:33 *** Bambuzel has quit IRC
11:33:16 *** fredrik_ has joined #gnucash
12:03:18 *** Bambuzel has joined #gnucash
12:03:18 *** ChanServ sets mode: +v Bambuzel
12:03:19 *** Bambuzel1 has joined #gnucash
12:03:19 *** ChanServ sets mode: +v Bambuzel1
12:30:00 *** Bambuzel1 has quit IRC
12:30:00 *** Bambuzel has quit IRC
12:40:46 *** Mechtilde has joined #gnucash
12:53:39 *** kcin has joined #gnucash
13:12:20 *** field^Zzz4 has joined #gnucash
13:33:44 *** sbluhm has joined #gnucash
13:41:31 *** Hamaryns has joined #gnucash
13:41:31 *** ChanServ sets mode: +v Hamaryns
14:55:54 *** User has joined #gnucash
15:08:53 *** gjanssens has quit IRC
15:37:44 *** Hamaryns has quit IRC
15:39:26 *** User has quit IRC
16:01:29 *** ChanServ sets mode: +v fredrik_
16:01:38 *** tomk_dk has quit IRC
16:04:28 *** sbluhm has quit IRC
16:06:41 <fredrik_> Hello. I am still building my docker container, and it is very close to be finished. But during my testing I am getting an error when cron runs the gnucash-cli -Q command. The error message says "File is locked, won't open". This ONLY happens when i do not open the database with gnucash on my pc.
16:06:50 <fredrik_> if I have to open GnuCash on my pc in between the price fetching, this will not be a real world problem. but if i can avoid that error i would like to
16:09:13 <fredrik_> the full command i run in my testing is gnucash-cli --debug --logto /debug.log -Q get postgres://${DB_USER}:${DB_PASSWORD}@${DB_ADDRESS}:${DB_PORT}/${DB_DATABASE}
16:14:05 <jralls> frederik_ That's on the *second* run by cron, right? After the first run do you get the locked-file dialog when you run the GnuCash GUI?
16:15:58 <fredrik_> second run indeed
16:16:31 <fredrik_> no. not a locked dialog
16:17:21 <fredrik_> if i just open the GUI and close it. the next cron works fine
16:18:11 <fredrik_> it will not be a real world problem, as I intend to run it in the middle of the night 1-2 times a week
16:18:57 <jralls> It's still strange. Does it happen if you run gnucash-cli twice from outside of the Docker container?
16:19:18 <fredrik_> let me test
16:24:13 <fredrik_> outside of container works fine. if I run the command manually inside the container it works fine. only when crontab runs it the issue appears
16:27:21 <jralls> Even stranger. Does the postgres log show anything useful?
16:29:35 *** alt_mikee has quit IRC
16:30:34 *** mikee has joined #gnucash
16:32:02 <jralls> Or any docker logs? Does the same thing happen when you have cron run gnucash-cli from outside the container?
16:32:26 *** CDB-Man has quit IRC
16:34:26 *** CDB-Man has joined #gnucash
16:34:26 *** ChanServ sets mode: +v CDB-Man
16:35:48 <fredrik_> will try to cron outside of docker. didnt find anything of interest in the postgres logs
16:47:29 <fredrik_> now i can't get the error inside the container anymore. it seems to have fixed itself somehow... for now. going to monitor it a little bit more before bedtime
16:48:11 <jralls> I take it you weren't able to get it to fail from cron outside of the container.
16:48:23 <fredrik_> nope
16:53:29 *** Mechtilde has quit IRC
17:23:11 *** kcin has quit IRC
17:59:41 *** TwinSteel has joined #gnucash
18:01:12 *** TwinSteel has quit IRC
18:02:54 *** TwinSteel has joined #gnucash
19:05:54 *** jralls has quit IRC
19:38:25 <fell> fredrik_ Calling Gnucash by cron needs a dbus connection.
19:41:37 <fell> CHRIS: commit 502ad36 is very speific: I have no "USD Cash","USD Commissions" …
20:02:22 <chris> fell- these accounts only in the test-ifrs.scm file
20:09:53 <fell> ah,right! And the (G_, (N_ … in the report will follow after the concept is finished?
20:33:22 <chris> probably yes
20:49:26 *** field^Zzz4 has quit IRC
21:42:22 *** Pegasus_RPG has quit IRC
21:55:15 *** CDB-Man has quit IRC
21:57:45 *** CDB-Man has joined #gnucash
21:57:45 *** ChanServ sets mode: +v CDB-Man
22:14:15 *** bertbob has quit IRC