After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 752878 - There was an unknown error while retrieving the price quotes - Missing Date::Manip
There was an unknown error while retrieving the price quotes - Missing Date::...
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: General
git-maint
Other Windows
: Normal normal
: ---
Assigned To: gnucash-general-maint
gnucash-general-maint
Depends on:
Blocks:
 
 
Reported: 2015-07-26 05:30 UTC by Chris Good
Modified: 2018-06-29 23:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chris Good 2015-07-26 05:30:30 UTC
I have done a new (not upgrade) install of Windows 10, installed GnuCash 2.6.7 and run 
 Install Online Price Retrieval for GnuCash
to install Strawberry perl + Finance::Quote.
This failed when C:\Program Files (x86)\gnucash\bin\install-fq-mods.cmd ran 
 echo (yahoo "AMZN") | perl -w gnc-fq-help
saying something like Date::Manip was missing (sorry, I did not record exact error).

I tried to 'Get Quotes' in GnuCash and got error :
 *There was an unknown error while retrieving the price quotes*

In a command window:
 cd \Program Files (x86)\gnucash\bin
 echo (yahoo "CSCO" "JDSU" "^IXIC") | perl gnc-fq-helper
showed Date::Manip was missing.

In a command window, ran:
 cpan install Date::Manip
and Get Quotes now works.

I see src/quotes/gnc-fq-update.in was modified 10/2/2015 for 2.6.7 to remove install of Date::Manip (+others). Date::Manip (only) needs to be put back.
Finance::Quote does not require Date::Manip but GnuCash uses gnc-fq-helper to interface to Finance::Quote, and gnc-fq-helper DOES need Date::Manip.

BTW GnuCash seems to work fine in Windows 10 in all my testing so far, apart from this problem.
Comment 1 John Ralls 2015-07-26 14:03:57 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.

See https://github.com/Gnucash/gnucash/commit/42b3bfbbfe3c67d3c9cbfee6035ef9d2b8afc061
Comment 2 John Ralls 2018-06-29 23:42:05 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=752878. Please update any external references or bookmarks.