2014-05-01 GnuCash IRC logs

00:13:14 *** gregg4567 has left #gnucash
00:16:02 *** gregg4567 has joined #gnucash
00:19:44 *** gregg4567 has left #gnucash
00:37:02 *** jmd has joined #gnucash
00:44:32 *** benoitg has quit IRC
01:18:21 *** fell has quit IRC
01:40:36 *** jimvideo has quit IRC
01:44:21 *** todd has quit IRC
01:51:46 *** wafflejock has quit IRC
01:52:53 *** wafflejock has joined #gnucash
03:15:01 *** MechtiIde has joined #gnucash
03:35:22 *** StuM has quit IRC
03:40:26 *** gjanssens has joined #gnucash
03:40:27 *** gncbot sets mode: +o gjanssens
04:19:33 *** wafflejock_ has joined #gnucash
04:24:32 *** wafflejock has quit IRC
05:18:57 *** Sambler has joined #gnucash
05:30:01 *** Sambler has quit IRC
05:31:43 *** StuM has joined #gnucash
05:38:23 *** phlancelot has joined #gnucash
05:39:46 <phlancelot> Hi all - having some issues getting the importer to work since my version of gnucash seems to have updated (2.6.1) I'm on the latest Ubuntu 14.04
05:41:22 <phlancelot> at first the importer was crashing when I did not specify to skip the first few lines of my CSV file.. managed to sort that out. but for another of my accounts (different bank) they format the CSV slightly different.. I have a deposit and withdrawal column but gnucash says deposit column could not be understood
05:42:07 <phlancelot> any suggestions would be much appreciated thx
05:50:45 <phlancelot> Just tried with another of my accounts that has a Starting Balance amount as the first line then each subsequent line is a Deposit amount (+ or -) and a running balance. The importer struggled with the first line I think because the deposit column is left blank in that row -- so maybe it is just having difficulty parsing Blank values in the CSV?
06:04:28 *** jmd has quit IRC
06:15:51 *** wol has joined #gnucash
06:45:49 *** Bodhi-Baum has joined #gnucash
06:48:14 *** Jimraehl1 has joined #gnucash
06:50:14 *** jmd has joined #gnucash
06:55:03 *** todd has joined #gnucash
06:58:17 *** Jimraehl1 has quit IRC
07:40:01 *** fell has joined #gnucash
07:40:02 *** gncbot sets mode: +o fell
07:41:57 *** TradeBorG11111 has joined #gnucash
07:50:17 *** wol has quit IRC
08:10:49 <warlord> phlancelot: the CSV importer is .... not the best choice. You can't get QIF or OFX from your bank?
08:15:20 *** daum has joined #gnucash
08:15:59 <daum> is there a way to change the default name of the invoices when you click print to pdf?
08:16:49 <phlancelot> warlord: I will have to check - for whatever reason I chose to go with CSV back when I set up my monthly audit system a few years ago... maybe the banks I'm with now offer QIF or OFX
08:17:44 <phlancelot> warlord: the odd thing is I had the system working well for me for a couple of years before this last update.
08:19:25 <warlord> daum: possibly in the preferences? But I'm not sure.
08:19:57 <phlancelot> i have the option to download .qbo .qfx dont see .qif (I can get a .ofx however so will try that)
08:20:11 <warlord> phlancelot: there are multiple CSV importers -- maybe use the AqB-based CSV importer instead of the GnuCash-based one? Or try to use somerthing like Calc2QIF ?
08:25:25 <daum> warlord, hm i was looking around didn't find any
08:26:30 <warlord> daum: i thought there was somerthing.. Check under both Edit -> Preferences and File -> Properties
08:26:41 * warlord has never used the feature so doesn't know where it might be
08:28:23 <daum> hm no luck
08:28:45 <warlord> sorry.. maybe there isn't a way :-/
08:29:03 <daum> no problem, won't hold you personally responsible =p
08:31:04 <warlord> Good to know
08:36:05 <warlord> gotta run. hopefully be back online in ~30mins or so...
08:36:10 *** warlord has quit IRC
08:45:29 <phlancelot> warlord: thanks so much for the help, my other bank lets me download QIF so I can use that for the meantime... the import process seems a bit convoluted... CSV was easier. I notice that the OFX import was much more streamlined though (far less dialogues to go through). I guess ultimately it would be nice to set up online banking so my transactions get downloaded
08:46:15 <phlancelot> if anyone has tips on getting that set up for Bank of America, Canadian Imperial Bank of Commerce or Royal Bank of Scotland give me a shout! Or is it better practice to just manually download transactions each month?
08:52:49 *** phlancelot has quit IRC
09:07:09 *** daum has quit IRC
09:22:49 *** MechtiIde has quit IRC
09:23:25 *** warlord has joined #gnucash
09:23:26 *** gncbot sets mode: +o warlord
09:23:50 *** MechtiIde has joined #gnucash
09:37:02 *** StuM has quit IRC
10:10:42 *** jmd has quit IRC
10:14:42 *** jmd has joined #gnucash
10:31:25 <gjanssens> Too bad daum already disappeared before I saw his question
10:31:38 <gjanssens> The answer would be: there is no way to do it via the gui
10:31:57 <gjanssens> But there are a few options that can be tweaked directly in the preferences backend
10:32:51 <gjanssens> The one he wanted was /opt/gnucash/reports/pdf-export:filename-format
10:33:21 <gjanssens> The tool used to tweak this option would depend on his OS
10:34:01 <gjanssens> Windows -> regedit, linux and friends -> dconf-editor, OS X -> (don't know how plists are normally edited)
10:54:18 *** jmd has left #gnucash
10:59:12 <gjanssens> With this the explanation is at least in the public irc logs
11:00:18 <gjanssens> @tell daum To answer your question about modifying the filename when exporting a report to pdf: http://lists.gnucash.org/logs/2014/05/2014-05-01.html#T10:31:38
11:00:18 <gncbot> gjanssens: The operation succeeded.
11:00:26 <gjanssens> There
11:01:32 <gjanssens> warlord: phlancelot left a message for you just before leaving. He probably didn't notice you weren't around anymore: http://lists.gnucash.org/logs/2014/05/2014-05-01.html#T08:45:29
11:17:48 <warlord> gjanssens: thanks
11:33:16 <warlord> I don't usually look at the logs after I'm offline
11:55:43 *** Bodhi-Baum has quit IRC
12:04:22 *** floh1111 has joined #gnucash
12:04:43 <gjanssens> That's what I figured.
12:05:11 *** floh1111 has quit IRC
12:10:33 <jralls> gjanssens: On OSX, the "official" way to change preferences in a plist is to use the "defaults" command from the command line. The "developer" way is to use the plist editor, part of Xcode. Many plists, including GnuCash's, are plain XML files that can be edited with any text editor.
12:11:59 <jralls> Oops, no, not including gnucash's. GPrefs is emitting a compiled plist, so one would have to use the plist editor.
12:20:01 *** gregg4567 has joined #gnucash
12:48:04 *** lmat has joined #gnucash
13:28:12 *** StuM has joined #gnucash
13:38:15 *** StuM has quit IRC
13:48:37 <lmat> jralls: So, the goal for guid is something like http://pastie.org/9131316 ?
13:50:03 <lmat> Oh, and everything inside is using boost/guid.
13:51:47 <lmat> It looks like guid is mostly only used in libqof, but exceptions include src/backend/sql/gnc-recurrence-sql.h, src/backend/sql/gnc-slots-sql.h, and src/optional/python-bindings/gnucash_core.i
13:52:52 <jralls> lmat: No, it's class GncGUID : public boost::uuid. Write the rest as necessary so that boost::uuid does all of the work. See http://www.boost.org/doc/libs/1_50_0/libs/uuid/
13:53:49 <jralls> The the C wrappers need to use that C++ interface to do what's necessary for backwards compatibility.
13:55:18 <jralls> You should probably start with a test program in src/libqof/qof/test/ to demonstrate the current behavior.
13:55:25 <lmat> jralls: So class GncGUID* is opaque ?
13:55:36 <jralls> Absolutely.
13:55:42 <lmat> jralls: Gotcha.
14:00:27 <jralls> lmat: We'll need to think about how to manage pointers, too. For C++ we obviously want std::shared_ptr or std::unique_ptr for everything, but I suspect that won't play well with C.
14:01:57 <jralls> Maybe a C wrapper struct with a std::unique_ptr in it. If it has to be ref-counted, we'll have to use a GObject as a temporary measure, much as that sticks in my throat.
14:08:00 <warlord> jralls: I dont know how you would get a std::shared_ptr within a C Struct
14:10:23 <jralls> warlord: Exactly. A unique_ptr will work, but you have to tell C that it's a regular void*, which of course loses all of the unique_ptr protection. The same is true of shared_ptr, but you lose the ref counting functions so there's no point in the (albeit small) extra overhead.
14:11:17 *** KaiForce has joined #gnucash
14:19:41 <warlord> jralls: right
14:21:56 <warlord> So I'm not sure what the point is to worry about shared_ptr or unique_ptr once you cross over into the C world
14:25:19 <jralls> The worry isn't about unique_ptr or shared_ptr, the worry is about raw pointers and making sure that the C++ objects get freed and destroyed. Just like the C objects, actually.
14:26:07 <warlord> jralls: perhaps we should still use gobjects if only for the ref-counting?
14:26:17 <warlord> at least until we can drop the C API completely?
14:26:30 <jralls> I think I said that...
14:26:37 <warlord> (I wonder how that will work in terms of class hierarchies?)
14:27:45 <jralls> Poorly. Fortunately whoever wrote the GObject stuff in engine didn't really understand how class hierarchies are done in GObject, so they're not used much.
14:28:46 <warlord> LOL. True..
14:28:58 <warlord> (I dont recall who did the gobjectification of the engine objects)
14:29:22 <warlord> Part of me really wishes I had just used C++ when I started the QOF work 14 years ago
14:30:47 <jralls> You keep saying that. But C++ was a lot harder to use then. The standard had only just come out and the STL, while available, wasn't widely used.
14:31:14 <jralls> OTOH, it was still easier to use than GObject.
14:32:04 <warlord> Oh, I know.. that's one of many reasons I didn't do it. On the other hand I probably would have only used C++ for class hierarchy and interfaces, without using STL
14:32:43 <warlord> I suspect I would have built my own refcounting base class
14:33:33 <warlord> anyways, water under the bridge... (and down the river and into the ocean)
14:45:27 <lmat> jralls: We're shooting for c++11 ? I don't see the appropriate compiler flags in c++-build.
14:47:47 <jralls> If the compiler is new enough it shouldn't need them. If it isn't, they won't work anyway. We do need to put a test in configure for the compiler being able to handle C++11 syntax.
14:48:59 <lmat> jralls: Which compiler doesn't need the flags ? I use g++ 4.8
14:49:04 <lmat> (and it needs them ^_^)
14:52:09 <warlord> lmat: g++ needs it .. clang does not
14:52:37 <lmat> warlord: gotcha
14:53:41 <jralls> Ah, gcc still regards their c++11 support as experimental, so c++98 is the default.
14:53:50 <jralls> http://gcc.gnu.org/onlinedocs/gcc/Standards.html
14:53:52 <warlord> jralls: right
15:10:32 *** aqua___ has joined #gnucash
16:00:19 *** MechtiIde has quit IRC
16:09:17 *** aqua___ has quit IRC
16:53:55 *** KaiForce has quit IRC
16:57:11 *** ErKa has joined #gnucash
17:00:33 *** aqua___ has joined #gnucash
17:24:30 *** aqua___ has quit IRC
17:27:28 <lmat> warlord: That message from "Jordan and Reidun" should be a Bugzilla entry, right ?
17:33:54 *** jimvideo has joined #gnucash
17:34:03 <warlord> which message?
17:35:15 <lmat> warlord: On the gnucash-user list...
17:35:24 <lmat> warlord: He reports that his invoices aren't linked to their payments anymore.
17:37:34 <warlord> I suspect he's hitting the same "invoices dont work in 2.6 the same as the did in 2.4"
17:37:48 <lmat> warlord: Ahh, okay
17:38:31 *** TradeBorG11111 has quit IRC
17:42:59 <warlord> lots of people hit that
17:43:09 <lmat> warlord: That's what I'm seeing now :)
17:43:28 <warlord> right. Geert explained on the lists how it works.
17:43:40 <warlord> You need to manually choose *all* the invoices or *none* of them.
17:43:50 <warlord> It wont auto-apply anymore.
17:43:56 <warlord> (there is a preference to enable some of that functionality)
17:44:00 <lmat> warlord: Aye, I read that about 1.5 minutes ago ;)
17:44:59 <warlord> :)
17:51:45 *** benoitg has joined #gnucash
17:56:26 *** gjanssens has quit IRC
18:04:36 *** gregg4567 has left #gnucash
18:29:47 *** warlord has quit IRC
18:48:57 *** fell_ has joined #gnucash
18:48:58 *** gncbot sets mode: +o fell_
18:54:09 *** fell has quit IRC
19:39:23 *** Zombie has quit IRC
20:01:03 *** crazydemon has joined #gnucash
20:01:58 <crazydemon> Can anyone tell me if gnucash 2.6.3 still uses the .gconf folder to store certain settings?
20:02:19 <crazydemon> this would apply to a windows OS
20:11:37 <jralls> crazydemon: I don't think so. Only gjanssens knows for sure, though, and he's asleep.
20:12:25 <jralls> lmat: I just pushed to c++-build a C++11 check for configure. It sets -std=c++11 if it succeeds, and fails configure if it doesn't.
20:12:36 <jralls> Now time to make dinner.
20:12:42 *** jralls is now known as jralls_afk
20:13:20 <crazydemon> Ok, thank you.
20:13:43 *** crazydemon has quit IRC
20:18:36 *** crazydemon has joined #gnucash
20:21:01 *** jimvideo has quit IRC
20:32:41 *** jralls_afk has quit IRC
20:35:14 *** jralls_afk has joined #gnucash
20:39:37 *** StuM has joined #gnucash
20:49:25 *** Zombie has joined #gnucash
21:17:45 *** crazydemon has quit IRC
21:24:36 *** gregg4567 has joined #gnucash
21:38:27 *** ErKa has quit IRC
21:57:41 *** jralls_afk has quit IRC
22:10:50 *** ErKa has joined #gnucash
22:23:16 *** gregg45671 has joined #gnucash
22:28:13 *** gregg4567 has quit IRC
22:28:14 *** gregg45671 has quit IRC
22:31:31 *** gregg4567 has joined #gnucash
22:31:48 *** ErKa has quit IRC
22:33:07 *** jralls_afk has joined #gnucash
23:17:45 *** warlord has joined #gnucash
23:17:45 *** gncbot sets mode: +o warlord
23:23:15 *** ErKa has joined #gnucash
23:55:32 *** gregg4567 has left #gnucash