Bug 2021755 - Unable to retrieve quotes
Summary: Unable to retrieve quotes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Finance-Quote
Version: 35
Hardware: noarch
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-10 06:19 UTC by Michael Ballou
Modified: 2021-11-19 01:14 UTC (History)
4 users (show)

Fixed In Version: perl-Finance-Quote-1.51-2.fc36 perl-Finance-Quote-1.51-2.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-19 01:14:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael Ballou 2021-11-10 06:19:47 UTC
Description of problem:

First discovered when using GnuCash. Attempted to use the GnuCash -> Tools -> Price Database -> Get Quotes function to update securities prices and observed an error dialog reporting "Unable to retrieve quotes for these items." Filed a bug with the GnuCash project (see https://bugs.gnucash.org/show_bug.cgi?id=798364) and through that bug discovered the problem was with the perl-Finance-Quote component.

Bottom line, the perl-Finance-Quote component (the Perl Finance::Quote module) was unable to retrieve quotes from Yahoo Finance. See Additional Info section for the fix.


Version-Release number of selected component (if applicable):

perl-Finance-Quote-1.51-1.fc35.noarch


How reproducible:

Always


Steps to Reproduce:

1. Fresh clean install of Fedora 35
2. sudo dnf install gnucash
3. gnc-fq-dump yahoo_jason VTI


Actual results:

gnc-fq-dump was unable to retrieve price quotes.


Expected results:

gnc-fq-dump was successfully able to retrieve price quotes.


Additional info:

Through the bug filing at https://bugs.gnucash.org/show_bug.cgi?id=798364, I discovered that the perl-Finance-Quote component actually depends on the perl-LWP-Protocol-https component but the perl-LWP-Protocol-https component is not installed as a dependency of perl-Finance-Quote.

To reproduce, I restarted from a fresh clean install of Fedora 35 and this is what I found:

1. Fresh clean install of Fedora 35
2. sudo dnf install gnucash
3. gnc-fq-dump yahoo_jason VTI  ### Error, no quotes
4. sudo dnf install perl-LWP-Protocol-https
5. gnc-fq-dump yahoo_jason VTI  ### Success, getting quotes!!!

Suggest updating the packaging of perl-Finance-Quote to have perl-LWP-Protocol-https as an explicit dependency.

Comment 2 Fedora Update System 2021-11-10 15:24:11 UTC
FEDORA-2021-071bae5fdc has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-071bae5fdc

Comment 3 Michael Ballou 2021-11-10 16:56:34 UTC
Wow, thanks for the amazingly fast response!

Comment 4 Paul Howarth 2021-11-10 21:02:42 UTC
Well it wasn't exactly a difficult fix :-)

Comment 5 Michael Ballou 2021-11-10 22:02:22 UTC
Haha, ya, but still, you could have sat on it for a week or two but you didn't! There were so few previous issues with this component I was almost afraid there was no one out there to make the fix, it was just on autopilot or something. Thanks again!

Comment 6 Fedora Update System 2021-11-11 04:37:26 UTC
FEDORA-2021-071bae5fdc has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-071bae5fdc`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-071bae5fdc

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2021-11-19 01:14:20 UTC
FEDORA-2021-071bae5fdc has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.