Bug 2021755

Summary: Unable to retrieve quotes
Product: [Fedora] Fedora Reporter: Michael Ballou <mikeblaa>
Component: perl-Finance-QuoteAssignee: Paul Howarth <paul>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 35CC: mikeblaa, notting, paul, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: noarch   
OS: Linux   
Whiteboard:
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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-19 01:14:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.