Skip Menu |

This queue is for tickets about the Finance-Quote CPAN distribution.

Report information
The Basics
Id: 62104
Status: resolved
Worked: 20 min
Priority: 0/
Queue: Finance-Quote

People
Owner: eco [...] ecocode.net
Requestors: daveother [...] mac.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: TIAA-CREF quotes not working
Date: Wed, 13 Oct 2010 08:35:48 -0400
To: bug-Finance-Quote [...] rt.cpan.org
From: daveother [...] mac.com
Sometime in the last week or so, the TIAA-CREF quotes appear to have stopped working. I am using Finance Quote from within the gnucash accounting program. Thanks, Dave
From: vincent.lucarelli [...] gmail.com
The download URL has changed. I attached a diff that seems to work for at least the TIAA-CREF annuities. Apply patch by finding Tiaacref.pm, changing to that directory, and running: Show quoted text
> patch -Np1 Tiaacref.pm Tiaacref.diff
Vince
Subject: Tiaacref.diff
47c47,48 < $CREF_URL = ("https://www3.tiaa-cref.org/ddata/DownloadData?"); --- > $CREF_URL = ("http://www.tiaa-cref.org/public/performance/retirement/data/results?"); > #https://www3.tiaa-cref.org/ddata/DownloadData?"); 258a260,273 > my $cbResult = 'cbResults='; > > my ($Fsec,$Fmin,$Fhour,$Fmday,$Fmon,$Fyear,$Fwday,$Fyday,$Fisdst) = localtime(time() - 24 * 60 * 60); > my ($Tsec,$Tmin,$Thour,$Tmday,$Tmon,$Tyear,$Twday,$Tyday,$Tisdst) = localtime(time()); > > $urlc = $CREF_URL; > $urlc .= "page=input"; > $urlc .= "&frommonth=" . ($Fmon + 1); > $urlc .= "&fromday=" . ($Fmday); > $urlc .= "&fromyear=" . ($Fyear + 1900); > $urlc .= "&tomonth=" . ($Tmon + 1); > $urlc .= "&today=" . ($Tmday); > $urlc .= "&toyear=" . ($Tyear + 1900); > $urlc .= "&sqlorder=desc&dldformat=1&submit.x=29&submit.y=7"; 260,261d274 < # $url = $TIAACREF_URL; < $urlc = $CREF_URL; 272c285,286 < $urlc .= "f" . $cntc . "=" . $tiaacref_vals{$fund} . "&"; --- > $urlc .= "&fundid" . $tiaacref_vals{$fund} . "=" . $tiaacref_vals{$fund}; > $cbResult .= ($cntc > 1) ? ( "%2C" . $tiaacref_vals{$fund}) : ($tiaacref_vals{$fund}) 283,284c297 < $urlc .= "days=1"; < $urlc .= "&dldformat=1"; --- > $urlc .= "&$cbResult"; 300a314 > 302c316,319 < foreach (split('\012',$qdata) ){ --- > foreach (split(/<br .>/,$qdata) ){ > next unless m/.+,.+/; > s/^ +//g; > s/ +$//g; 303a321 >
Subject: Re: [rt.cpan.org #62104] TIAA-CREF quotes not working
Date: Thu, 14 Oct 2010 21:47:22 -0400
To: bug-Finance-Quote [...] rt.cpan.org
From: David Reed <daveother [...] mac.com>
On Oct 14, 2010, at 8:21 PM, Vincent Lucarelli via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=62104 > > > The download URL has changed. I attached a diff that seems to work > for at least the TIAA-CREF annuities. > > Apply patch by finding Tiaacref.pm, changing to that directory, and > running: >
>> patch -Np1 Tiaacref.pm Tiaacref.diff
> > Vince > <Tiaacref.diff>
Yes, that fixes it for me. Thanks! Dave
Thanks Vincent, Patch applied -- Erik
From: dbreiser [...] gmail.com
On Sat Oct 16 03:50:49 2010, ecocode wrote: Show quoted text
> Thanks Vincent, > > Patch applied
This new version fails on Mondays before that day's value is posted (sometime after 8pm US Eastern time). It probably also fails on Sundays, but I didn't run the new version until Monday. The new version also returns yesterday's quote instead of today's quote every day except Monday nights. If numdays=n is passed, then the website ignores the date range, and we can avoid all the date calculations. We have to use numdays=2 because numdays=1 returns nothing on weekdays before the new quote is posted. By setting sqlorder=asc instead of =desc, the routine will still return the most recent quote even when the database returns 2 quotes per symbol (tues-fri, 8pm ET until midnight localtime). The attached patch needs to be applied after the prior patch in this thread. Dave
Subject: tiaacref.diff
diff recent/Tiaacref.pm new/Tiaacref.pm 262,264d261 < my ($Fsec,$Fmin,$Fhour,$Fmday,$Fmon,$Fyear,$Fwday,$Fyday,$Fisdst) = localtime(time() - 24 * 60 * 60); < my ($Tsec,$Tmin,$Thour,$Tmday,$Tmon,$Tyear,$Twday,$Tyday,$Tisdst) = localtime(time()); < 266,273c263 < $urlc .= "page=input"; < $urlc .= "&frommonth=" . ($Fmon + 1); < $urlc .= "&fromday=" . ($Fmday); < $urlc .= "&fromyear=" . ($Fyear + 1900); < $urlc .= "&tomonth=" . ($Tmon + 1); < $urlc .= "&today=" . ($Tmday); < $urlc .= "&toyear=" . ($Tyear + 1900); < $urlc .= "&sqlorder=desc&dldformat=1&submit.x=29&submit.y=7"; --- > $urlc .= "page=input&numdays=2&sqlorder=asc&dldformat=1&submit.x=29&submit.y=7";
From: mta [...] umich.edu
The attached patch allows the TIAA-CREF module to retrieve quotes for over 70 additional funds. It must be applied after the previous two patches.
Subject: Tiaacref3.diff

Message body is not shown because it is too large.

From: mta [...] umich.edu
I found a problem with my previous patch and have attached a further small patch to fix it. If you attempt to retrieve quotes for both personal and institutional funds in the same call, it would fail for one of the institutional funds.
Subject: Tiaacref4.diff
--- lib/Finance/Quote/Tiaacref.pm 2010-12-11 00:24:50.000000000 -0500 +++ lib/Finance/Quote/Tiaacref.pm 2010-12-29 01:26:58.000000000 -0500 @@ -627,6 +627,7 @@ if (length($qdata)) { foreach (split(/<br .>/,$qdata) ){ next unless m/.+,.+/; + s/[\r\n]+//g; s/^ +//g; s/ +$//g; @line = $quoter->parse_csv($_);
From: mta [...] umich.edu
TIAA/CREF changed their web site again and broke this module. Carl LaCombe came up with a new version which seems to work fine. He did a lot of work digging out the new account codes for 195 different funds. He sent his new version to me and agreed that I should post it here. Since the changes were extensive and the patch would be considerably larger than the source I've attached the new version of the Tiaacref.pm file to this response
Subject: Tiaacref.pm.zip
Download Tiaacref.pm.zip
application/zip 10.3k

Message body not shown because it is not plain text.

Hi, I downloaded your new file and rapidly tested it against tiaacref.t Much tests are now succeeding but 6 of them still fail... Any idea ? t/tiaacref.t .. 1..23 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 not ok 11 not ok 12 not ok 13 not ok 14 not ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 not ok 21 ok 22 ok 23 -- Erik
Failing tests where due to unsupported symbols. Modified test file to reflect new/other symbols. -- Erik
Subject: Re: [rt.cpan.org #62104] Resolved: TIAA-CREF quotes not working
Date: Sun, 30 Sep 2012 07:56:22 -0400
To: bug-Finance-Quote [...] rt.cpan.org
From: daveother [...] mac.com
On Sep 30, 2012, at 5:35 AM, Erik Colson via RT <bug-Finance-Quote@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=62104 > > > According to our records, your request has been resolved. If you have any > further questions or concerns, please respond to this message.
The recent (early Sep 2012 I think) changes TIAA-CREF made to their website broke it for me. I downloaded the updated Tiaacref.pm file and put it in the right place on my Mac system, but gnucash cannot get those quotes (it was before September and other quotes still work). Here's the error I get when running the command from the shell no matter which capitalization I use for the symbol. $ /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-dump tiaacref crefBOND Finance::Quote fields Gnucash uses: symbol: crefBOND (deduced) <=== required date: ** missing ** <=== required currency: ** missing ** <=== required last: <=\ nav: <=== one of these price: <=/ timezone: <=== optional ** This stock quote cannot be used by gnucash!! $ /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-dump tiaacref CREFbond Finance::Quote fields Gnucash uses: symbol: CREFbond (deduced) <=== required date: ** missing ** <=== required currency: ** missing ** <=== required last: <=\ nav: <=== one of these price: <=/ timezone: <=== optional ** This stock quote cannot be used by gnucash!! Dave
On Sun Sep 30 07:56:35 2012, daveother@mac.com wrote: Show quoted text
> $ /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-dump > tiaacref CREFbond > Finance::Quote fields Gnucash uses: > symbol: CREFbond (deduced) <=== required > date: ** missing ** <=== required > currency: ** missing ** <=== required > last: <=\ > nav: <=== one of these > price: <=/ > timezone: <=== optional > > ** This stock quote cannot be used by gnucash!!
Hi, I just added tests to tiaacref.t for this particular case CREFbond. All tests pass on the master branch. Please check you used the latest version from the master branch on github. best -- Erik
Subject: Re: [rt.cpan.org #62104] TIAA-CREF quotes not working
Date: Sun, 30 Sep 2012 08:26:39 -0400
To: bug-Finance-Quote [...] rt.cpan.org
From: daveother [...] mac.com
On Sep 30, 2012, at 8:17 AM, Erik Colson via RT <bug-Finance-Quote@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=62104 > > > On Sun Sep 30 07:56:35 2012, daveother@mac.com wrote:
>> $ /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-dump >> tiaacref CREFbond >> Finance::Quote fields Gnucash uses: >> symbol: CREFbond (deduced) <=== required >> date: ** missing ** <=== required >> currency: ** missing ** <=== required >> last: <=\ >> nav: <=== one of these >> price: <=/ >> timezone: <=== optional >> >> ** This stock quote cannot be used by gnucash!!
> > Hi, > > I just added tests to tiaacref.t for this particular case CREFbond. All tests pass on the master > branch. Please check you used the latest version from the master branch on github. > > best > > -- > Erik
I just did a git clone of https://github.com/pfenwick/finance-quote and copied lib/Finance/Quote/Tiaacref.pm to the directory where it was on my Mac 10.8.1 system: /Library/Perl/5.12/Finance/Quote/ and I still get the same error from the command line as above and the error from gnucash. It obviously could be something with my system, but everything was working (it looks like Aug 24 is the last time gnucash downloaded Tiaacref quotes) and all the other symbols from other sources (yahoo) do work. Thanks, Dave
Please check you run the correct Tiaacref.pm This should give you the exact location of Tiaacref.pm perldoc -lm Finance::Quote::Tiaacref Is this where you've put the one from the master branch ? If yes, get tiaacref.t from the t/ directory and launch the next command: prove -v tiaacref.t This should run the tiaacref test suite on your system. (Send me the output of the command) If that fails (it doesn't on my system), you should probably reinstall Finance::Quote. best -- Erik
Subject: Re: [rt.cpan.org #62104] TIAA-CREF quotes not working
Date: Sun, 30 Sep 2012 08:49:16 -0400
To: bug-Finance-Quote [...] rt.cpan.org
From: daveother [...] mac.com
On Sep 30, 2012, at 8:35 AM, Erik Colson via RT <bug-Finance-Quote@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=62104 > > > Please check you run the correct Tiaacref.pm > This should give you the exact location of Tiaacref.pm > > perldoc -lm Finance::Quote::Tiaacref > > Is this where you've put the one from the master branch ? > > If yes, get tiaacref.t from the t/ directory and launch the next command: > > prove -v tiaacref.t > > This should run the tiaacref test suite on your system. (Send me the output of the command) > If that fails (it doesn't on my system), you should probably reinstall Finance::Quote. > > best > -- > Erik
Thanks for all your help. $ perldoc -lm Finance::Quote::Tiaacref /Library/Perl/5.12/Finance/Quote/Tiaacref.pm which is where I just put the file: $ ls -l `perldoc -lm Finance::Quote::Tiaacref` -r--r--r--@ 1 root wheel 47848 Sep 30 08:22 /Library/Perl/5.12/Finance/Quote/Tiaacref.pm prove -v yahoo.t does work, but the tiaacref.t fails. See output below. I can try re-installing F:Q if you think that will work. gnucash did the original installation, but I'm a former Linux user who converted to Mac so hopefully I can figure out how to get the files there. I'll have to see if the INSTALL instructions: $ perl Makefile.PL $ make # make install (as root) but them where they should be and allow gnucash to find them. $ prove -v tiaacref.t tiaacref.t .. 1..0 # SKIP Set $ENV{ONLINE_TEST} to run this test skipped: Set $ENV{ONLINE_TEST} to run this test Files=1, Tests=0, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.08 cusr 0.01 csys = 0.11 CPU) Result: NOTESTS so I did: export ONLINE_TEST=1 $ prove -v tiaacref.t tiaacref.t .. 1..27 ok 1 not ok 2 not ok 3 not ok 4 not ok 5 not ok 6 Use of uninitialized value within %quotes in numeric gt (>) at tiaacref.t line 21. # Failed test at tiaacref.t line 21. Use of uninitialized value within %quotes in string eq at tiaacref.t line 22. # Failed test at tiaacref.t line 22. # Failed test at tiaacref.t line 23. Use of uninitialized value in substr at tiaacref.t line 24. Argument "" isn't numeric in numeric eq (==) at tiaacref.t line 24. Use of uninitialized value in substr at tiaacref.t line 24. Argument "" isn't numeric in numeric eq (==) at tiaacref.t line 24. # Failed test at tiaacref.t line 24. Use of uninitialized value in substr at tiaacref.t line 26. substr outside of string at tiaacref.t line 26. Use of uninitialized value in numeric eq (==) at tiaacref.t line 26. Use of uninitialized value in substr at tiaacref.t line 26. substr outside of string at tiaacref.t line 26. Use of uninitialized value in numeric eq (==) at tiaacref.t line 26. # Failed test at tiaacref.t line 26. Use of uninitialized value within %quotes in numeric gt (>) at tiaacref.t line 29. not ok 7 # Failed test at tiaacref.t line 29. not ok 8 # Failed test at tiaacref.t line 30. Use of uninitialized value in substr at tiaacref.t line 31. Argument "" isn't numeric in numeric eq (==) at tiaacref.t line 31. Use of uninitialized value in substr at tiaacref.t line 31. Argument "" isn't numeric in numeric eq (==) at tiaacref.t line 31. not ok 9 # Failed test at tiaacref.t line 31. Use of uninitialized value in substr at tiaacref.t line 33. substr outside of string at tiaacref.t line 33. Use of uninitialized value in numeric eq (==) at tiaacref.t line 33. Use of uninitialized value in substr at tiaacref.t line 33. substr outside of string at tiaacref.t line 33. Use of uninitialized value in numeric eq (==) at tiaacref.t line 33. not ok 10 # Failed test at tiaacref.t line 33. not ok 11 # Failed test at tiaacref.t line 36. Use of uninitialized value within %quotes in numeric gt (>) at tiaacref.t line 37. not ok 12 # Failed test at tiaacref.t line 37. not ok 13 # Failed test at tiaacref.t line 38. Use of uninitialized value in substr at tiaacref.t line 39. Argument "" isn't numeric in numeric eq (==) at tiaacref.t line 39. Use of uninitialized value in substr at tiaacref.t line 39. Argument "" isn't numeric in numeric eq (==) at tiaacref.t line 39. not ok 14 # Failed test at tiaacref.t line 39. Use of uninitialized value in substr at tiaacref.t line 41. substr outside of string at tiaacref.t line 41. Use of uninitialized value in numeric eq (==) at tiaacref.t line 41. Use of uninitialized value in substr at tiaacref.t line 41. substr outside of string at tiaacref.t line 41. Use of uninitialized value in numeric eq (==) at tiaacref.t line 41. not ok 15 # Failed test at tiaacref.t line 41. not ok 16 # Failed test at tiaacref.t line 44. Use of uninitialized value within %quotes in numeric gt (>) at tiaacref.t line 45. not ok 17 # Failed test at tiaacref.t line 45. not ok 18 # Failed test at tiaacref.t line 46. Use of uninitialized value in substr at tiaacref.t line 47. Argument "" isn't numeric in numeric eq (==) at tiaacref.t line 47. Use of uninitialized value in substr at tiaacref.t line 47. Argument "" isn't numeric in numeric eq (==) at tiaacref.t line 47. not ok 19 # Failed test at tiaacref.t line 47. Use of uninitialized value in substr at tiaacref.t line 49. substr outside of string at tiaacref.t line 49. Use of uninitialized value in numeric eq (==) at tiaacref.t line 49. Use of uninitialized value in substr at tiaacref.t line 49. substr outside of string at tiaacref.t line 49. Use of uninitialized value in numeric eq (==) at tiaacref.t line 49. not ok 20 # Failed test at tiaacref.t line 49. not ok 21 # Failed test at tiaacref.t line 52. ok 22 not ok 23 not ok 24 not ok 25 # Failed test at tiaacref.t line 55. # Failed test at tiaacref.t line 57. Use of uninitialized value within %quotes in numeric gt (>) at tiaacref.t line 58. # Failed test at tiaacref.t line 58. Use of uninitialized value within %quotes in string eq at tiaacref.t line 59. not ok 26 # Failed test at tiaacref.t line 59. Use of uninitialized value in substr at tiaacref.t line 60. substr outside of string at tiaacref.t line 60. Use of uninitialized value in numeric eq (==) at tiaacref.t line 60. Use of uninitialized value in substr at tiaacref.t line 60. substr outside of string at tiaacref.t line 60. Use of uninitialized value in numeric eq (==) at tiaacref.t line 60. not ok 27 # Failed test at tiaacref.t line 60. # Looks like you failed 25 tests of 27. Dubious, test returned 25 (wstat 6400, 0x1900) Failed 25/27 subtests Test Summary Report ------------------- tiaacref.t (Wstat: 6400 Tests: 27 Failed: 25) Failed tests: 2-21, 23-27 Non-zero exit status: 25 Files=1, Tests=27, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.19 cusr 0.02 csys = 0.25 CPU) Result: FAIL
Show quoted text
> so I did: > export ONLINE_TEST=1
yep, that's needed ;) Show quoted text
> $ prove -v tiaacref.t > tiaacref.t .. > 1..27 > ok 1 > not ok 2
... Show quoted text
> ok 22 > not ok 23
... Since only test 1 and 22 succeed and even 23 failed, I guess your Finance::Quote installation is somehow corrupted. You can try by replacing the Quote.pm from the master branch, which could succeed. But in your place I'd go for a total replacement of all the Finance::Quote .pm files. (or a reinstallation) best -- Erik
Subject: Re: [rt.cpan.org #62104] TIAA-CREF quotes not working
Date: Sun, 30 Sep 2012 08:59:56 -0400
To: bug-Finance-Quote [...] rt.cpan.org
From: daveother [...] mac.com
On Sep 30, 2012, at 8:35 AM, Erik Colson via RT <bug-Finance-Quote@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=62104 > > > Please check you run the correct Tiaacref.pm > This should give you the exact location of Tiaacref.pm > > perldoc -lm Finance::Quote::Tiaacref > > Is this where you've put the one from the master branch ? > > If yes, get tiaacref.t from the t/ directory and launch the next command: > > prove -v tiaacref.t > > This should run the tiaacref test suite on your system. (Send me the output of the command) > If that fails (it doesn't on my system), you should probably reinstall Finance::Quote. > > best > -- > Erik
The one line should have been: puts them where they should be and allows gnucash to find them. I tried following the INSTALL instructions but it doesn't seem to update all the files. $ perl Makefile.PL Checking if your kit is complete... Warning: the following files are missing in your kit: META.yml Please inform the author. Writing Makefile for Finance::Quote $ make $ sudo make install Password: Installing /Library/Perl/5.12/Finance/Quote.pm Installing /Library/Perl/5.12/Finance/Quote/Bourso.pm Installing /Library/Perl/5.12/Finance/Quote/BSERO.pm Installing /Library/Perl/5.12/Finance/Quote/Currencies.pm Installing /Library/Perl/5.12/Finance/Quote/IndiaMutual.pm Installing /Library/Perl/5.12/Finance/Quote/SIXfunds.pm Installing /Library/Perl/5.12/Finance/Quote/SIXshares.pm Installing /Library/Perl/5.12/Finance/Quote/Tdefunds.pm Installing /Library/Perl/5.12/Finance/Quote/TSP.pm Installing /Library/Perl/5.12/Finance/Quote/VWD.pm Installing /Library/Perl/5.12/Finance/Quote/Yahoo/Base.pm Installing /Library/Perl/5.12/Finance/Quote/Yahoo/Europe.pm Installing /usr/local/share/man/man3/Finance::Quote.3pm Installing /usr/local/share/man/man3/Finance::Quote::AEX.3pm Installing /usr/local/share/man/man3/Finance::Quote::AIAHK.3pm Installing /usr/local/share/man/man3/Finance::Quote::ASEGR.3pm Installing /usr/local/share/man/man3/Finance::Quote::ASX.3pm Installing /usr/local/share/man/man3/Finance::Quote::BMONesbittBurns.3pm Installing /usr/local/share/man/man3/Finance::Quote::Bourso.3pm Installing /usr/local/share/man/man3/Finance::Quote::BSERO.3pm Installing /usr/local/share/man/man3/Finance::Quote::Cdnfundlibrary.3pm Installing /usr/local/share/man/man3/Finance::Quote::Cominvest.3pm Installing /usr/local/share/man/man3/Finance::Quote::Currencies.3pm Installing /usr/local/share/man/man3/Finance::Quote::Deka.3pm Installing /usr/local/share/man/man3/Finance::Quote::DWS.3pm Installing /usr/local/share/man/man3/Finance::Quote::Fidelity.3pm Installing /usr/local/share/man/man3/Finance::Quote::FinanceCanada.3pm Installing /usr/local/share/man/man3/Finance::Quote::Finanzpartner.3pm Installing /usr/local/share/man/man3/Finance::Quote::Fool.3pm Installing /usr/local/share/man/man3/Finance::Quote::FTPortfolios.3pm Installing /usr/local/share/man/man3/Finance::Quote::GoldMoney.3pm Installing /usr/local/share/man/man3/Finance::Quote::HEX.3pm Installing /usr/local/share/man/man3/Finance::Quote::HU.3pm Installing /usr/local/share/man/man3/Finance::Quote::IndiaMutual.3pm Installing /usr/local/share/man/man3/Finance::Quote::LeRevenu.3pm Installing /usr/local/share/man/man3/Finance::Quote::ManInvestments.3pm Installing /usr/local/share/man/man3/Finance::Quote::Morningstar.3pm Installing /usr/local/share/man/man3/Finance::Quote::NZX.3pm Installing /usr/local/share/man/man3/Finance::Quote::Platinum.3pm Installing /usr/local/share/man/man3/Finance::Quote::SEB.3pm Installing /usr/local/share/man/man3/Finance::Quote::Tdefunds.3pm Installing /usr/local/share/man/man3/Finance::Quote::Tdwaterhouse.3pm Installing /usr/local/share/man/man3/Finance::Quote::Troweprice.3pm Installing /usr/local/share/man/man3/Finance::Quote::Trustnet.3pm Installing /usr/local/share/man/man3/Finance::Quote::TSP.3pm Installing /usr/local/share/man/man3/Finance::Quote::TSX.3pm Installing /usr/local/share/man/man3/Finance::Quote::Union.3pm Installing /usr/local/share/man/man3/Finance::Quote::USFedBonds.3pm Installing /usr/local/share/man/man3/Finance::Quote::VWD.3pm Installing /usr/local/share/man/man3/Finance::Quote::Yahoo::Asia.3pm Installing /usr/local/share/man/man3/Finance::Quote::Yahoo::Australia.3pm Installing /usr/local/share/man/man3/Finance::Quote::Yahoo::Base.3pm Installing /usr/local/share/man/man3/Finance::Quote::Yahoo::Brasil.3pm Installing /usr/local/share/man/man3/Finance::Quote::Yahoo::Europe.3pm Installing /usr/local/share/man/man3/Finance::Quote::Yahoo::NZ.3pm Installing /usr/local/share/man/man3/Finance::Quote::Yahoo::USA.3pm Installing /usr/local/share/man/man3/Finance::Quote::ZA.3pm Appending installation info to /Library/Perl/Updates/5.12.4/darwin-thread-multi-2level/perllocal.pod $ ls -l `perldoc -lm Finance::Quote::Tiaacref` -r--r--r-- 1 dreed dreed 47848 Sep 30 08:22 /Users/dreed/Downloads/finance-quote/blib/lib/Finance/Quote/Tiaacref.pm still has the time from earlier today. Any more suggestions? Thanks, Dave
On Sun Sep 30 09:00:09 2012, daveother@mac.com wrote: Show quoted text
> Installing /Library/Perl/5.12/Finance/Quote.pm > Installing /Library/Perl/5.12/Finance/Quote/Bourso.pm > Installing /Library/Perl/5.12/Finance/Quote/BSERO.pm > Installing /Library/Perl/5.12/Finance/Quote/Currencies.pm > Installing /Library/Perl/5.12/Finance/Quote/IndiaMutual.pm > Installing /Library/Perl/5.12/Finance/Quote/SIXfunds.pm > Installing /Library/Perl/5.12/Finance/Quote/SIXshares.pm > Installing /Library/Perl/5.12/Finance/Quote/Tdefunds.pm > Installing /Library/Perl/5.12/Finance/Quote/TSP.pm > Installing /Library/Perl/5.12/Finance/Quote/VWD.pm > Installing /Library/Perl/5.12/Finance/Quote/Yahoo/Base.pm > Installing /Library/Perl/5.12/Finance/Quote/Yahoo/Europe.pm
This clearly is only a partial install. The only reason I can see for this is that your download is incomplete. I'm freeing some time now to bundle and upload a new release. I hope that will solve your issues... best -- Erik
Subject: Re: [rt.cpan.org #62104] TIAA-CREF quotes not working
Date: Sun, 30 Sep 2012 09:28:57 -0400
To: bug-Finance-Quote [...] rt.cpan.org
From: daveother [...] mac.com
On Sep 30, 2012, at 9:23 AM, Erik Colson via RT <bug-Finance-Quote@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=62104 > > > On Sun Sep 30 09:00:09 2012, daveother@mac.com wrote:
>> Installing /Library/Perl/5.12/Finance/Quote.pm >> Installing /Library/Perl/5.12/Finance/Quote/Bourso.pm >> Installing /Library/Perl/5.12/Finance/Quote/BSERO.pm >> Installing /Library/Perl/5.12/Finance/Quote/Currencies.pm >> Installing /Library/Perl/5.12/Finance/Quote/IndiaMutual.pm >> Installing /Library/Perl/5.12/Finance/Quote/SIXfunds.pm >> Installing /Library/Perl/5.12/Finance/Quote/SIXshares.pm >> Installing /Library/Perl/5.12/Finance/Quote/Tdefunds.pm >> Installing /Library/Perl/5.12/Finance/Quote/TSP.pm >> Installing /Library/Perl/5.12/Finance/Quote/VWD.pm >> Installing /Library/Perl/5.12/Finance/Quote/Yahoo/Base.pm >> Installing /Library/Perl/5.12/Finance/Quote/Yahoo/Europe.pm
> > This clearly is only a partial install. The only reason I can see for this is that your download is > incomplete. > I'm freeing some time now to bundle and upload a new release. I hope that will solve your > issues... > > best > > -- > Erik
I did a git clone of https://github.com/pfenwick/finance-quote so I would think that should be everything. Thanks, Dave
On Sun Sep 30 09:29:08 2012, daveother@mac.com wrote: Show quoted text
> I did a git clone of https://github.com/pfenwick/finance-quote so I > would think that should be everything.
Well, that should, indeed. I did the same locally and got a full install ;) Meanwhile, F::Q 1.18 has been uploaded to cpan. Keep me informed ! best -- Erik
Subject: Re: [rt.cpan.org #62104] TIAA-CREF quotes not working
Date: Sun, 30 Sep 2012 10:24:07 -0400
To: bug-Finance-Quote [...] rt.cpan.org
From: daveother [...] mac.com

Message body is not shown because it is too large.

On Sun Sep 30 10:24:24 2012, daveother@mac.com wrote: Show quoted text
> I installe it (forgot to set the environment variable for testing in > that shell), but afterwards, downloading the quotes still fail > although it did update the Tiaacref.pm file this time. Both > installation and prove command shown below. I'm willing to try > anything else you want me to do, but I don't want to keep taking up > your time if you want to give up. Perhaps it's something unique to > the Mac causing it to fail.
no problem to figure this out ;) but it certainly ain't a Mac problem as I'm running on Mac too. well, let's try it from with the cpan command: in the cpan shell use : look Finance::Quote then launch export ONLINE_TEST=1 prove -lv t/tiaacref.t This way you should have exactly the same environment as which installed Finance::Quote. If that still fails... could you check if you have access to the tiaacref website ? -- Erik
Subject: Re: [rt.cpan.org #62104] TIAA-CREF quotes not working
Date: Sun, 30 Sep 2012 10:43:48 -0400
To: bug-Finance-Quote [...] rt.cpan.org
From: daveother [...] mac.com
Something must be screwed up on my Mac desktop (the OS and files have been upgraded for years so there must be some cruft in it). At one point I was running the X11 gnucash using macports on it. I also have a Mac laptop and I installed F::Q from github (as cpan still found the 1.17 version). That worked and the prove -v tiaacref.t command indicates all tests passed. BUT, gnucash still fails to work. The gnucash gui says it couldn't download the files and its command line version still fails /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-dump tiaacref CREFbond Finance::Quote fields Gnucash uses: symbol: CREFbond (deduced) <=== required date: ** missing ** <=== required currency: ** missing ** <=== required last: <=\ nav: <=== one of these price: <=/ timezone: <=== optional ** This stock quote cannot be used by gnucash!! while yahoo quotes work: /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-dump yahoo aapl No results found for stock aapl, but results were returned for the stock(s) AAPL. Printing data for the first stock returned. Finance::Quote fields Gnucash uses: symbol: AAPL <=== required date: 09/28/2012 <=== required currency: USD <=== required last: 667.105 <=\ nav: <=== one of these price: 667.105 <=/ timezone: <=== optional I see your other message came though, but I think this one supersedes the questions you asked on it. Dave
On Sun Sep 30 10:43:58 2012, daveother@mac.com wrote: Show quoted text
> I see your other message came though, but I think this one supersedes > the questions you asked on it.
Indeed! Great news ;) So I guess your computer needs a major cleanup... I'm closing this bug now. Reopen it if you need help, but I cannot help you with gnucash since I'm not using that software at all... best -- Erik
Subject: Re: [rt.cpan.org #62104] TIAA-CREF quotes not working
Date: Sun, 30 Sep 2012 11:03:18 -0400
To: bug-Finance-Quote [...] rt.cpan.org
From: daveother [...] mac.com
Yes, closing it is fine. I'll let the gnucash people know that there seems to be something wrong with their usage of the F::Q module for Tiaacref. Dave On Sep 30, 2012, at 10:52 AM, Erik Colson via RT <bug-Finance-Quote@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=62104 > > > On Sun Sep 30 10:43:58 2012, daveother@mac.com wrote:
>> I see your other message came though, but I think this one supersedes >> the questions you asked on it.
> > Indeed! Great news ;) > So I guess your computer needs a major cleanup... > > I'm closing this bug now. Reopen it if you need help, but I cannot help you with gnucash since > I'm not using that software at all... > > best > -- > Erik
Bug report closed -- Erik