2016-05-10 GnuCash IRC logs

00:02:45 *** tanderson has joined #gnucash
00:08:02 *** gnomey has quit IRC
00:09:25 *** gnomey has joined #gnucash
00:52:55 *** jimvideo has quit IRC
00:58:55 *** tanderson has quit IRC
00:59:08 *** tanderson has joined #gnucash
01:18:02 *** Mechtilde has joined #gnucash
01:59:23 *** Mechtilde has quit IRC
02:15:32 *** fell_ has quit IRC
03:28:06 *** Muhannad_ has joined #gnucash
03:28:30 *** Muhannad_ is now known as Muhannad__
03:39:15 *** fabior has joined #gnucash
03:42:45 *** fabior has quit IRC
03:54:54 *** nomeata has joined #gnucash
03:56:41 *** fabior has joined #gnucash
04:12:59 *** Jimraehl1 has quit IRC
04:17:40 *** Muhannad__ has quit IRC
04:18:23 *** Muhannad__ has joined #gnucash
04:34:35 *** bertbob has quit IRC
04:49:56 *** bertbob has joined #gnucash
04:53:10 *** bertbob has quit IRC
05:00:47 *** meb has joined #gnucash
05:05:39 *** Muhannad__ has quit IRC
05:08:39 *** bertbob has joined #gnucash
05:42:15 *** Unhammer has quit IRC
05:44:34 *** Unhammer has joined #gnucash
06:53:13 *** fabior has quit IRC
07:03:00 *** Jimraehl1 has joined #gnucash
07:05:00 *** Jimraehl1 has left #gnucash
07:15:14 *** Jimraehl1 has joined #gnucash
07:17:27 *** Jimraehl1 has left #gnucash
07:17:53 *** Jimraehl1 has joined #gnucash
07:34:02 *** mlncn has joined #gnucash
07:47:13 *** nomeata has quit IRC
08:09:11 <lmat> jralls: Thanks for that verification.
08:09:54 <lmat> jralls: Well, not exactly verification...I guess I mean: sounds right to me :-)
08:11:55 <lmat> jralls: There is one possibility that comes to mind which could make it so that session owns a shared_ptr<book>: C access of book can be through a qof_session_get_book which will return shared_ptr::get.
08:12:23 <lmat> jralls: But the way in which src/engine shares ownership of the book should be captured by having its own shared_ptr.
08:32:52 *** aqua___ has quit IRC
08:39:31 *** fabior has joined #gnucash
08:43:02 *** fabior has quit IRC
08:47:22 *** warlord has joined #gnucash
08:47:23 *** gncbot sets mode: +o warlord
08:56:47 *** fabior has joined #gnucash
09:11:55 *** raeburn has quit IRC
09:15:54 *** raeburn has joined #gnucash
09:38:39 *** Muhannad_ has joined #gnucash
09:39:03 *** Muhannad_ is now known as Muhannad__
10:22:36 *** tanderson has quit IRC
10:41:27 *** fell has joined #gnucash
10:59:58 <jralls> lmat: Yes, book* can be extracted for C routines using get(), but doing so undoes the security of the shared ptr. It's OK as long as the unshared ptr has a stack-controlled lifetime, but in some cases its squirreled away in a container which can lead to its either being freed in the C routine (and calling free on something allocated with new will crash) or invalidated by the shared_ptr calling delete on it.
11:00:22 <jralls> Those are both difficult bugs to find.
11:03:58 *** g5pw has quit IRC
11:07:23 *** g5pw has joined #gnucash
11:49:13 *** Mechtilde has joined #gnucash
12:02:11 *** rubdos has joined #gnucash
12:49:27 <lmat> jralls: aye.
12:50:22 <lmat> jralls: Going forward, I see three options for myself: 1) Work on something else, 2) work with jralls on the c++-backend branch, 3) wait for input from the pull request. What do you recommend?
12:54:17 <jralls> Since I'm reviewing the PR right now, option 3. ;-)
13:00:09 *** lwells has quit IRC
13:07:47 <lmat> Excellent.
13:15:06 *** raeburn has quit IRC
13:25:22 *** minot has joined #gnucash
13:31:24 *** raeburn has joined #gnucash
14:06:48 *** linux00001 has joined #gnucash
14:07:42 <linux00001> heya, I get the error "There was an unknown error while retrieving the price quotes" when i try to use get online quote feature but running gnu-fq-dump on the command line works fine
14:08:07 <linux00001> i am on OSX
14:08:42 <lmat> linux00001: Never used osx nor price quotes...but others have!
14:10:13 <linux00001> additionally wiki instructs to run gnu-fq-update as root, which creates .cpan and perl5 directores in my homedir as root. I am curious why i need to run that as root. Running it without root creates those directoriess as my username, which seems better and still works on the command line
14:10:36 <linux00001> It seems to me that it shouldn't be run as root
14:11:05 <linux00001> but that's a different question I guess
14:11:17 <linux00001> I just want online price quotes to work =)
14:12:57 <linux00001> oh actually, it creates man pages and such in /usr/local/share/man, which I guess is notmally owned by root. That might be the reason wiki instructs to use root
14:13:41 <jralls> linux0001: It needs to run as root because it needs to put the modules in /Library/Perl where GnuCash can find them.
14:13:46 <warlord> linux00001: what is the output from gnc-fq-dump?
14:14:06 <jralls> linux0001: Or better yet, from gnc-fq-helper.
14:14:19 <linux00001> warlord: it works okay
14:14:21 <linux00001> /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-dump yahoo AMZN
14:14:23 <linux00001> Finance::Quote fields Gnucash uses:
14:14:25 <linux00001> symbol: AMZN <=== required
14:14:27 <linux00001> date: 05/10/2016 <=== required
14:14:29 <linux00001> currency: USD <=== required
14:14:31 <linux00001> last: 701.3273 <=\
14:14:33 <linux00001> nav: <=== one of these
14:14:35 <linux00001> price: 701.3273 <=/
14:14:37 <linux00001> timezone: <=== optional
14:14:39 <linux00001> sorry for the spam
14:14:51 <warlord> no worries. we asked for it ;)
14:14:51 <linux00001> jralls: havent tried gnu-fq-helper.. will try
14:15:22 <linux00001> ahh.. gnu-fq-helper is indeed having trouble
14:15:27 <linux00001> /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-helper yahoo AMZN
14:15:29 <linux00001> Can't locate Date/Manip.pm in @INC (@INC contains: /Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16 /Network/Library/Perl/5.16/darwin-thread-multi-2level /Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.2/darwin-thread-multi-2level /Library/Perl/Updates/5.16.2 /System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16
14:15:31 <linux00001> /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level /System/Library/Perl/Extras/5.16 .) at /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-helper line 29.
14:15:33 <linux00001> BEGIN failed--compilation aborted at /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-helper line 29.
14:15:39 <linux00001> i thougth that module was installed hmm..
14:16:01 <warlord> What version of gnucash is this? and what version of F::Q?
14:16:26 <jralls> linux0001: There ya go. Maybe you've got an older GnuCash with the screwed up gnc-fq-update.
14:16:59 <linux00001> warlord: gnucash version 2.6.11. trying to figure out F::Q version
14:17:04 *** Mechtilde has quit IRC
14:18:23 <warlord> hmm, 2.6.11's gnc-fq-update should be new enough?
14:18:41 <jralls> It is indeed.
14:19:40 <jralls> linux00001: What perl version?
14:19:52 <linux00001> Finance::Quote version is 1.38
14:20:02 <jralls> Sorry, what *OS X* version?
14:20:02 <linux00001> jralls: 5.16.2
14:20:12 <linux00001> 10.9.5
14:22:13 <jralls> Ah, that explains the old Perl version. Does /Library/Perl/5.16/Date/Manip.pm exist?
14:22:53 <linux00001> it does not =)
14:23:49 <jralls> Try `locate Manip.pm` and see if it's anywhere.
14:25:28 <linux00001> locate db isn't updated =) but find command did show ~/perl5/lib/perl5/Date/Manip.pm
14:26:36 <linux00001> though I guess gnu-fq-helper isn't looking there
14:26:44 <jralls> Which isn't in @INC. And even if it was from the command line GnuCash can't see it when launched from Finder.
14:27:20 <linux00001> makes sense
14:28:15 <jralls> Which is why you have to run gnc-fq-update in sudo or use the Update-Finance-Quote applet that's included in the dmg.
14:28:47 <linux00001> okay, that explains the sudo part =)
14:29:18 <linux00001> I did run it as sudo earlier, actually
14:29:24 <linux00001> i will run it again
14:30:16 *** Muhannad__ has quit IRC
14:31:31 <jralls> You may have to rm -rf .cpan/build/Date-Manip* first.
14:31:36 <linux00001> that reports back with Finance::Quote is up to date (1.38). but still no /Library/Perl/5.16/Date/Manip.pm
14:31:39 <linux00001> okay
14:33:03 <jralls> You might even have to nuke .cpan altogether, it might have ~/perl5 in an init file.
14:33:40 <linux00001> ok i will try that
14:33:51 <linux00001> maybe this is the problem?
14:33:54 <linux00001> Failed 197/199 test programs. 0/0 subtests failed.
14:33:57 <linux00001> make: *** [test_dynamic] Error 2
14:33:59 <linux00001> SBECK/Date-Manip-6.53.tar.gz
14:34:01 <linux00001> /usr/bin/make test -- NOT OK
14:34:03 <linux00001> /hint// to see the cpan-testers results for installing this module, try:
14:34:05 <linux00001> reports SBECK/Date-Manip-6.53.tar.gz
14:34:07 <linux00001> Running make install
14:34:10 <linux00001> make test had returned bad status, won't install without force
14:34:11 <linux00001> Finance::Quote is up to date (1.38).
14:34:13 <linux00001> or can i ignore that make error?
14:34:39 <linux00001> lots of failed tests
14:35:27 <jralls> That would be a problem, yes. Researching...
14:35:40 <linux00001> thanks =)
14:35:52 <linux00001> retyring after nuking .cpan
14:38:51 <jralls> Hmm. I just installed Date::Manip 6.53 on my 10.9 VM without any issues.
14:39:29 <linux00001> via cpan, i guess?
14:39:57 <jralls> Yup. `sudo cpan -i Date::Manip`.
14:40:00 <linux00001> I could try installing just that module
14:43:01 <jralls> You could also `sudo cp -R ~/perl5/lib/perl4/Date /Library/Perl/5.16` if you can't get cpan to behave itself.
14:49:27 <linux00001> I had to install Test::Inter
14:50:51 <linux00001> pulling quote from gnucash works now
14:50:58 <linux00001> jralls: thanks a bunch!
14:51:26 <jralls> linux00001: You're welcome.
15:10:11 *** Mechtilde has joined #gnucash
15:13:28 *** Mechtilde has quit IRC
15:15:26 *** Mechtilde has joined #gnucash
15:27:02 *** fabior has quit IRC
15:38:08 *** Mechtilde has quit IRC
15:42:04 *** fabior has joined #gnucash
15:56:31 *** karelk has quit IRC
15:58:02 *** karelk has joined #gnucash
16:20:30 *** meb has quit IRC
16:26:27 *** fabior has quit IRC
16:29:18 *** warlord has quit IRC
16:41:20 *** fabior has joined #gnucash
17:00:57 *** fabior has quit IRC
17:17:47 *** fabior has joined #gnucash
17:55:37 *** mlncn has quit IRC
18:06:22 *** fabior has quit IRC
18:19:45 *** bertbob has quit IRC
18:32:09 *** mlncn has joined #gnucash
18:34:23 *** bertbob has joined #gnucash
18:37:36 *** bertbob has quit IRC
18:53:07 *** bertbob has joined #gnucash
18:56:15 *** bertbob has quit IRC
18:58:25 *** jchonig has quit IRC
19:00:48 *** jchonig has joined #gnucash
19:04:05 *** jchonig has quit IRC
19:05:46 *** jchonig has joined #gnucash
19:11:53 *** bertbob has joined #gnucash
19:30:44 *** minot has quit IRC
19:31:35 *** minot has joined #gnucash
19:39:47 *** karelk has quit IRC
19:46:27 *** karelk has joined #gnucash
19:49:46 *** karelk has quit IRC
19:50:04 *** karelk has joined #gnucash
19:55:08 *** mlncn has quit IRC
20:21:04 *** CDB-Man has quit IRC
20:24:48 *** raeburn has quit IRC
20:27:01 *** meb has joined #gnucash
20:38:37 *** mlncn has joined #gnucash
20:46:47 *** minot has quit IRC
20:50:27 *** minot has joined #gnucash
21:00:19 *** minot has quit IRC
21:02:59 *** minot has joined #gnucash
21:06:38 *** minot has quit IRC
21:10:58 *** minot has joined #gnucash
21:16:18 *** minot has quit IRC
21:19:41 *** minot has joined #gnucash
21:23:12 *** minot has quit IRC
21:27:25 *** minot has joined #gnucash
21:31:22 *** minot has quit IRC
21:35:11 *** minot has joined #gnucash
21:35:12 *** dermoth_ has quit IRC
21:35:44 *** dermoth_ has joined #gnucash
21:52:19 *** mlncn has quit IRC
21:53:35 *** CDB-Man has joined #gnucash
21:59:43 *** CDB-Man has quit IRC
21:59:58 *** CDB-Man has joined #gnucash
22:22:05 *** mlncn has joined #gnucash
23:38:38 *** raeburn has joined #gnucash
23:39:17 *** raeburn1 has joined #gnucash
23:39:18 *** raeburn has quit IRC