Unable to select Finance::Quote as online source

Jochen jochen at r-ci.de
Mon Dec 2 21:38:00 GMT 2019


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.?


More information about the KMyMoney mailing list