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 752879 - Finance::Quote TZ Date::Manip config variable is deprecated and will be removed in March 2016
Finance::Quote TZ Date::Manip config variable is deprecated and will be remov...
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:49 UTC by Chris Good
Modified: 2018-06-29 23:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chris Good 2015-07-26 05:49:28 UTC
After installing Finance::Quote 1.37 on Windows 10:

In a command window:
cd \Program Files (x86)\gnucash\bin
echo (yahoo "AMZN") | perl -w gnc-fq-helper
WARNING: the TZ Date::Manip config variable is deprecated
         and will be removed in March 2016.  Please use
         the SetDate or ForceDate config variables instead.
(("AMZN" (symbol . "AMZN") (gnc:time-no-zone . "2015-07-24 16:00:00") (last . 529.42) (currency . "USD")))

Does anyone know if Strawberry perl have any plans to fix Date::Manip?
I'll follow this up with Erik Colson <eco@ecocode.net> if I don't hear this is already being handled soon.
Comment 1 John Ralls 2015-07-26 14:26:00 UTC
Strawberry perl just wraps stuff up for Windows. All of Perl's module is done in CPAN, and the Date::Manip project's page is http://search.cpan.org/~sbeck/Date-Manip-6.50/lib/Date/Manip.pod. The maintainer is Sullivan Beck. Erik Colson maintains Finance::Quote.

None of which has much to do with the problem at hand: The offending use of the TZ variable is in gnc-fq-helper. I don't get the warning on my Mac after updating Date::Manip, but it should be an easy fix to initialize D::M according to the current docs.
Comment 2 John Ralls 2015-07-26 20:12:22 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.
Comment 3 John Ralls 2018-06-29 23:42:07 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=752879. Please update any external references or bookmarks.