Skip Menu |

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

Report information
The Basics
Id: 41113
Status: resolved
Priority: 0/
Queue: Finance-Quote

People
Owner: Nobody in particular
Requestors: nate_jones [...] sil.org
Cc:
AdminCc:

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



Subject: system error retrieving currency quotes with 1.15/1.13 on Ubuntu 8.04 -- ssl libraries path bad?
Date: Fri, 21 Nov 2008 14:15:05 +0700
To: bug-finance-quote [...] rt.cpan.org
From: Nate Jones <nate_jones [...] sil.org>
Hello, I am running fq 1.15 on Ubuntu 8.04 with Gnucash 2.2.4. I am running Perl 5.8 and I have attached the system readout for uname, perl -v etc. to this message. I have imported my set of accounts from Windows, where I ran Gnucash 2.2.7 with fq 1.15 and Perl 5.10. Using Windows, with the exception of currency IDR, which always seemed to be unavailable, I was able to look up all these securities with no problems using the Get Quotes function in Gnucash Price Editor dialog. Using Ubuntu with the same accounts, I get a System Error when I press Get Quotes for the same set of accounts. I also am unable to obtain the quotes by running fq from the command line. Here is the list of securities I need to look up on a daily basis: Currency: IDR SGD THB NYSE: AGTHX ANWPX AWSHX SMCWX Originally, I installed gnucash, fq and ssleay perl libraries using the synaptic package manager in ubuntu. As I remember, fq worked at my first test (using SGD). I then installed some other packages and imported my regular set of accounts the next day, expecting fq to work properly. Suddenly, Get Quotes produced a system error when attempting to retrieve quotes. I tried gnc-fq-check and gnc-fq-dump and fq seemed to work properly. I tried to look up GOOG and AMZN using fq from the command line and had no trouble. I was unable to obtain GOOG from the Get Quotes button in GnuCash, though. FQ would not retrieve SGD or EURO currency quotes from the command line. I have attached the gnc-fq-dump and gnc-fq-dump -v readouts to this email. I ran gnc-fq-update and the update could not find my SSL libraries, though I had installed the package. The update asked me to specify a path to my ssl libraries and I guessed that the folder libssl0.9.8 was the correct folder. I specified the path to the folder but not inside the folder. The update could not find SSL and installed 1.15 anyways. I have attached this portion of the gnc-fq-update readout to this email. After 1.15 was installed, I verified that gnucash was using 1.15 using gnc-fq-check. I then tried gnc-fq-dump but had the same problems with the SGD currency. When I tried to push the Get Quotes button in Gnucash, I received a System Error again. I think that for some reason the default install path for the SSL libraries in Ubuntu is not recognized by the gnc-fq-update process and that somehow fq is not accessing the SSL libraries. I noted that the update asked me to file a bug report if my file path was standard and not recognized. I did not alter the file path when I installed ssleay from the Ubuntu repositories, so I assume it is a standard path. Is there a way to specify the correct path to the SSL libraries? If so, which SSL folder or file is correct and where do I specify that path? I can't think of anything else that could be wrong, but perhaps you can find another problem via these readouts. Thanks for your help! I really hope I can get this working. Nate
~$ perl -v This is perl, v5.8.8 built for i486-linux-gnu-thread-multi Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. nate@dell-desktop:~$ uname -a Linux dell-desktop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux
nate@dell-desktop:~$ gnc-fq-dump yahoo AMZN Finance::Quote fields Gnucash uses: symbol: AMZN <=== required date: 11/20/2008 <=== required currency: USD <=== required last: 35.03 <=\ nav: <=== one of these price: 35.03 <=/ timezone: <=== optional nate@dell-desktop:~$ gnc-fq-dump yahoo USD Finance::Quote fields Gnucash uses: symbol: USD <=== required date: 11/20/2008 <=== required currency: USD <=== required last: 10.50 <=\ nav: <=== one of these price: 10.50 <=/ timezone: <=== optional nate@dell-desktop:~$ gnc-fq-dump yahoo SGD Finance::Quote fields Gnucash uses: symbol: SGD <=== required date: ** missing ** <=== required currency:  <=== required last: 0.00 <=\ nav: <=== one of these price: <=/ timezone: <=== optional ** This stock quote cannot be used by gnucash!!
nate@dell-desktop:~$ gnc-fq-dump -v yahoo SGD Finance::Quote fields Gnucash uses: symbol: SGD <=== required date: ** missing ** <=== required currency: ** missing ** <=== required last: 0.00 <=\ nav: <=== one of these price: <=/ timezone: <=== optional ** This stock quote cannot be used by gnucash!! All fields returned by Finance::Quote for stock SGD stock field value ----- ----- ----- SGD ask: SGD avg_vol: 0 SGD bid: SGD cap: SGD close: SGD date: SGD day_range: N/A - N/A SGD div: SGD div_date: SGD div_yield: SGD eps: SGD errormsg: Stock lookup failed SGD ex_div: SGD last: 0.00 SGD name: SGD SGD net: SGD open: SGD p_change: SGD pe: SGD success: 0 SGD symbol: SGD SGD time: SGD volume: SGD year_range: N/A - N/A

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #41113] AutoReply: system error retrieving currency quotes with 1.15/1.13 on Ubuntu 8.04 -- ssl libraries path bad?
Date: Fri, 21 Nov 2008 21:05:14 +0700
To: bug-Finance-Quote [...] rt.cpan.org
From: Nate Jones <nate_jones [...] sil.org>
Update: I was able to obtain prices for both SGD and IDR from the command line by using the formula SGD=X etc. Readout is attached. It seems that I was using the wrong formula to obtain price quotes. However, this did not solve the problem. I started GnuCash and still received a system error when I pressed the Get Quotes button. I attempted to retrieve quotes for my home accounts using the gnucash add-price-quotes command, but finance-quote was aborted. This readout is also attached. Note that I used the gnucash debug feature but was unable to obtain more detail. Thanks again for your help in this. Bugs in Finance-Quote via RT wrote: Show quoted text
> Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "system error retrieving currency quotes with 1.15/1.13 on Ubuntu 8.04 -- ssl libraries path bad?", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #41113]. Your ticket is accessible > on the web at: > > http://rt.cpan.org/Ticket/Display.html?id=41113 > > Please include the string: > > [rt.cpan.org #41113] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-Finance-Quote@rt.cpan.org > > ------------------------------------------------------------------------- > Hello, > I am running fq 1.15 on Ubuntu 8.04 with Gnucash 2.2.4. I am running > Perl 5.8 and I have attached the system readout for uname, perl -v etc. > to this message. I have imported my set of accounts from Windows, where > I ran Gnucash 2.2.7 with fq 1.15 and Perl 5.10. Using Windows, with the > exception of currency IDR, which always seemed to be unavailable, I was > able to look up all these securities with no problems using the Get > Quotes function in Gnucash Price Editor dialog. Using Ubuntu with the > same accounts, I get a System Error when I press Get Quotes for the same > set of accounts. I also am unable to obtain the quotes by running fq > from the command line. > > Here is the list of securities I need to look up on a daily basis: > > Currency: > IDR > SGD > THB > > NYSE: > AGTHX > ANWPX > AWSHX > SMCWX > > Originally, I installed gnucash, fq and ssleay perl libraries using the > synaptic package manager in ubuntu. As I remember, fq worked at my first > test (using SGD). I then installed some other packages and imported my > regular set of accounts the next day, expecting fq to work properly. > Suddenly, Get Quotes produced a system error when attempting to retrieve > quotes. I tried gnc-fq-check and gnc-fq-dump and fq seemed to work > properly. I tried to look up GOOG and AMZN using fq from the command > line and had no trouble. I was unable to obtain GOOG from the Get Quotes > button in GnuCash, though. FQ would not retrieve SGD or EURO currency > quotes from the command line. I have attached the gnc-fq-dump and > gnc-fq-dump -v readouts to this email. > > I ran gnc-fq-update and the update could not find my SSL libraries, > though I had installed the package. The update asked me to specify a > path to my ssl libraries and I guessed that the folder libssl0.9.8 was > the correct folder. I specified the path to the folder but not inside > the folder. The update could not find SSL and installed 1.15 anyways. I > have attached this portion of the gnc-fq-update readout to this email. > > After 1.15 was installed, I verified that gnucash was using 1.15 using > gnc-fq-check. I then tried gnc-fq-dump but had the same problems with > the SGD currency. When I tried to push the Get Quotes button in Gnucash, > I received a System Error again. > > I think that for some reason the default install path for the SSL > libraries in Ubuntu is not recognized by the gnc-fq-update process and > that somehow fq is not accessing the SSL libraries. I noted that the > update asked me to file a bug report if my file path was standard and > not recognized. I did not alter the file path when I installed ssleay > from the Ubuntu repositories, so I assume it is a standard path. > > Is there a way to specify the correct path to the SSL libraries? If so, > which SSL folder or file is correct and where do I specify that path? I > can't think of anything else that could be wrong, but perhaps you can > find another problem via these readouts. > > Thanks for your help! I really hope I can get this working. > > Nate > > >
~$ gnc-fq-dump -v yahoo SGD=X Finance::Quote fields Gnucash uses: symbol: SGD=X <=== required date: 11/21/2008 <=== required currency: SGD <=== required last: 1.5275 <=\ nav: <=== one of these price: 1.5275 <=/ timezone: <=== optional All fields returned by Finance::Quote for stock SGD=X stock field value ----- ----- ----- SGD=X ask: 1.528 SGD=X avg_vol: 0 SGD=X bid: 1.527 SGD=X cap: SGD=X close: SGD=X currency: SGD SGD=X date: 11/21/2008 SGD=X day_range: N/A - N/A SGD=X div: SGD=X div_date: SGD=X div_yield: SGD=X eps: SGD=X ex_div: SGD=X high: SGD=X isodate: 2008-11-21 SGD=X last: 1.5275 SGD=X low: SGD=X method: yahoo SGD=X name: USD/SGD SGD=X net: SGD=X open: SGD=X p_change: SGD=X pe: SGD=X price: 1.5275 SGD=X success: 1 SGD=X symbol: SGD=X SGD=X time: 08:44 SGD=X volume: SGD=X year_range: N/A - N/A nate@dell-desktop:~$ gnc-fq-dump -v yahoo IDR=X Finance::Quote fields Gnucash uses: symbol: IDR=X <=== required date: 11/21/2008 <=== required currency: IDR <=== required last: 12600.00 <=\ nav: <=== one of these price: 12600.00 <=/ timezone: <=== optional All fields returned by Finance::Quote for stock IDR=X stock field value ----- ----- ----- IDR=X ask: 12006.00 IDR=X avg_vol: 0 IDR=X bid: 12000.00 IDR=X cap: IDR=X close: IDR=X currency: IDR IDR=X date: 11/21/2008 IDR=X day_range: N/A - N/A IDR=X div: IDR=X div_date: IDR=X div_yield: IDR=X eps: IDR=X ex_div: IDR=X high: IDR=X isodate: 2008-11-21 IDR=X last: 12600.00 IDR=X low: IDR=X method: yahoo IDR=X name: USD/IDR IDR=X net: IDR=X open: IDR=X p_change: IDR=X pe: IDR=X price: 12600.00 IDR=X success: 1 IDR=X symbol: IDR=X IDR=X time: 06:19 IDR=X volume: IDR=X year_range: N/A - N/A
~$ gnucash --add-price-quotes $Jones Family Accounts gnc.bin-Message: main: binreloc relocation support was disabled at configure time. Found Finance::Quote version 1.15 Aborted :~$ gnucash -v --add-price-quotes $Jones Family Accounts gnc.bin-Message: main: binreloc relocation support was disabled at configure time. GnuCash 2.2.4 Built 2008-03-27 from r16997 ~$ gnucash --debug --add-price-quotes=Jones Family Accounts gnc.bin-Message: main: binreloc relocation support was disabled at configure time. Found Finance::Quote version 1.15 Aborted
Subject: Re: [rt.cpan.org #41113] AutoReply: system error retrieving currency quotes with 1.15/1.13 on Ubuntu 8.04 -- ssl libraries path bad?
Date: Sat, 22 Nov 2008 10:04:38 +0100
To: bug-Finance-Quote [...] rt.cpan.org
From: Erik Colson <eco [...] ecocode.net>
On 21 Nov 2008, at 15:05, Nate Jones via RT wrote: Show quoted text
> Queue: Finance-Quote > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=41113 > > > Update: I was able to obtain prices for both SGD and IDR from the > command line by using the formula SGD=X etc. Readout is attached. It > seems that I was using the wrong formula to obtain price quotes.
Yep, that's what I was thinking... But you said you did exactly the same as when using windows (and it was working there) which sounded weird to me, but I don't have windows ;) Show quoted text
> However, this did not solve the problem. I started GnuCash and still > received a system error when I pressed the Get Quotes button. >
Did you file this problem to the gnucash team ? I'm not using gnucash at all and I don't know what command that dialog box generates :/ Show quoted text
> I attempted to retrieve quotes for my home accounts using the gnucash > add-price-quotes command, but finance-quote was aborted. This > readout is > also attached. Note that I used the gnucash debug feature but was > unable > to obtain more detail.
... Show quoted text
> > ~$ gnc-fq-dump -v yahoo SGD=X
this seems to be an ok command-line syntax Show quoted text
> nate@dell-desktop:~$ gnc-fq-dump -v yahoo IDR=X
this also Show quoted text
> ~$ gnucash --add-price-quotes $Jones Family Accounts > ~$ gnucash -v --add-price-quotes $Jones Family Accounts
these are bizarre... $Jones is interpreted by the shell as being a variable, which I presume isn't your idea ? something like this would disable shell-interpretation: ~$ gnucash --add-price-quotes '$Jones' Family Accounts But then again I don't know the syntax and I've checked the docs on the internet which gave me next syntax: gnucash --add-price-quotes <gnucash-file-name> If you have a file named '$Jones Family Accounts' then you should use : ~$ gnucash --add-price-quotes '$Jones Family Accounts' where the shell would give that file name (including spaces) as a parameter to the gnucash executable. However I guess you don't have such a file because it is a very unusual name, and then I think you should first check out how your <gnucash-file-name> is named... All isn't very Finance::Quote related and you definitely should try gnucash forums for that problem. I won't close the bug report for a while to give you the oportunity to check these out. regards -- Erik Colson
Subject: Re: [rt.cpan.org #41113] AutoReply: system error retrieving currency quotes with 1.15/1.13 on Ubuntu 8.04 -- ssl libraries path bad?
Date: Sat, 22 Nov 2008 22:06:57 +0700
To: bug-Finance-Quote [...] rt.cpan.org
From: Nate Jones <nate_jones [...] sil.org>
Erik, I tried the gnucash forum and they sent me over to finance quote. So I'm a bit confused. I've been emailing the gnucash-user@gnucash.org account and the one guy who replied said I should file a bug with Finance Quote. I'll try to file an official bug with GnuCash as well. Thanks for the tips on syntax below. I will play with the suggested syntax and see if I can't get finance-quote to retrieve quotes from the command line via GnuCash. Thanks for keeping the bug open, Nate Erik Colson via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=41113 > > > > On 21 Nov 2008, at 15:05, Nate Jones via RT wrote: > >
>> Queue: Finance-Quote >> Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=41113 > >> >> Update: I was able to obtain prices for both SGD and IDR from the >> command line by using the formula SGD=X etc. Readout is attached. It >> seems that I was using the wrong formula to obtain price quotes. >>
> > Yep, that's what I was thinking... But you said you did exactly the > same as when using windows (and it was working there) which sounded > weird to me, but I don't have windows ;) > >
>> However, this did not solve the problem. I started GnuCash and still >> received a system error when I pressed the Get Quotes button. >> >>
> > Did you file this problem to the gnucash team ? I'm not using gnucash > at all and I don't know what command that dialog box generates :/ > >
>> I attempted to retrieve quotes for my home accounts using the gnucash >> add-price-quotes command, but finance-quote was aborted. This >> readout is >> also attached. Note that I used the gnucash debug feature but was >> unable >> to obtain more detail. >>
> > ... > >
>> ~$ gnc-fq-dump -v yahoo SGD=X >>
> > this seems to be an ok command-line syntax > >
>> nate@dell-desktop:~$ gnc-fq-dump -v yahoo IDR=X >>
> > this also > >
>> ~$ gnucash --add-price-quotes $Jones Family Accounts >> ~$ gnucash -v --add-price-quotes $Jones Family Accounts >>
> > these are bizarre... $Jones is interpreted by the shell as being a > variable, which I presume isn't your idea ? > > something like this would disable shell-interpretation: > ~$ gnucash --add-price-quotes '$Jones' Family Accounts > > But then again I don't know the syntax and I've checked the docs on > the internet which gave me next syntax: > > gnucash --add-price-quotes <gnucash-file-name> > > If you have a file named '$Jones Family Accounts' then you should use : > > ~$ gnucash --add-price-quotes '$Jones Family Accounts' > > where the shell would give that file name (including spaces) as a > parameter to the gnucash executable. > However I guess you don't have such a file because it is a very > unusual name, and then I think you should first check out how your > <gnucash-file-name> is named... > > All isn't very Finance::Quote related and you definitely should try > gnucash forums for that problem. > > I won't close the bug report for a while to give you the oportunity to > check these out. > > regards > > -- > Erik Colson > > >
Subject: Re: [rt.cpan.org #41113] AutoReply: system error retrieving currency quotes with 1.15/1.13 on Ubuntu 8.04 -- ssl libraries path bad?
Date: Mon, 24 Nov 2008 20:15:23 +0700
To: bug-Finance-Quote [...] rt.cpan.org
From: Nate Jones <nate_jones [...] sil.org>
Update: As requested, posted GnuCash bug on this at link below. Pls. leave this bug up for a week or so in case GnuCash developers want to see the documentation I submitted here. http://bugzilla.gnome.org/show_bug.cgi?id=562117 Erik Colson via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=41113 > > > > On 21 Nov 2008, at 15:05, Nate Jones via RT wrote: > >
>> Queue: Finance-Quote >> Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=41113 > >> >> Update: I was able to obtain prices for both SGD and IDR from the >> command line by using the formula SGD=X etc. Readout is attached. It >> seems that I was using the wrong formula to obtain price quotes. >>
> > Yep, that's what I was thinking... But you said you did exactly the > same as when using windows (and it was working there) which sounded > weird to me, but I don't have windows ;) > >
>> However, this did not solve the problem. I started GnuCash and still >> received a system error when I pressed the Get Quotes button. >> >>
> > Did you file this problem to the gnucash team ? I'm not using gnucash > at all and I don't know what command that dialog box generates :/ > >
>> I attempted to retrieve quotes for my home accounts using the gnucash >> add-price-quotes command, but finance-quote was aborted. This >> readout is >> also attached. Note that I used the gnucash debug feature but was >> unable >> to obtain more detail. >>
> > ... > >
>> ~$ gnc-fq-dump -v yahoo SGD=X >>
> > this seems to be an ok command-line syntax > >
>> nate@dell-desktop:~$ gnc-fq-dump -v yahoo IDR=X >>
> > this also > >
>> ~$ gnucash --add-price-quotes $Jones Family Accounts >> ~$ gnucash -v --add-price-quotes $Jones Family Accounts >>
> > these are bizarre... $Jones is interpreted by the shell as being a > variable, which I presume isn't your idea ? > > something like this would disable shell-interpretation: > ~$ gnucash --add-price-quotes '$Jones' Family Accounts > > But then again I don't know the syntax and I've checked the docs on > the internet which gave me next syntax: > > gnucash --add-price-quotes <gnucash-file-name> > > If you have a file named '$Jones Family Accounts' then you should use : > > ~$ gnucash --add-price-quotes '$Jones Family Accounts' > > where the shell would give that file name (including spaces) as a > parameter to the gnucash executable. > However I guess you don't have such a file because it is a very > unusual name, and then I think you should first check out how your > <gnucash-file-name> is named... > > All isn't very Finance::Quote related and you definitely should try > gnucash forums for that problem. > > I won't close the bug report for a while to give you the oportunity to > check these out. > > regards > > -- > Erik Colson > > >
Subject: Re: [rt.cpan.org #41113] AutoReply: system error retrieving currency quotes with 1.15/1.13 on Ubuntu 8.04 -- ssl libraries path bad?
Date: Fri, 5 Dec 2008 20:20:19 +0100
To: bug-Finance-Quote [...] rt.cpan.org
From: Erik Colson <eco [...] ecocode.net>
Hello Nate, Has this bug been isolated / solved by gnucash ? -- Erik Colson
Subject: Re: [rt.cpan.org #41113] AutoReply: system error retrieving currency quotes with 1.15/1.13 on Ubuntu 8.04 -- ssl libraries path bad?
Date: Sat, 06 Dec 2008 11:24:09 +0700
To: bug-Finance-Quote [...] rt.cpan.org
From: Nate Jones <nate_jones [...] sil.org>
Hi, It's been identified and someone else has had the same problem. But no action has been taken! Erik Colson via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=41113 > > > Hello Nate, > > Has this bug been isolated / solved by gnucash ? > > >
On Fri Dec 05 23:24:34 2008, nate_jones@sil.org wrote: Show quoted text
> Hi, > It's been identified and someone else has had the same problem. But no > action has been taken!
Hello Nate, I'm moving this bug to 'stalled'. You can allways reopen it if you still encounter the problem with the next release which should come out shortly. regards -- Erik