Fwd: Unable to select Finance::Quote as online source

Thomas Baumgart thb at net-bembel.de
Mon Dec 2 15:00:58 GMT 2019


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?


-- 

Regards

Thomas Baumgart

https://www.signal.org/       Signal, the better WhatsApp
-------------------------------------------------------------
Q: How do I deal with memory leaks?
A: By writing code that doesn't have any. -- Bjarne Stroustrup
-------------------------------------------------------------
-------------- 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/20191202/06673988/attachment.sig>


More information about the KMyMoney mailing list