2017-11-10 GnuCash IRC logs

00:33:33 *** marusich has joined #gnucash
00:59:43 *** kael has quit IRC
01:23:44 *** fell has quit IRC
01:24:10 *** fell has joined #gnucash
01:28:08 *** Mechtilde has joined #gnucash
01:44:59 <chris> jralls_afk: https://github.com/Gnucash/gnucash/blob/unstable/libgnucash/engine/gnc-date.h#L86
01:45:03 <chris> he Timespec is just like the unix 'struct timespec'
01:45:05 <chris> * except that we use a 64-bit unsigned int to
01:45:06 <chris> * store the seconds. This should adequately cover dates in the
01:45:08 <chris> * distant future as well as the distant past, as long as they're not
01:45:09 <chris> * more than a couple dozen times the age of the universe
01:45:29 <chris> anyway, if I know time64 relates to the year 1970 this is enough to work with
01:49:00 <chris> http://gnucash.1415818.n4.nabble.com/Recording-in-KRW-Reporting-in-USD-Budgeting-in-USD-td4694793.html could use my next-gen transaction.scm which is still cooking
02:10:38 *** Mechtilde has quit IRC
02:58:31 *** fabior has joined #gnucash
03:07:17 *** gjanssens has joined #gnucash
03:07:17 *** ChanServ sets mode: +o gjanssens
03:18:10 <gjanssens> .
03:31:58 *** fabior has quit IRC
03:36:59 <mikee> @op
03:37:00 *** gncbot sets mode: +o mikee
04:11:41 *** carwynnelson has joined #gnucash
04:14:43 *** carwynnelson has quit IRC
04:57:14 *** fekepp has joined #gnucash
05:00:05 *** pilotauto has quit IRC
05:11:01 *** fekepp has quit IRC
06:00:02 *** Aussie_matt has joined #gnucash
06:17:04 *** fabior has joined #gnucash
06:32:24 *** fabior has quit IRC
06:54:10 *** Jimraehl1 has joined #gnucash
06:55:04 *** Jimraehl1 has left #gnucash
07:02:01 *** fabior has joined #gnucash
07:18:40 *** chf has quit IRC
07:22:40 *** User has joined #gnucash
07:35:57 *** chf has joined #gnucash
07:40:55 *** Mechtilde has joined #gnucash
07:42:27 *** Martin has joined #gnucash
07:43:49 *** Martin has quit IRC
07:44:02 *** Mechtilde has quit IRC
07:54:24 *** fabior has quit IRC
07:57:23 *** byzant has quit IRC
07:57:43 *** byzant has joined #gnucash
08:26:49 *** analysis has joined #gnucash
08:26:51 *** User has quit IRC
08:32:27 *** Mechtilde has joined #gnucash
08:49:02 <Aussie_matt> hi all, any idea on when 2.8 looks to be released? asking as a packer for a linux distro
09:02:47 *** analysis has quit IRC
09:15:58 *** fekepp has joined #gnucash
09:27:42 *** Aussie_matt has quit IRC
09:34:41 *** fabior has joined #gnucash
09:49:10 *** ArtGravity has joined #gnucash
09:54:51 *** analysis has joined #gnucash
10:03:00 *** fabior has quit IRC
10:19:33 *** byzant has quit IRC
10:19:44 *** byzant has joined #gnucash
10:24:40 <MrKeuner> gjanssens, great, thank you!
10:35:55 *** Mechtilde has quit IRC
10:52:01 *** fabior has joined #gnucash
11:33:51 *** noah has joined #gnucash
11:37:17 *** Mechtilde has joined #gnucash
11:44:33 *** noah is now known as notaviable
11:44:45 *** notaviable is now known as maurice
11:51:28 *** marusich has quit IRC
11:51:47 *** marusich has joined #gnucash
11:53:02 *** Trel has quit IRC
11:59:50 *** KaiForce has joined #gnucash
12:00:58 *** maurice has quit IRC
12:04:20 *** noah has joined #gnucash
12:14:43 *** Trel has joined #gnucash
12:19:40 <warlord> .
12:21:34 *** Mechtilde has quit IRC
12:22:43 *** Mechtilde has joined #gnucash
12:51:08 *** marusich has quit IRC
12:51:55 *** wcattey has joined #gnucash
12:52:20 <wcattey> I'm having trouble getting stock quotes today,
12:52:55 <wcattey> Since I'm running on a mac, I'm apparently not allowed to see any useful status mesages.
12:53:25 <wcattey> I found gnucash.trace but it gave NO indication of anything related to stock quotes,
12:54:15 <wcattey> I'm getting "There was an unknown error while retrieving price quotes."
12:54:45 <wcattey> Can anyone point me to a way to get an ACTUAL trace of what it's trying to do and where it's failing?
12:56:11 <wcattey> Or is this just a matter of my having set yahoo as the source of stock data?
12:56:27 <wcattey> At the moment I can't find where the stock data source is controlled.
13:01:16 <wcattey> Ok, I now remember the Securities Editor window controls the source of quotes. I changed 3 from Yahoo USA to Fidelity Direct, but still no stock quotes update.
13:02:38 <warlord> wcattey: Hey bill. Known issue -- you need a modern F::Q (like updated yesterday) and an API Key from the quote source. Check the gnucash-user list over the past couple days.
13:02:49 <warlord> Yahoo turned off their quote service.
13:04:06 <wcattey> Hi Derek!
13:04:55 <wcattey> I just downloaded and installed 2.6.18 a couple hours ago and ran the Financial Quotes updater.
13:05:07 <wcattey> It had trouble with CPAN downloads.
13:05:34 <wcattey> I did the "export FTP_PASSIVE=1" thing and it may have helped.
13:07:27 <warlord> I think 1.45 is current
13:07:54 <wcattey> BTW, Pasting the error into Google search only turned up threads from 2016 and older.
13:08:13 <wcattey> Apparently "finance-quote error" is what one has to know to search on to find help. :-(
13:10:02 <warlord> The issue is that the error happens at such a low level that there's no way to transmit the error up to gnucash itself to display or print.
13:10:11 <warlord> It just looks like "no data"
13:10:55 <wcattey> I see that the thread talks about running the fetch by hand.
13:12:34 <wcattey> We probably want to add some user-facing stuff to:
13:12:51 <wcattey> a. Clarify how to run f-q outside gnucash to gather debug info going forward.
13:13:37 <wcattey> At this point, I'm slogging through the gnucash-user archive, but haven't actually gotten two important answers:
13:13:49 <wcattey> 1. How to check my version number of f-q.
13:13:58 <wcattey> 2. How to run it from the command line.
13:14:01 *** noah has quit IRC
13:14:04 <wcattey> oh yea and:
13:14:09 *** noah_ has joined #gnucash
13:14:25 <wcattey> 3. What I need to do to finish fixing it, because I think I'm running 1.45 now.
13:15:20 <wcattey> AH! Just found the FAQ line!
13:15:27 <wcattey> https://wiki.gnucash.org/wiki/FAQ#Q:_Why_doesn.27t_online_quoting_work.3F
13:17:35 <warlord> Great. Honestly,I haven't set it up myself, yet.
13:19:41 <wcattey> This setup is kinda kludgy, and looks like it will blow out every time you update GNUCash.
13:24:51 <wcattey> i have rather a lot of stocks, and changing them all by hand makes me sad.
13:24:51 *** noah_ is now known as noah
13:25:02 <wcattey> I don't know why setting "Fidelity Direct" failed.
13:25:13 <wcattey> Unless I need an API key for that too.
13:35:49 <wcattey> Although my finger is tired from all the mouse clicks to change it, the procedure in the FAQ worked for me.
13:35:51 <wcattey> Thanks Derek!
13:37:35 *** fabior has quit IRC
13:38:07 <warlord> you're welcome Bill
13:41:07 *** wcattey has left #gnucash
13:41:26 *** carwynnelson has joined #gnucash
13:48:07 *** reinaldo has joined #gnucash
13:50:54 *** gncbot sets mode: +o fell
13:53:23 <reinaldo> I updated the Finance::Quote. The new version was installed in another place(/usr/local/share/perl/5.22.1/Finance/). The new version is working, but Gnucash points to the old version(/usr/share/perl5/Finance/). How can I fix this?
13:55:29 <fell> @tell Aussie_matt https://wiki.gnucash.org/wiki/Release_Schedule has schedules for 2.7 until January 2018.
13:55:29 <gncbot> fell: The operation succeeded.
14:05:04 <fell> reinaldo, the short answer: uninstall the old version the same way as it was installed.
14:06:39 <fell> Alternativly you could manipulate your $PATH variable if you understand it's meaning.
14:08:38 <reinaldo> The old version was installed by Ubuntu Gnucash package. I don't know how to uninstall only the Finance::Quote. Is ther some simple way?
14:09:53 <fell> I don't use Ubuntu. Just use it's package manager and try to uninstall it.
14:10:38 <fell> I believe they have a policy to automatic install suggested packages.
14:13:00 <reinaldo> <fell> As I know the ubuntu's package doesn't have the new implementation of aplhavantage.pm in finance:quote. So, if a reinstall the package I will have the same problem. No?
14:14:55 <fell> As long as they do not offer the recent version of F::Q, you should *not* reinstall Ubuntu's version.
14:15:07 *** gal has joined #gnucash
14:15:47 <reinaldo> <fell> Do you know where, in the PATH, Gnucash points to Finace::Quote?
14:19:11 <fell> Oh, I just see, it is not in the general path.
14:19:54 <fell> There must be some path which /user/bin/perl will use to load modules.
14:21:01 <fell> Can you try to simply uninstall ubuntus F::Q and then test again?
14:22:26 <reinaldo> <fell> There is not a separate F::Q package in Ubuntu.
14:22:57 <fell> Perl-finance-quote or similar?
14:26:23 <reinaldo> Could be this? libfinance-quote-perl
14:26:38 <fell> yep
14:27:09 <reinaldo> Ok. I will try
14:32:29 <reinaldo> Problem! If I remove this it will remove gnucash and gnucash-python. The only way is install not by Ubuntu's package, but by "tarball"?
14:33:43 *** frakturfreak has joined #gnucash
14:38:18 <fell> reinaldo, you should probably ask in the ubuntu forums, how to resolve it.
14:38:46 <fell> But feel free, to report here back.
14:44:28 <reinaldo> <fell> Thank for you support.
14:44:53 <fell> Welcome, reinaldo!
14:46:00 <lmat> I'm using gnucash 2.6.16. How do I get at the import map editor?
14:46:06 <lmat> It's not in the Tools window.
14:46:34 <lmat> I tried actually importing transactions (perhaps to prime the menu entry?) then closing and reopening the book, but that didn't help.
14:47:10 *** frakturfreak has quit IRC
14:54:30 <fell> gjanssens and jralls_afk, can you check https://wiki.gnucash.org/wiki/FAQ#GnuCash_2.0.x_Troubleshooting for sections, which belong to https://wiki.gnucash.org/wiki/FAQ#Current_GnuCash_all_OS_Troubleshooting instead?
15:02:10 <lmat> Is the dialog-import-map.c a new feature? I wouldn't think so!
15:06:09 <warlord> lmat: I think it is, allowing the user to reset the Bayes data.
15:06:31 <lmat> I see the logs that dialog-imap-editor.c goes back to 2015. warlord By new I meant 2.7 new :-)
15:06:40 <lmat> Do you see it in gnucash under Tools?
15:07:34 <warlord> Yes, I think new in 2.7. What menu item?
15:07:36 *** byzant has quit IRC
15:07:41 *** reinaldo has quit IRC
15:08:01 <lmat> warlord: Oh. Oh.
15:08:04 <lmat> warlord: Oh.
15:08:18 <lmat> warlord: I'm looking for Import Map Editor. But if it's new in 2.7, then ... oh.
15:09:37 <warlord> Yeah, no Tools -> Import Map Editor in 2.6
15:10:49 <lmat> warlord: Ah, you're right git ls-tree 3a9fbb899 src/gnome/
15:11:02 <lmat> Okay, got it. hmm
15:11:18 <lmat> I think it's going to have to be changed a good deal if kvps are going to be flat rather than hierarchical.
15:14:50 *** byzant has joined #gnucash
15:22:22 <warlord> ok
15:38:42 *** noah has quit IRC
15:41:16 *** marusich has joined #gnucash
15:43:45 *** byzant has quit IRC
15:45:04 *** byzant has joined #gnucash
16:07:03 *** marusich has quit IRC
16:07:23 *** marusich has joined #gnucash
16:07:36 *** gal has quit IRC
16:08:29 <lmat> warlord: I'm happy to report that the display is already flat: https://i.imgur.com/QzIi3M9.png
16:08:40 <lmat> So things are not as I feared.
16:11:02 *** marusich has quit IRC
16:20:54 *** noah has joined #gnucash
16:21:49 *** marusich has joined #gnucash
16:21:53 *** byzant has quit IRC
16:24:57 *** byzant has joined #gnucash
16:28:32 *** frakturfreak has joined #gnucash
16:37:11 *** luc14n0_ has joined #gnucash
16:37:30 *** luc14n0_ has left #gnucash
16:51:22 *** wcattey has joined #gnucash
16:53:47 *** Mechtilde has quit IRC
16:59:52 *** marusich has quit IRC
17:07:19 *** KaiForce has quit IRC
17:09:58 *** analysis has quit IRC
17:16:33 *** User has joined #gnucash
17:19:57 *** luc14n0 has joined #gnucash
17:21:52 *** gjanssens has quit IRC
17:22:42 *** wcattey has left #gnucash
17:31:02 *** jralls_afk is now known as jralls
17:35:42 <jralls> fell: I propose moving "How do I change the register colors?"..."I use KDE and tried the gnucash Gnome port, but my fonts look ugly" and deleting the rest. "Where can I find the gtk resource file" has changed a bit and needs to be updated.
17:37:48 <fell> jralls, what changed in "Where can I find the gtk resource file"?
17:47:38 <jralls> Gnome puts rc files in ~/.config nowadays. I think ~/.gtkrc-2.0 still works but ~/.config/gtkrc-2.0 is preferred.
17:48:35 <jralls> I don't know if that affects Windows.
17:49:02 <fell> OK, thanks, will improve it.
17:49:39 *** marusich has joined #gnucash
17:50:02 <fell> I just saw, there is also a section https://wiki.gnucash.org/wiki/FAQ#All_GnuCash_versions which needs some cleanup.
17:52:39 <jralls> Yeah, and GnuCash 2.2.x Windows Troubleshooting, too. There's probably other obsolete stuff scattered throughout.
17:53:13 <fell> As a first step, I will move 2.2 below windows
17:54:57 <luc14n0> Hi jralls. I got good news and bad news.
17:55:04 <jralls> As a zero'th step you can delete "When running th eOnline Banking Setup..." and "On startup I get an error message...". Those are both utterly obsolete.
17:55:23 <luc14n0> jralls: The unstable branch built without further problems. But now when I try to run GNUCash I got: 'gnucash: error while loading shared libraries: libgnc-gnome.so.0: cannot open shared object file: No such file or directory'
17:56:13 <jralls> luc14no: Did you run make install or are you trying to run from the build directory?
17:56:38 <luc14n0> I ran make install
17:57:21 <luc14n0> oh boy, I closed the tab where I ran it.
17:58:03 <luc14n0> I installed under /usr/local. And I can see this missing file there.
17:58:07 <jralls> Well, just look and make sure that libgnc-gnome.so.0 is where you installed it and that where you installed it is included in ld.so.conf.
17:59:20 <luc14n0> how do I check for the ld.so.conf?
18:01:13 <luc14n0> I got it. Let me see it here
18:03:00 <luc14n0> jralls: yeah, /usr/local/lib64 it's listed in ld.so.conf
18:05:21 *** lucky has joined #gnucash
18:05:51 <jralls> And /usr/local/lib64/libgnc-gnome.so.0 exists and has the right permissions?
18:06:20 *** meb has quit IRC
18:06:33 <jralls> If so, run ldd on it and make sure that all of its dependencies are installed in the right places.
18:10:53 <luc14n0> Alright, a little patience there because I never did it before, hang on.
18:14:25 <luc14n0> I ran and it shows some libs that are installed and in place but says 'not found'.
18:15:13 *** User has quit IRC
18:17:08 <chris> Does anyone have a recommendation of an IDE that I can use for hacking gnucash-dev ? I'm new to all of them
18:18:42 <jralls> luc14n0: Permissions issues? Wrong architecture? Installation location not in ld.so.conf or LD_LIBRARY_PATH?
18:19:43 <jralls> chris: I use emacs. gjanssens and lmat like kdevelop.
18:20:02 <chris> emacs, wow...
18:20:30 <chris> i'll keep trying to set up kdevelop
18:20:43 <jralls> chris: I'd think a lisper like you would love emacs! ;-)
18:22:48 <chris> lol... I've just managed to (see (through) parens) 3 months ago, it's another stretch to grasp C-weird M-combinations
18:23:24 <luc14n0> jralls: permissions seems ok, I built in x64, /usr/local is shown in ld.so.conf. Now let me check LD_LIBRARY_PATH.
18:26:28 <jralls> luc14n0: You might need to run ldconfig. There may be an /etc/ld.so.cache that lists known files and that might be useful for diagnosing the problem.
18:27:14 <luc14n0> jralls: ok
18:32:23 <luc14n0> jralls: The output has some character encoding issues but list a storm of libs
18:33:02 <jralls> luc14n0: Do you not know how to use grep?
18:33:42 <luc14n0> Basically yeah
18:33:58 <luc14n0> what you have in mind?
18:40:34 <jralls> Duh. grep /etc/ld.so.cache for the libraries that ldd says are "not found". It should return nothing. Grep for the directories they're in. It should also return nothing. Examine ld.so.conf to see why those directories are not being searched. Correct ld.so.conf and run ldconfig. Lather-rinse-repeat until ldd finds all of gnucash's dependency tree.
18:40:50 <jralls> At that point GnuCash should run.
18:41:36 <jralls> This is all system knowledge that I'd expect a major distro's packager to be fluent in.
18:43:37 <luc14n0> I think I can do it, but I'm still learning so let's not rush it.
18:46:55 <jralls> luc14n0: If you're not the GnuCash packager for OpenSuSE then you need to get him in the loop. If you're taking over that position as the first time then hook up with more experienced packagers and learn how to do it. I don't even use OpenSuSE so I'm not the right person to teach you.
18:47:30 <jralls> Sorry, s/as the first time/as a first-time packager/
18:50:58 <luc14n0> jralls: It's not the first time. And I have the GNOME maintainers to reach for. The unstable version of gnucash is not high priority to get shipped, so I'm taking care of it.
18:52:33 <jralls> luc14n0: OK. I suppose by "Gnome maintainers" you mean OpenSuSE packagers, not the folks who hang out on #gnome on this server.
18:53:56 <luc14n0> yes, I mean the core GNOME maintainers. Not GNOME team member.
18:56:28 <jralls> You mean core Gnome maintainers like Matthias Classen or Emmanuel Bassi?
18:58:21 *** frakturfreak has quit IRC
18:58:49 <luc14n0> sorry, core openSUSE GNOME maintainers, the ones that work for SUSE. One of them is the chairman of openSUSE Project, another on is release Manager of Tumbleweed, another one is Desktop release Manager.
19:01:17 <jralls> OK.
19:03:17 *** CDB-Away_ has joined #gnucash
19:04:19 *** CDB-Man_ has joined #gnucash
19:04:55 *** carwynnelson has quit IRC
19:05:14 *** CDB-Man has quit IRC
19:05:15 *** carwynnelson has joined #gnucash
19:05:42 *** CDB-Away has quit IRC
19:08:28 *** carwynnelson has quit IRC
19:11:42 <chris> I"ll have to ask 1 question for emacs-scheme - can it jump to the definition of a function across files? DrRacket is good at this but is limited intra-file jumps only
19:18:57 *** carwynnelson has joined #gnucash
19:20:32 *** carwynnelson has quit IRC
19:20:52 *** carwynnelson has joined #gnucash
19:23:11 <luc14n0> jralls: sorry, I didn't get your idea at a first glance. Now when I run gnucash it doesn't complain about libraries, but dumps a core that I will have it analyzed. Another day I give you some feedback.
19:24:03 *** carwynnelson has quit IRC
20:04:03 *** spamking has joined #gnucash
20:04:41 *** spamking has quit IRC
20:07:09 <CDB-Man_> jralls: so the fix you suggested worked for equities, but not for currency. it looks like alphavantage also cannot be selected for currency
20:14:26 *** opal has joined #gnucash
20:16:35 <opal> ✿ hi, i see gnucash is also on the f-droid archive repos but it isn't the latest version and is listed as unmaintained. is there any reason that the app is only available on google play? ❀
20:26:16 *** ArtGravity has quit IRC
20:43:37 *** noah has quit IRC
21:35:11 *** carwynnelson has joined #gnucash
21:38:21 *** carwynnelson has quit IRC
21:43:42 *** luc14n0 has left #gnucash
21:55:51 <lmat> chris: kdevelop has been pretty good at showing dependencies; I use vim.
21:56:08 <lmat> chris: I haven't tried to build, run, or debug gnucash with kdevelop.
23:17:00 *** CDB-Man_ has quit IRC
23:17:21 *** CDB-Man has joined #gnucash
23:25:40 *** marusich has quit IRC
23:55:54 *** fekepp has quit IRC