Description of problem: Yahoo shut down their finance API last year (2017), breaking perl-finance-quote. In response, perl-finance-quote switched to AlphaVantage to remain functional, and then released version 1.39: http://cpansearch.perl.org/src/ECOCODE/Finance-Quote-1.39/htdocs/index.html This notably affects the quote fetching feature of Gnucash. Version-Release number of selected component (if applicable): All versions below 1.39. How reproducible: 100% Steps to Reproduce: To see this issue: 1. Open Gnucash. 2. Create some accounts with different currencies. 3. Select "Tools->Price editor" from the menu. 4. Click on the "Get Quotes" button. A pop up window will appear saying "Unable to retrieve quotes for these items:... CURRENCY:EUR, CURRENCY:GBP, CURRENCY:USD, etc.".
URL: (none) => http://cpansearch.perl.org/src/ECOCODE/Finance-Quote-1.39/htdocs/index.html
Assigning to the registered perl-Finance-Quote maintainer Btw, why do we have perl-Finance-Quote-1.380.0-3.mga6 instead of perl-Finance-Quote-1.38.0-3.mga6? Is that because of Version: %perl_convert_version %{upstream_version} If so, why does it need to be converted like that?
Assignee: bugsquad => shlomifCC: (none) => marja11Source RPM: (none) => perl-Finance-Quote-1.380.0-3.mga6
(In reply to Marja van Waes from comment #1) > Assigning to the registered perl-Finance-Quote maintainer > thanks! I submitted 1.470 to 6/updates_testing. > Btw, why do we have perl-Finance-Quote-1.380.0-3.mga6 instead of > perl-Finance-Quote-1.38.0-3.mga6? Is that because of > > Version: %perl_convert_version %{upstream_version} > yes. > If so, why does it need to be converted like that? this is because 1.38 is considered 1.380.0 in perl land.
Assigning to QA for testing.
Status: NEW => ASSIGNEDAssignee: shlomif => qa-bugs
MGA6-32 on Dell Latitude D600 MATE No installation issues. Test before update: I have my accounts in gnucash in Euro, added another dummy in AUD, and run the test as described above. I get this error. Closed gnucash, installed the update and do the test again. I get the same error. I noticed that on this test laptop I have gnucash 2.6.19( seen as stable from MCC), while on my MGA6-64 desktop I have 2.6.18, and the newer version not seen in MCC. This desktop is fully updated (not test repo's enabled).
CC: (none) => herman.viaene
Can the new 1.470 package also be put into "Core Updates Testing"? I can only see it in "Core 32bit Updates Testing", hence I assume that is why I cannot test it. Cheers!
Sorry, the 32bit package works. I followed the instructions at: https://wiki.gnucash.org/wiki/FAQ#Q:_Why_doesn.27t_online_quoting_work.3F The quote fetching works after obtaining a free key according to the above, and then running: """ $ export ALPHAVANTAGE_API_KEY=XXXXXXXXXXXXXX $ gnc-fq-dump alphavantage CSCO Finance::Quote fields Gnucash uses: symbol: CSCO <=== required date: 04/17/2018 <=== recommended currency: USD <=== required last: 44.5900 <=\ nav: <=== one of these price: <=/ timezone: <=== optional """ Now I need to work out why it doesn't work within Gnucash 2.6.18. The instructions to go to "Tools->Security Editor" and changing the "Quote Source Information" to "unknown: alphavantage" does nothing. It seems like this setting cannot be saved (editing the currency a second time shows that the setting is not saved).
More testing shows that the following command works when gnucash is not running and allows (at least some) of the quotes to be updated: $ gnucash --add-price-quotes /path/to/file.gnucash After this, I also updated to gnucash 2.6.19 as found in "Core Updates Testing". This made no difference to the "gnucash --add-price-quotes" fetching or the inability to change the currency source to alphavantage in the Security Editor.