Unable to select Finance::Quote as online source
Thomas Baumgart
thb at net-bembel.de
Tue Dec 3 08:21:45 GMT 2019
On Montag, 2. Dezember 2019 22:38:00 CET Jochen wrote:
> Am 02.12.2019 um 16:00 schrieb Thomas Baumgart:
> > On Montag, 2. Dezember 2019 15:44:21 CET Jochen wrote:
> >
> >> Am 21.11.2019 um 10:41 schrieb Thomas Baumgart:
> >>
> >>> Yes, it did that all the time. The logic did not change. After clearing the
> >>> combo box entries it asks Finance::Quote for a listing of sources and that for
> >>> some reason returns an empty list.
> >>>
> >>> I tried to duplicate the problem yesterday and found out that the list remains
> >>> empty for me because F::Q does not run on my box (due to missing Perl
> >>> modules). I installed a whole bunch but am not yet done.
> >>>
> >>> The consequence of the empty list is that the marked checkbox is not
> >>> permanently stored. As soon as there will be entries in the combo box the
> >>> setting will be stored.
> >>
> >> Finance::Quote is installed, aptitude does not report any missing packages.
> >> But KMyMoney 5.0.7 does not deliver sources (empty list) when I check "use
> >> Finance::Quote". How can I find out what's missing?
> >
> > That's easy. Start financequote.pl from the command line. I get the following:
> >
> > --- 8< ---
> > thb at thb-nb:~/Documents/draabe$ /usr/share/kmymoney/misc/financequote.pl
> > Can't locate JSON/Parse.pm in @INC (you may need to install the JSON::Parse module) (@INC contains: /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.1 /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1 /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/site_perl) at /usr/lib/perl5/site_perl/5.26.1/Finance/Quote/MorningstarAU.pm line 27.
> > BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.26.1/Finance/Quote/MorningstarAU.pm line 27.
> > Compilation failed in require at (eval 296) line 1.
> > BEGIN failed--compilation aborted at (eval 296) line 1.
> > at /usr/share/kmymoney/misc/financequote.pl line 69.
> > Can't locate object method "methods" via package "Finance::Quote::MorningstarAU" at /usr/lib/perl5/site_perl/5.26.1/Finance/Quote.pm line 120.
> > --- 8< ---
> >
> > What do you see?
>
> $ /usr/share/kmymoney/misc/financequote.pl
> Undefined fetch-method passed to Finance::Quote::fetch at /usr/share\/kmymoney/misc/financequote.pl line 87.
> Error 1
>
> If I assume that financequote.pl should have been called with at least 2 parameters, it seems to be o.k.?
It was found and can start. Here's what is next: run it with -l (that is the lowercase letter L) as argument
/usr/share/kmymoney/misc/financequote.pl -l
That is how KMyMoney calls it to retrieve the list of sources.
--
Regards
Thomas Baumgart
https://www.signal.org/ Signal, the better WhatsApp
-------------------------------------------------------------
Real programmers don’t write workarounds. They tell their users
to upgrade their software. -- Shlomi Fish
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20191203/157fecc4/attachment.sig>
More information about the KMyMoney
mailing list