FS#18202 - [gnucash] stock quote updates break with perl-date-manip-6

Attached to Project: Arch Linux
Opened by Glenn Johnson (glennpj) - Sunday, 07 February 2010, 07:00 GMT
Last edited by Giovanni Scafora (giovanni) - Sunday, 07 February 2010, 22:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The stock quote retrieval mechanism of gnucash does not work with perl-date-manip-6. Need to stay with perl-date-manip-5.

Additional info:
* perl-date-manip-6.07-1
* perl-finance-qoute-1.17-1
* gnucash-2.2.9-4

See http://search.cpan.org/~sbeck/Date-Manip-6.07/lib/Date/Manip/Migration5to6.pod
There may be other packages that have problems with perl-date-manip-6.


Steps to reproduce:
Install the latest version of perl-date-manip
run the command: echo '(yahoo "CSCO")'|gnc-fq-helper
The output is:
Not an ARRAY reference at /usr/share/perl5/vendor_perl/Date/Manip/Date.pm line 1352, <> line 1.

Switch back to perl-date-manip-5.54-1 and the output is:
(("CSCO" (symbol . "CSCO") (gnc:time-no-zone . "2010-02-05 16:00:00") (last . 23.70) (currency . "USD")))

This task depends upon

Closed by  Giovanni Scafora (giovanni)
Sunday, 07 February 2010, 22:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  perl-date-manip-6.07-3 fixes that issue.
Comment by Thomas Dziedzic (tomd123) - Sunday, 07 February 2010, 15:06 GMT
It would probably be a smart idea to file a bug upstream so they can switch their code to handle 6.
Comment by Giovanni Scafora (giovanni) - Sunday, 07 February 2010, 22:21 GMT
Try with perl-date-manip-6.07-3 and let me know.
perl-date-manip-6.07-3 fixes that issue.
I got the following:

(("CSCO" (symbol . "CSCO") (gnc:time-no-zone . "2010-02-05 16:00:00") (last . 23.70) (currency . "USD")))
Comment by Glenn Johnson (glennpj) - Sunday, 07 February 2010, 22:54 GMT
I tried with perl-date-manip-6.07-3 and it does indeed fix the issue. So I guess I should cancel the bug report I filed with gnucash as this was Arch specific.
Comment by Giovanni Scafora (giovanni) - Sunday, 07 February 2010, 22:59 GMT
Yes.

Loading...