2020-10-10 GnuCash IRC logs

00:13:41 *** hussam has joined #gnucash
00:13:41 *** ChanServ sets mode: +v hussam
01:13:51 *** Mechtilde has joined #gnucash
01:18:21 *** sbluhm has joined #gnucash
01:25:35 *** fell has quit IRC
01:25:44 *** fell has joined #gnucash
01:25:44 *** ChanServ sets mode: +o fell
01:27:34 *** Mechtilde has quit IRC
01:51:42 *** Mechtilde has joined #gnucash
01:51:43 *** fell_laptop has joined #gnucash
01:51:43 *** ChanServ sets mode: +o fell_laptop
01:53:46 *** fell has quit IRC
02:00:20 *** sbluhm has quit IRC
02:16:25 *** jervin has quit IRC
02:16:39 *** jervin has joined #gnucash
02:19:12 *** fell_laptop is now known as fell
02:19:25 *** Mechtilde has quit IRC
02:20:46 *** bertbob has joined #gnucash
02:20:47 *** ChanServ sets mode: +v bertbob
02:35:25 *** Mechtilde has joined #gnucash
02:37:42 *** sbluhm has joined #gnucash
02:42:35 *** frakturfreak has joined #gnucash
02:42:35 *** ChanServ sets mode: +v frakturfreak
03:13:55 *** Mechtilde has quit IRC
03:19:33 *** hussam has quit IRC
03:25:42 *** Mechtilde has joined #gnucash
03:36:11 *** sbluhm has quit IRC
04:08:50 *** hussam has joined #gnucash
04:08:50 *** ChanServ sets mode: +v hussam
04:11:52 *** sbluhm has joined #gnucash
04:11:52 *** ChanServ sets mode: +v sbluhm
04:26:55 *** Mechtilde has quit IRC
04:28:12 *** Mechtilde has joined #gnucash
04:29:26 *** gjanssens has joined #gnucash
04:29:26 *** ChanServ sets mode: +o gjanssens
04:32:06 *** sbluhm has quit IRC
04:39:38 <gjanssens> .
04:46:59 *** Aussie_matt has joined #gnucash
04:51:57 *** Aussie_matt has quit IRC
05:11:11 *** Aussie_matt has joined #gnucash
05:16:53 *** vuamw has joined #gnucash
05:18:01 <vuamw> hi, I'm trying to make forecasts for my business. I'd like to add a scheduled transaction for taxes. I see I can user formulas written in scheme, which is cool, but is it possible to feed as an argument the current balance/something like that?
05:26:55 *** Mechtilde has quit IRC
05:27:16 *** fabior has joined #gnucash
05:30:52 *** vuamw has quit IRC
05:40:41 *** User has joined #gnucash
05:43:50 *** vuamw has joined #gnucash
05:46:48 *** Mechtilde has joined #gnucash
05:52:12 *** storyjesse has quit IRC
06:12:27 *** mib_lox80x has joined #gnucash
06:17:49 *** hussam has quit IRC
06:18:45 <mib_lox80x> Hi there! Is there a trick to get the ABWA+ subfiled imported from MT940 files as well?
06:18:57 *** hussam has joined #gnucash
06:18:57 *** ChanServ sets mode: +v hussam
06:19:44 *** hussam has quit IRC
06:20:34 *** hussam has joined #gnucash
06:20:34 *** ChanServ sets mode: +v hussam
06:29:27 *** sbluhm has joined #gnucash
06:29:27 *** ChanServ sets mode: +v sbluhm
07:01:19 *** Herbert has joined #gnucash
07:06:11 *** sbluhm has quit IRC
07:07:25 *** Mechtilde has quit IRC
07:22:09 *** fabior has quit IRC
07:46:23 <chris> gjanssens: I'm reading through window-autoclear.c - nice algorithm. it can be made more efficient with g_list_prepend instead of g_list_append. Still, it fails if there are >20 uncleared splits: takes far too long.
07:48:19 <chris> over the years I've only discovered it now
08:02:02 *** sbluhm has joined #gnucash
08:02:02 *** ChanServ sets mode: +v sbluhm
08:12:31 *** sbluhm has quit IRC
08:23:16 *** sbluhm has joined #gnucash
08:27:03 *** Mechtilde has joined #gnucash
08:30:40 *** kitobar has joined #gnucash
08:33:36 <kitobar> Greetings, first time to the channel. Unable to load a custome report. Followed the steps at https://wiki.gnucash.org/wiki/Custom_Reports. Any well known gotchas on Windows when creating a new config-user.scm and adding a new report?
08:38:58 <warlord> kitobar, what error(s) are given? Check your Tracefile
08:40:17 <warlord> vuamw, sorry, no, there is no current-balance function. It's an oft-requested feature.
08:55:55 *** Mechtilde has quit IRC
08:56:12 *** Mechtilde has joined #gnucash
09:00:06 *** Jimraehl1 has joined #gnucash
09:14:55 <kitobar> warlord, got it. Thanks for the tip. Was failing due to unrecognized menu name. gnc:menuname-utility
09:17:52 <kitobar> By the way, in gnucash.cpp load_user_config( ) : why is the is_user_config_loaded flag set to TRUE before the routine actually executes the code to load the files?
09:38:39 <gjanssens> kitobar: the variable name is poorly chosen. The function of loading a user config file is meant to be run only once. That variable only serves to indicate the function was called once.
09:39:24 <gjanssens> Whether that's set at the beginning or the end of the function is not really relevant as there are no further branches in the function that could affect the value of the variable.
09:40:06 <gjanssens> chris: I don't think I've ever really studied window-autoclear.c :)
09:51:01 *** sbluhm has quit IRC
09:51:25 *** vuamw has quit IRC
09:59:06 *** Aussie_matt has quit IRC
10:00:19 *** David has quit IRC
10:00:24 *** David has joined #gnucash
10:07:06 *** sbluhm has joined #gnucash
10:07:06 *** ChanServ sets mode: +v sbluhm
10:26:54 *** Agfarmer18 has joined #gnucash
10:31:33 *** Agfarmer18 has quit IRC
10:50:21 *** vuamw has joined #gnucash
10:54:21 *** vuamw has quit IRC
11:06:15 *** fell has quit IRC
11:06:34 *** fell has joined #gnucash
11:06:34 *** ChanServ sets mode: +o fell
11:16:30 *** kitobar has quit IRC
11:16:39 *** kitobar has joined #gnucash
11:18:07 *** Herbert has joined #gnucash
11:18:26 *** Herbert has quit IRC
11:19:39 *** kitobar has quit IRC
11:22:22 *** jervin has joined #gnucash
11:25:42 *** kitobar has joined #gnucash
11:40:26 *** kitobar has quit IRC
11:45:20 *** sbluhm has quit IRC
11:52:08 *** sbluhm has joined #gnucash
11:52:08 *** ChanServ sets mode: +v sbluhm
12:01:40 *** vuamw has joined #gnucash
12:02:37 *** sbluhm has quit IRC
12:09:15 *** sbluhm has joined #gnucash
12:09:15 *** ChanServ sets mode: +v sbluhm
12:09:25 *** Mechtilde has quit IRC
12:09:50 *** mrhallway has joined #gnucash
12:27:18 *** Mechtilde has joined #gnucash
12:31:45 *** sbluhm has quit IRC
12:35:41 *** sbluhm has joined #gnucash
12:35:41 *** ChanServ sets mode: +v sbluhm
12:45:40 <jralls> warlord, jean laroche asked for you to review https://github.com/Gnucash/gnucash/pull/682 which would make the account balance available to SX formulas.
13:13:32 *** jervin has quit IRC
13:13:40 *** jervin has joined #gnucash
13:27:20 *** jervin has quit IRC
14:01:51 *** vuamw has quit IRC
14:07:34 *** vuamw has joined #gnucash
14:10:49 *** vuamw has quit IRC
14:13:19 *** David has quit IRC
14:13:25 *** David has joined #gnucash
14:28:18 *** User has quit IRC
14:31:24 *** Mechtilde has quit IRC
14:39:44 *** Mechtilde has joined #gnucash
15:18:15 *** Sarah has joined #gnucash
15:26:07 *** kitobar has joined #gnucash
15:27:24 <Sarah> I'm trying to figure out why Gnucash isn't displaying the value of my mutual funds using the most recent prices fetched online. It's only an issue for funds that are fetched in a foreign currency, even though I'm also fetching the conversion rate. In these cases it is using the price from the last transaction entered in local currency. What am I missing?
15:30:48 <m3b> ello, warlord you round bud?
15:41:05 *** jervin has joined #gnucash
15:43:58 <m3b> hi
15:44:24 *** kitobar has quit IRC
15:46:31 *** kitobar has joined #gnucash
15:47:08 *** jw4 has quit IRC
15:47:58 <m3b> hi jervin; warlord helped me out... you know which timezone he's in?
15:48:27 *** jw4 has joined #gnucash
15:48:27 *** ChanServ sets mode: +v jw4
15:50:04 <m3b> hi
15:50:06 <m3b> welcome
15:50:16 <jralls> m3b, warlord is in Atlanta.
15:50:41 *** sbluhm has quit IRC
15:51:14 <m3b> ah,
15:51:36 <m3b> wyoming so 2/hour's different... got a much more simpler question ;)
15:53:04 <jralls> Sarah, if GnuCash can find a direct price it will prefer that to one that requires a second exchange rate.
15:54:07 <jralls> The simplest fix would be to convert the purchase price into the currency the funds are priced in. You needn't change the buy transaction, just edit the price.
15:55:05 *** fell_laptop has joined #gnucash
15:55:05 *** ChanServ sets mode: +o fell_laptop
15:55:06 *** fell has quit IRC
15:55:09 *** fell_laptop is now known as fell
15:55:13 <jralls> Sarah, Also make sure that all foreign-currency securities are parented by an Asset account in that currency. That's how GnuCash knows what currency the prices are supposed to be in.
15:56:21 <jralls> m3b, a lot of us are logged in to the channel continuously even if we're afk, and we're all pretty bad at changing our nicks to indicate being afk.
15:56:53 *** gjanssens has quit IRC
15:57:22 <Sarah> My transactions are in CAD, but some of the funds are only quoted in US. So if I create a parent asset account for the US funds can the transactions still be correctly recorded in CAD?
15:58:00 <m3b> yup either leave your clients up; a screen'd shell, or uhh forget the name it's like a old egg bot but it's named something else i can't member
15:59:25 <jralls> Sarah, you and CDB-Man_ should talk. He's in the same boat.
15:59:39 <m3b> my question; i thought i was going to have to edit the main invoice file; which warlord helped me track down; i got the image i want placed "just using a 8.5" x 11" image with the logo in the top left; now i'm wondering about locking the invoice header information. meaning logo on the left; then locking in the choices of what data is listed on the right colum
16:00:23 <jralls> Sarah, also see https://bugs.gnucash.org/show_bug.cgi?id=797796 which is an excrutiatingly long discussion about how to correctly handle that.
16:00:45 <m3b> i'll post a screen shot to what i'm saying to imgru here in a few minutes
16:01:05 <jralls> m3b, good
16:01:19 <jralls> 'cause I'm not sure I understand what you mean by lock.
16:01:19 *** kitobar has quit IRC
16:06:12 <m3b> this is what i want https://i.imgur.com/ENXjdSX.jpg
16:07:26 <m3b> when i jusst print it this is what i get https://i.imgur.com/Qj3PxLO.jpg
16:08:19 <jralls> IIUC the "info on the right' means your company name, address, etc. That's all set in the business info of File>Properties.
16:09:36 *** kitobar has joined #gnucash
16:10:01 <jralls> Oh, responded too fast. So I guess what you have in business info is showing up on the left and the stuff on the right is part of the logo or maybe set in the style sheet.
16:10:11 <m3b> yes, if i remove those in the properties section; all other documents will need the same logo setup
16:10:14 <m3b> i'll try one sec
16:13:33 <m3b> is company info was removed from properties and this is the result
16:13:34 <m3b> https://i.imgur.com/9TbNHdF.jpg
16:13:37 <m3b> hrmm....
16:14:25 <jralls> So where's that stuff about G&G Mechanic Shop coming from?
16:14:42 <jralls> Is that the client?
16:15:00 <m3b> yup
16:15:39 <m3b> i'm not smart; i'm lucky i know bout puters quite a bit...
16:15:55 <jralls> So you probably do want that, you just need to make some more room in the stylesheet for the logo.
16:17:09 <m3b> i wanted to place the logo w/ addie; so warlord gave me the dir path to the file; i looked through and it says it auto generates each time; so i decided to put the logo in the background that repeats but i set a 8.5X11' image that took care of that; but now i can't seem to lock in the header choices
16:18:14 <m3b> this is what i don't want https://i.imgur.com/BohFfzT.jpg
16:19:24 <jralls> Have you tried messing with the stylesheets in Edit>Stylesheets?
16:19:46 <m3b> and this is what i want https://i.imgur.com/BohFfzT.jpg
16:19:54 <m3b> yes, but i have to switch it each time
16:19:55 <m3b> https://i.imgur.com/CBzVwOD.jpg
16:20:23 <m3b> i read that one might be able, *i've tried* to change the default style sheet; by renaming it and saving it over
16:21:07 *** Mechtilde has quit IRC
16:24:05 <m3b> reading https://www.gnucash.org/docs/v4/C/gnucash-help/busnss-ar-invoices1.html
16:25:12 <jralls> But the dialog in BohFfzt.jpg says you're using the Easy stylesheet. Editing the Default one won't change anything if you don't use it in the report.
16:27:12 <jralls> Another thought, since you're a web designer: The export button will write out the html to a file of your choice so you can examine it, in particular for style classes and ids. With that you can fiddle the CSS with either the CSS stylesheet or the entry at the bottom of the layout page on the invoice options dialog.
16:28:23 <jralls> Unfortunately the documentation trails the development, sometimes by many years.
16:29:27 <m3b> oh ya, but you can't beat opensource
16:33:51 <m3b> k, i changed the default; it shows the css information so i copied that... one sec
16:38:44 *** JayC has quit IRC
16:39:28 *** sbluhm has joined #gnucash
16:39:28 *** ChanServ sets mode: +v sbluhm
16:41:53 <m3b> hrmm in the reports menu; it gives the printable invoice / fancy and so on... i just cant or it won't let me save it. it launches a window with the name of the layout and fancy and two other invoices...
16:43:13 *** sbluhm has quit IRC
16:45:45 <jralls> Um, perhaps you misunderstood me. Stay with the Printable Invoice. In its options on the General tab is a dropdown labelled stylesheet with which you can select a stylesheet to apply to the report.
16:46:39 <jralls> The next-to-last image you posted showed the options dialog open on the General tab and the Easy stylesheet selected.
16:46:56 <jralls> BIAB.
16:47:15 <m3b> ok
16:47:34 <m3b> thankie i will try 2-5min; i'm a aspie doesn't excuse being dumb
16:47:35 <m3b> ;)
16:50:23 *** kitobar has quit IRC
16:50:26 *** kitobar has joined #gnucash
16:53:26 *** kitobar has quit IRC
16:58:39 *** kitobar has joined #gnucash
17:02:07 *** mrhallway has quit IRC
17:09:32 <jralls> m3b, I'm back. Have you made progress?
17:27:03 *** storyjesse has joined #gnucash
17:53:55 *** vuamw has joined #gnucash
17:57:45 *** Herbert has joined #gnucash
18:06:18 *** o01eg has quit IRC
18:26:33 *** Sarah has quit IRC
18:55:55 *** vuamw has quit IRC
19:27:38 <chris> m3b: the invoice has custom CSS to assist positioning your elements. you'll need to experiment to find your ideal layout.
19:49:18 *** kitobar has left #gnucash
19:56:00 *** Aussie_matt has joined #gnucash
20:26:21 *** Aussie_matt has quit IRC
20:37:47 *** mib_lox80x has quit IRC
21:08:04 *** tonysoar has joined #gnucash
21:14:53 <chris> jralls: e13b58646cbb86cf3ac45605e2c474bc4120e5de is confusing - it uses g_str_hash on d1 which is a double
21:15:06 <chris> (doesn't break functionality though)
21:16:55 <chris> (would like a reminder how to dump PINFO messages on this particular file only)
21:18:46 <chris> (also this knapsack algorithm does a lot of early 'return;' without g_freeing lists)
21:18:56 <warlord> jralls, I will take a look, but probably not for a couple days. I'm working on unpacking my office so right now I'm surrounded by a sea of boxes and papers that need to be emptied and filed away.
21:19:19 <chris> warlord: you're always on the move :)
21:19:27 <jralls> chris, you can't get that one file, its log domain is gnc.gui. So you can say --log gnc.gui=info and that will dump infos for all of the files that use that log module, which is a lot.
21:19:44 <warlord> m3b, sorry, I was offline. I am ostensibly in US/ET, but I've been AFK in order to work on unpacking.
21:20:22 <jralls> warlord, it's been months so no rush. I just mentioned it because you told a user that we don't have that capability.
21:20:22 <chris> jralls: re: logging - that's ok -- i've coped by s/PINFO/printf
21:21:43 <jralls> chris, for quick debugging that's often easiest.
21:23:41 <jralls> Unfortunately I don't remember why I changed the hash type.
21:23:55 <warlord> Well, currently we don't ;)
21:24:31 <warlord> Anyways, I need to go away again. filed away the paperwork I wanted to do today; tons more to do tomorrow.
21:24:53 <fell> I just saw in old announcements links to https://www.gnucash.org/pub/gnucash/, but that doesn't exist, but I found them at https://sourceforge.net/projects/gnucash/files/OldFiles/
21:24:55 <jralls> And I'm called to dinner.
21:25:24 *** jervin has quit IRC
21:25:29 <fell> Should we somehow redirect?
21:26:03 <chris> jralls: g_str_hash was for old glib. OP was using g_str_hash(gnc_numeric_to_string(...)) which was more correct. funny the functionality is still ok.
21:26:49 *** jervin has joined #gnucash
21:27:01 *** jervin has quit IRC
22:00:50 *** storyjesse has quit IRC
22:05:29 *** TownsendHardware has quit IRC
22:33:20 *** fell has quit IRC
22:33:27 *** fell has joined #gnucash
22:33:27 *** ChanServ sets mode: +o fell
22:44:33 *** tonysoar has quit IRC
22:46:30 *** chris has quit IRC
22:49:45 *** chris has joined #gnucash
22:49:45 *** ChanServ sets mode: +v chris
22:49:49 *** gncbot sets mode: +o chris
23:20:22 *** jervin has joined #gnucash
23:20:53 *** jervin has quit IRC
23:34:01 *** fell has quit IRC
23:34:40 *** fell has joined #gnucash
23:34:40 *** ChanServ sets mode: +o fell