2016-10-27 GnuCash IRC logs

00:00:45 <Elitism> If I'm a company that pays the power bill, is that accounts payable or expenses?
00:49:53 *** mlncn has quit IRC
01:09:15 *** warlord has joined #gnucash
01:09:15 *** gncbot sets mode: +o warlord
01:21:35 *** cyphase has quit IRC
01:31:44 *** cyphase has joined #gnucash
02:06:19 *** jethrogb has joined #gnucash
02:24:34 *** iliv has joined #gnucash
03:16:38 *** gjanssens has joined #gnucash
03:16:38 *** ChanServ sets mode: +o gjanssens
03:22:55 *** gour has joined #gnucash
03:24:56 *** fabior has joined #gnucash
03:40:12 *** fabior has quit IRC
04:29:16 *** fabior has joined #gnucash
04:32:13 *** fabior has quit IRC
04:43:08 *** jwhitmore has joined #gnucash
04:51:12 *** wget has quit IRC
04:51:20 *** wget has joined #gnucash
04:53:44 *** Elitism has quit IRC
05:09:51 <jwhitmore> Trying to look into pagination of Invoices output to a file. Built latest from git repo and getting errors generating a printable Invoice. I've signed up for the dev mailing list so when that comes through I'll post outputs there. Mean time any advice on pagination?
05:42:22 *** harlan has left #gnucash
05:54:52 <mikee> jwhitmore: There's a bug report at https://bugzilla.gnome.org/show_bug.cgi?id=693363
05:55:32 <mikee> Which explains why it's difficult to solve and a possible workround.
06:34:57 *** Artefact2 has quit IRC
06:40:18 *** fabior has joined #gnucash
06:43:57 *** Artefact2 has joined #gnucash
06:46:03 *** Artefact2 has quit IRC
06:53:09 *** fabior has quit IRC
07:02:16 *** Jimraehl1 has joined #gnucash
07:02:32 *** Jimraehl1 has quit IRC
07:03:03 *** iliv has quit IRC
07:13:06 *** Jimraehl1 has joined #gnucash
08:09:39 *** mikee is now known as mikee_afk
08:13:22 *** mikee_afk has quit IRC
08:35:00 *** iliv has joined #gnucash
08:49:45 *** fabior has joined #gnucash
08:57:42 *** jonas has quit IRC
08:58:40 *** jonas has joined #gnucash
08:59:09 *** jonas has joined #gnucash
08:59:57 *** mlncn has joined #gnucash
09:20:11 *** mikee_afk has joined #gnucash
09:20:13 *** mikee_afk is now known as mikee-afk
09:20:14 *** mikee-afk is now known as mikee
09:20:19 *** mikee is now known as mikee_afk
09:21:30 *** mikee_afk is now known as mikee
09:21:31 *** ChanServ sets mode: +o mikee
10:16:15 *** kael has joined #gnucash
10:28:35 *** Artefact2 has joined #gnucash
10:30:28 *** kael has quit IRC
11:28:43 *** dkcarlson has joined #gnucash
11:30:34 <dkcarlson> Hi, I am reconciling a credit card account in release 2.6.4 and there is a new pop-up that looks like an offer to create an automatic payment. Where did that come from and how do I get rid it?
11:30:51 <dkcarlson> release 2.6.14!
11:31:01 *** warlord has quit IRC
11:32:26 <dkcarlson> never had that before
11:32:44 <dkcarlson> this is windows 10
11:35:33 <dkcarlson> it is labelled interest charge and it wants to use the reconcile date, but I do not use that method to enter interest charges.
11:36:52 <dkcarlson> it has too many fields to fill in for interest
11:37:47 <dkcarlson> there is no help available for this either
11:38:25 <dkcarlson> no f1 or ctrl-h either
11:39:03 <dkcarlson> should I file a bug report?
11:49:41 *** nukke has joined #gnucash
11:51:15 <nukke> I'm having issues opening a couple of .gnucash files on OpenSUSE Tumbleweed + GnuCash 2.6.12-1.3. whenever I try open the file, I get the following error: No suitable backend was found for file:///home/nukke/Accounting/nukke.gnucash.
11:52:27 <nukke> the files open properly on Windows 7. if I remember correctly, I used SQLite3 for saving the files originally (on a different distro), and I think it's defaulting to XML on OpenSUSE.
12:01:45 *** nukke has quit IRC
12:02:47 *** nukke has joined #gnucash
12:09:14 <jralls_afk> dkcarlson: That's been there forever, I don't know why this is the first time you've seen it. Just click cancel and the reconcile will complete as usual.
12:09:20 *** jralls_afk is now known as jralls
12:10:12 <dkcarlson> this is the first time that I have seen it
12:11:15 <jralls> lmat: Habitat day means "on Wednesdays /me volunteers at http://www.habitatebsv.org/Muir-Ridge".
12:11:15 <gncbot> jralls: Sent 20 hours and 9 minutes ago: <lmat> OH YEAH! I remember the trouble with changing timespec to time64: in kvp-value, there is a boost::variant that can be any of a set of types. One of those types is int64_t. If another of those types is time64, there is a conflict.
12:11:16 <dkcarlson> I should have to click on the box before it appears
12:11:49 <jralls> dkcarlson: Huh? Click on what box?
12:13:59 <jralls> lmat: That's presumably because time64 is aliased to int64_t. The compiler can't tell them apart at template resolution time. We're converting the Timespec to an ISO date-time string, right?
12:14:13 <dkcarlson> When I click on the reconcile menu button the first pop-up for date and balance has a button for Enter Interest Charge. If I do not touch that button, the pop-up window should not appear
12:15:25 <dkcarlson> but all of a sudden, it does
12:15:40 <dkcarlson> without touching the button
12:16:27 <jralls> dkcarlson: The offer to create a transaction to pay the bill is separate from the interest charge. It is triggered by clicking the "Finish" button when reconciling an account of type CREDIT CARD.
12:18:24 <dkcarlson> I have not gotten as far as being ready to Finish yet. This happens right after touching the Reconcile menu button
12:21:25 <dkcarlson> If I cancel it then touch the Enter Interest Charge button, the same pop-up reappears
12:24:23 <jralls> dkcarlson: Oh! I see the same using Actions>Reconcile. I don't think I've ever done that before, I always use the Reconcile button on the toolbar.
12:24:23 <dkcarlson> I have never used the automatic payment thing, but this popup seems to have all the required information, but it is labelled Interest Charge
12:26:15 <jralls> The Interest Payment dialog is different from the Make a Payment dialog, though not very much. After all, anything dialog to create a transaction needs pretty much the same information.
12:27:28 <jralls> I'll have to have a look at the menu action to see why it's behaving differently from the button action. They should be the same.
12:27:55 <dkcarlson> I usually use the reconcile button on the menu bar, but this happens both ways in Windows 10 release 2.6.14
12:30:48 <dkcarlson> I have already created https://bugzilla.gnome.org/show_bug.cgi?id=773592 for this
12:31:15 <dkcarlson> there is a screen print there
12:32:55 <jralls> OK, thanks for the bug. Makes it easier for me to remember...
12:34:32 <jralls> Interestingly, 2.6.14 on Win7 doesn't show the interest dialog for either the menu item or the toolbar button; 2.6.13 on MacOS does for just the menu item.
12:35:10 <jralls> Hmm. I tested with different files, though. There might be a variable there. I'll try Win10 next.
12:37:09 *** mlncn has quit IRC
12:37:49 <jralls> Win10 did the same as Win7, so there's clearly a book or account difference involved.
12:46:02 <dkcarlson> Back from walking the dog... This is a credit card type account, and I have verified the the register > Reconcile preferences for the automatic interest transfer and credit card payment are not checked
12:50:43 <jralls> Hmm. When I loaded the file which had given me the Interest Payment Dialog with Actions>Reconcile in OSX into GC on Win10, it didn't replicate. I'll have to see if I can figure out what's weird from the OSX install.
12:54:35 *** jwhitmore has quit IRC
12:55:02 *** Mechtilde has joined #gnucash
13:03:46 <dkcarlson> I recall that there was a recent change in the Reconcile window to prevent checking the sub-accounts box in brokerage accounts. Maybe that somehow triggered this problem. I know that is a stretch, but...
13:04:17 *** mlncn has joined #gnucash
13:09:04 <dkcarlson> Reading the Help Manual, I see there is an Enter Interest PAyment option only for Bank type accounts, so it should not have appeared in this credit card account, but that is what I would expect it to look like.
13:14:19 <dkcarlson> I think trying to follow that code to see if it was correct would make my brain hurt. I will let you work on it at your leisure. Bye for now.
13:14:33 *** dkcarlson has quit IRC
13:31:08 *** jwhitmore has joined #gnucash
13:31:14 *** fabior has quit IRC
13:42:24 *** mlncn has quit IRC
13:55:06 <lmat> jralls: The quick fix I'm using for kvp-value is to create a thin struct: timespec_for_kvp { time64 time; }; which is distinguishable by the compiler from a int64_t. I think it's working okay, and it's no bigger than a time64.
13:56:48 <jralls> lmat: Ugly, but if you can keep it inside of kvp-value.cpp then it will be easy to replace if we get a better idea.
13:57:32 *** mlncn has joined #gnucash
14:28:29 <gjanssens> jralls: what's your opinion on this plea against pairs & tuples /
14:28:32 <gjanssens> https://www.kdab.com/tuple-pair-cpp-apis/
14:32:44 <jralls> gjanssens: That the author is a noob spouting off about stuff he barely understands.
14:34:26 <jralls> The rant about std::optional and returning errors tells me he's really a C programmer. C++ programmers signal errors with exceptions precisely to avoid having a bunch of return value tests.
14:36:02 <jralls> The bit about structs being better than tuples because you can name the components in the struct ignores std::tie and the minor detail that C++ structs are not the same as C structs.
14:37:59 <jralls> C++ structs are classes whose default access is public instead of private, so they have all of the internal baggage that classes have.
14:40:50 <gjanssens> jralls: thanks for clearing that up
14:41:42 <gjanssens> I wasn't really convinced, but tend to doubt my c++ expierence
14:41:58 <gjanssens> (convinced by the author of the article I mean)
14:43:16 <jralls> Tuples also have a bunch of features useful for metaprogramming. I suspect your underlying question is "which is better for CSV import?", the answer to which is probably "neither". Each has advantages and disadvantages.
14:45:09 <jralls> BTW, the article's title was "Tuples and Pairs in APIs", and CSV Import will be using whatever you choose internally, not in its API.
14:45:25 *** iliv has quit IRC
14:48:41 <jralls> What one uses for API depends on the library one is designing. If it's an algorithmic library like libstdc++ or much of boost then there are clear advantages to tuples: Tuples are much more generic than classes. If you're writing a class library, then of course your API will work better if you pass classes around.
15:18:31 *** fabior has joined #gnucash
15:37:10 *** TheWhisper has joined #gnucash
15:38:32 <TheWhisper> Hi, I've been researching finance apps today and am looking for one with specific features that relate to budgeting. While it doesn't look like GnuCash offers the features, I figured maybe someone in here would know of an app that does.
15:39:50 <TheWhisper> The features I'm looking for: 1) ability to create a global budget (with categorization optional) 2) automated importing from banks 3) fine-grained notification control (push, SMS, and email) 3a) ability to set more alert requirements than just "Overbudget" (e.g. 50% of budget, 80% of budget, etc) and 4) notifications that tell you how much of the budget is left after every purchase.
15:40:16 <TheWhisper> Preferably a mobile or web app, but if it can be done from a desktop app, that would be okay too.
15:41:01 <TheWhisper> I've tried: EveryDollar, Wallet from BudgetBakers, Mvelopes,
15:41:22 <TheWhisper> Monefy, Money Lover, Goodbudget, YNAB, Prosper Daily, and Wally
15:41:51 <TheWhisper> I've been using Mint regularly, but their notification controls are severely lacking. The only budget-related notification they expose is "notify when overbudget"
15:43:25 <TheWhisper> I'm tempted by Pocketsmith.com, but they charged ~$10/month for automated import.
15:44:18 <gjanssens> tx jralls, I was indeed thinking about the csv importer
15:44:47 *** gjanssens has quit IRC
15:45:18 <jralls> TheWhisper: Sorry, I don't know anything about any budgeting apps.
15:45:42 <TheWhisper> Thanks for the quick response, jralls. I'll stick around. Perhaps someone else does.
15:46:00 <jralls> NP.
15:46:29 <TheWhisper> I'm just so surprised that I wasn't able to find an app with the features I listed. It seems so basic (at least, to me).
16:04:36 <TheWhisper> Just tried Pocketguard, doesn't have what I want :(
16:07:08 <TheWhisper> Level Money sounds really similar to what I want, but the app crashes whenever I try to open it.
16:11:17 *** Mechtilde has quit IRC
16:16:02 <nukke> I'm having problems with my .gnucash files. I'm on OpenSUSE Tumbleweed + GnuCash 2.6.12-1.3. whenever I try to open my .gnucash files I get this error: No suitable backend was found for file:///home/nukke/Accounting/nukke.gnucash
16:17:24 <nukke> I originally created the file on Arch on v2.16.13, I believe, using SQLite3 as the db type.
16:17:45 <nukke> the file opens perfectly fine on Windows 7.
16:26:40 <jralls> nukke: Did you install the SQLite3 and sqlite-dbi packages on OpenSuSE?
16:26:49 *** fabior has quit IRC
16:30:13 <nukke> jralls: I have sqlite3 3.15.0, libsqlite3-0 3.15.0 and perl-DBD-SQLite 1.50-1.7 installed.
16:30:38 <nukke> I'm guessing the perl package is the sqlite-dbi equivalent, no?
16:31:06 <jralls> nukke: I have no idea, I don't use SuSE. Try asking on their help forums.
16:31:50 <nukke> I'm gonna try exporting the db in a different format on Windows.
16:32:22 <jralls> nukke: Use XML. That doesn't require any additional drivers.
16:35:21 <nukke> jralls: should I do Save As..., or Export? inside the export menu there are three options. is there a catch-all?
16:35:49 <jralls> nukke: File>Save As.
16:36:26 *** gjanssens has joined #gnucash
16:36:26 *** ChanServ sets mode: +o gjanssens
16:37:55 <nukke> wow, the file size difference is quite significant. went from a 1.1MB file to a 95kb one
16:39:32 <nukke> awesome, it worked! thanks jralls
16:40:02 <jralls> nukke: XML files are compressed by default.
16:40:14 <jralls> nukke: And you're welcome.
16:43:01 <nukke> hmm just one thing. after opening the XML file I notice that the second line is missing. let me take a picture just to clarify what line is missing
16:44:17 <nukke> https://0x0.st/eyo.png
16:44:51 <nukke> the Expenses:Groceries category used to be in the green line, and there was also a comment underneath Walmart (in this case) iun the original SQLite3 file
16:48:21 <lmat> nukke: This is a display parameter.
16:48:36 <lmat> nukke: I don't remember the menu layout, but perhaps View>Basic Register ?
16:48:52 <lmat> nukke: You're on "Transactional Ledger" or "Transactional Register" or something.
16:49:34 <nukke> lmat: yep! that makes sense, haha. I had double line unchecked.
16:49:35 * nukke facepalms
16:49:53 <nukke> thanks again :)
17:14:48 *** gjanssens has quit IRC
17:23:25 *** mlncn has quit IRC
17:30:27 *** iliv has joined #gnucash
17:33:25 <jralls> lmat: delete_visitor::operator()(GncGuid*&) calls guid_free(). That means KVPValue can use only GncGUID* allocated on the free store, but the SQL backend uses stack-allocated GncGUIDs to create KVPs, and that's the crash I found Tuesday.
17:37:50 <jralls> That's documented, so I can just change the SQL backend. But I'd rather not be going to the free store for GUIDs, which are really small and get used a lot. The middle ground is to override operator new for GncGUID to use a small-object allocator, but ISTM GUIDs are small enough that we should be passing them by value anyway.
17:38:35 <jralls> lmat: Is there something about boost::guids that I'm missing?
17:42:00 *** iliv has quit IRC
18:27:27 *** gour has quit IRC
19:00:06 *** jwhitmore has quit IRC
20:13:28 *** Unhammer has quit IRC
20:13:38 *** Unhammer has joined #gnucash
20:29:22 *** nomeata has joined #gnucash
20:36:59 *** mlncn has joined #gnucash
20:41:44 *** mlncn has quit IRC
20:52:16 *** mlncn has joined #gnucash
21:13:02 *** mlncn has quit IRC
21:51:44 *** mlncn has joined #gnucash
22:30:08 *** mlncn has quit IRC
22:33:30 *** mlncn has joined #gnucash
22:48:57 *** MoeD has quit IRC
22:49:19 *** MoeD has joined #gnucash
22:49:33 *** mlncn has quit IRC
23:25:08 *** nomeata has quit IRC