2017-11-28 GnuCash IRC logs

00:01:29 *** carwynnelson has joined #gnucash
00:04:33 *** carwynnelson has quit IRC
00:26:07 *** xi has joined #gnucash
00:27:28 <xi> I am trying to get the new alphavantage quotes working. I unchecked the "Get Online Quotes" for all of my stocks in security editor, but the "Get Quotes" button in price editor still gives me "There was an unknown error when retrieving price quotes"
00:27:38 <xi> how can i diagnose the problem?
00:28:08 <xi> I am using 2.6.17
00:28:17 <xi> with F::Q 1.47
00:31:25 *** storyjesse has joined #gnucash
00:32:10 *** Cuare has quit IRC
00:36:12 <xi> Also, gnucash --debug shows nothing in the log file related to quotes
00:42:03 *** Mechtilde has joined #gnucash
01:06:45 *** xi has quit IRC
01:11:24 *** carwynnelson has joined #gnucash
01:14:33 *** carwynnelson has quit IRC
01:31:58 *** fell has quit IRC
01:33:05 *** fell has joined #gnucash
02:03:34 *** Mechtilde has quit IRC
02:08:53 *** warlord has joined #gnucash
02:39:59 *** fekepp has quit IRC
02:46:05 *** carwynnelson has joined #gnucash
02:49:13 *** carwynnelson has quit IRC
02:50:58 *** fabior has joined #gnucash
03:32:50 *** meb has quit IRC
03:34:21 *** fabior has quit IRC
03:35:59 *** meb has joined #gnucash
03:52:20 *** carwynnelson has joined #gnucash
03:55:24 *** carwynnelson has quit IRC
04:03:01 *** carwynnelson has joined #gnucash
04:06:09 *** carwynnelson has quit IRC
04:15:03 *** Mechtilde has joined #gnucash
04:18:44 *** pilotauto has quit IRC
04:22:26 *** bertbob has quit IRC
04:37:47 *** bertbob has joined #gnucash
04:57:50 *** storyjesse has quit IRC
05:17:21 *** carwynnelson has joined #gnucash
05:20:26 *** carwynnelson has quit IRC
05:47:40 *** marusich has quit IRC
05:47:59 *** marusich has joined #gnucash
05:59:35 *** carwynnelson has joined #gnucash
06:02:41 *** carwynnelson has quit IRC
06:13:38 *** carwynnelson has joined #gnucash
06:13:42 *** fabior has joined #gnucash
06:16:47 *** carwynnelson has quit IRC
06:19:31 *** Mechtilde has quit IRC
06:26:38 *** carwynnelson has joined #gnucash
06:27:26 *** Mechtilde has joined #gnucash
06:29:46 *** carwynnelson has quit IRC
06:39:12 *** fabior has quit IRC
06:50:43 *** Jimraehl1 has joined #gnucash
06:53:52 *** fekepp has joined #gnucash
06:55:45 *** meb has quit IRC
06:56:28 *** fabior has joined #gnucash
07:00:56 *** fabior has quit IRC
07:17:36 *** meb has joined #gnucash
07:27:37 *** meb has quit IRC
07:36:12 *** jotrago has joined #gnucash
07:45:47 *** jotrago has quit IRC
07:51:28 *** carwynnelson has joined #gnucash
07:53:32 *** Mechtilde has quit IRC
07:54:36 *** carwynnelson has quit IRC
08:01:39 *** User has joined #gnucash
08:41:15 *** Mechtilde has joined #gnucash
08:55:11 *** User has quit IRC
09:07:53 *** KaiForce has joined #gnucash
09:11:14 <KaiForce> Is it possible to run the account summary by year?
09:50:11 *** fabior has joined #gnucash
10:32:54 *** Mechtilde has quit IRC
10:38:26 *** kael has joined #gnucash
10:48:34 *** kael has quit IRC
10:50:49 *** warlord has quit IRC
11:01:12 *** marusich has quit IRC
11:24:47 *** carwynnelson has joined #gnucash
11:28:00 *** carwynnelson has quit IRC
11:57:24 *** Mechtilde has joined #gnucash
12:04:13 *** fekepp has quit IRC
12:23:30 *** carwynnelson has joined #gnucash
12:26:34 *** carwynnelson has quit IRC
13:12:42 *** warlord has joined #gnucash
13:14:16 <Mechtilde> hello where can I find a crash report when gnucash crashes
13:16:34 <Mechtilde> it crashes when I try to import a csv
13:29:13 *** carwynnelson has joined #gnucash
13:32:20 *** carwynnelson has quit IRC
13:37:13 *** warlord has quit IRC
14:03:36 *** fabior has quit IRC
14:06:18 <lmat> Mechtilde: Sorry, I don't know.
14:06:29 <lmat> Does 'utest' in some of our test filenames mean "micro-test"?
14:09:49 <Mechtilde> no idea
14:11:45 <lmat> I need another set of eyes... I made the following changes to utest-Budget.c: http://sprunge.us/DNEK
14:11:51 <lmat> (just some trace messages).
14:12:07 <lmat> From reading the code (since "budget" is a local), I would expect all of them to print the same thing.
14:12:10 <lmat> they don't.
14:13:26 <lmat> The output is: http://sprunge.us/eWPO
14:36:53 <jralls> Mechtilde: The only OS that makes crash reports by itself is MacOS. Otherwise you need to run GC in a debugger and get a stack trace when it crashes.
14:37:27 <Mechtilde> therefore I need more help
14:37:36 <Mechtilde> I have no idea to do it
14:37:45 <jralls> lmat: 'utest" == "unit test". I used that for unit test files that use the glib test framework.
14:38:11 <jralls> Mechtilde: Are you on Linux and can you build GnuCash from source?
14:38:30 <Mechtilde> I'm on debian
14:38:44 <Mechtilde> but I never build gnucash from source
14:39:02 <Mechtilde> I have no experience to compile source code
14:39:28 <Mechtilde> so mybe some one else can reproduce it
14:41:03 <jralls> Mechtilde: Did you look in the tracefile to see if there's a relevant log message?
14:41:41 <Mechtilde> how can I look into tracefile
14:41:55 <jralls> Mechtilde: OTOH gjanessens rewrote the CSV importer for 2.8 so there's not a lot of motivation to fix the many problems in the old one.
14:42:41 <jralls> Mechtilde: https://wiki.gnucash.org/wiki/Tracefile
14:42:48 <Mechtilde> so it may be better to wait
14:43:45 <jralls> Mechtilde: Maybe. Or maybe you just told it a date in the wrong format or something. Take a look at the trace file for clues.
14:44:04 <Mechtilde> I will try it
14:45:16 <Mechtilde> and now it doesn't crash :(
14:46:49 <jralls> Mechtilde: Someone reported on gnucash-user recently that they got a crash by telling the importer the wrong date format. If you made a mistake the first time and not the second it might well not crash.
14:50:14 <Mechtilde> I did the same as several times before
14:51:20 <jralls> Mechtilde: Dunno, then. Schrödinger's cat?
14:51:35 <Mechtilde> It seems so
14:51:43 <jralls> lmat: Looks like the stack is getting corrupted. What's segfaulting?
14:53:45 <Mechtilde> jralls, thanks for your help
14:54:05 <jralls> Mechtilde: NP
14:59:33 *** Mechtilde has quit IRC
15:12:10 *** carwynnelson has joined #gnucash
15:14:15 <lmat> jralls: different things at different times.
15:14:21 <lmat> jralls: Yeah, stack corruption. hmm
15:14:32 <lmat> jralls: You know...I am printing to strings in place. perhaps that's the problem
15:14:44 <lmat> I mean, I stepped through and it looked okay, but it may be overflowing.
15:14:47 *** ArtGravity has joined #gnucash
15:15:31 <lmat> GUID_ENCODING_LENGTH...I should probably be doing GUID_ENCODING_LENGTH+1
15:16:23 <jralls> lmat: GUID_ENCODING_LENGTH? Did you do a context switch without saying?
15:18:39 <lmat> jralls: heh. I do gchar path [GUID_ENCODING_LENGTH]; and I'm going to change it to gchar path [GUID_ENCODING_LENGTH + 1];
15:20:00 <jralls> OK, but where are you doing that? It's not part of the snippet you posted, nor the gnc_budget test, nor gnc_budget_set_account_period_value. Your snippet doesn't print guids.
15:21:02 <lmat> jralls: It's in my pull request for branch fix_bayes.
15:24:15 <jralls> lmat: Maybe you could temporarily switch to g_strdup_printf instead of fixed-size buffers.
15:25:34 *** kael has joined #gnucash
15:29:27 *** kael has quit IRC
15:31:06 *** reactormonk has joined #gnucash
15:31:28 <reactormonk> I somehow managed to produce a Bilanz which has mismatching activa and passiva... how do I go hunting?
15:32:01 <lmat> jralls: yeah, that would help diagnose the problem.
15:37:51 <jralls> reactormonk: Unbalanced by the Balance Sheet Report?
15:38:02 <reactormonk> jralls, yeah
15:39:01 <jralls> reactormonk: Then run the Balance Sheet report for different days in the past until you find the one where it went out of balance. Then you need look only at that day's transactions.
15:41:42 <reactormonk> jralls, I have USD and CHF in the sheets, transaction rates are per booking?
15:41:54 <reactormonk> "booking" is the proper term here?
15:41:57 <reactormonk> transaction.
15:44:04 <jralls> reactormonk: Each split has an amount in its account's currency and a value in the transaction's currency, where the latter is determined by the register you created the transaction in.
15:44:23 <jralls> So if it's a USD register the transaction currency is USD.
15:44:49 <reactormonk> But the total account of activa vs. passiva should still remain in balance?
15:45:07 <reactormonk> Or is it possible to bring them out of balance with a transaction USD -> CHF?
15:45:23 <jralls> Yes, the operant word being "should".
15:46:14 <jralls> It's possible to get them out of balance by having splits in a transaction with different ratios between USD and CHF.
15:46:24 <jralls> Do you use Trading Accounts?
15:52:13 *** KaiForce has quit IRC
15:56:34 *** reactormonk has quit IRC
16:08:07 *** tass has joined #gnucash
16:08:51 <tass> jralls, no trading accounts IIRC. But I have a few splits where I split off transaction costs for sending the money around. These might incur these balances.
16:08:58 *** tass is now known as reactormonk
16:09:50 <reactormonk> Is there a better way to enter splits? They're currently rather clunky...
16:10:16 <jralls> tass: You'd know if you used trading accounts, they show up on your Accounts page. You might consider switching, it reportedly makes multi-currency transactions more manageable.
16:11:37 <jralls> As for an easier way to do splits, I guess it depends on how you're doing them. Multi-currency is going to be more difficult than single currency; there's no way around that other than keeping separate books in each.
16:13:25 <reactormonk> So reenter these transactions?
16:13:47 <reactormonk> ... after enabling trading accounts
16:13:49 <jralls> Have you found the ones that are out-of-balance?
16:16:07 <reactormonk> I think pretty much all of them :-/
16:16:14 <jralls> IIRC you don't have to re-enter transactions after turning on trading accounts, just edit them. The rebalancing code calls the trading account code.
16:17:58 <reactormonk> Nice, I can just click on them
16:18:17 *** luc14n01 has joined #gnucash
16:26:12 *** luc14n01 has left #gnucash
16:26:22 *** luc14n01 has joined #gnucash
16:28:04 *** luc14n01 has quit IRC
16:28:53 *** luc14n01 has joined #gnucash
16:29:58 *** luc14n01 has quit IRC
16:32:47 *** bertbob has quit IRC
16:34:01 *** luc14n01 has joined #gnucash
16:36:30 *** luc14n01 is now known as luc14n0_
16:37:10 *** pilotauto has joined #gnucash
16:48:04 *** bertbob has joined #gnucash
16:51:16 *** bertbob has quit IRC
17:00:31 *** reactormonk has quit IRC
17:07:25 *** bertbob has joined #gnucash
17:18:40 *** carwynnelson has quit IRC
17:41:16 *** carwynnelson has joined #gnucash
17:48:55 *** carwynnelson has quit IRC
18:49:54 *** O01eg has quit IRC
19:02:53 *** O01eg has joined #gnucash
19:26:04 *** ArtGravity has quit IRC
20:12:02 *** xi has joined #gnucash
20:18:24 *** kael has joined #gnucash
22:22:38 *** luc14n0_ has left #gnucash
22:46:02 *** O01eg has quit IRC
23:07:00 *** O01eg has joined #gnucash
23:43:26 *** xi has quit IRC
23:45:35 *** warlord has joined #gnucash
23:49:11 *** xi has joined #gnucash
23:49:34 *** bertbob has quit IRC
23:53:33 *** bertbob has joined #gnucash
23:56:38 *** bertbob has quit IRC