PDA

View Full Version : [ubuntu] Issue with GNUcash Getting Quotes



mcglnx
June 3rd, 2009, 10:15 PM
Dear All,

Post installation of 9.04, I have some issues getting quotes in Gnucash.

I have the following message:


Unable to retrieve quotes for these items:
CURRENCY:USD
Continue using only the good quotes?


Stdout gives the following:

Unable to retrieve quotes for these items:
CURRENCY:USD
Continue using only the good quotes?

And on the logs, I have:

more /tmp/gnucash.trace
* 22:59:59 CRIT <gnc.backend.file> commodity_ref_to_dom_tree: assertion `c' fai
led
* 23:00:00 CRIT <gnc.backend.file> commodity_ref_to_dom_tree: assertion `c' fai
led


Note I've ran
sudo gnc-fq-update without any positive effect.

Does anyone has seen the same issue?
Any clue on how to fix this? or plan to fix it?

Thanks in advance,
D.

mcglnx
June 4th, 2009, 08:01 PM
No idea?

ltdunbar
June 4th, 2009, 09:14 PM
Hi,

I have had the same problem since updating to jaunty (9.04).

Michał

mcglnx
June 5th, 2009, 07:18 AM
Ok at least it is reproducible.

mcglnx
June 6th, 2009, 02:03 PM
Here I got a way to reproduce:


Create New file
Select Money: CHF
Go to Tools->Price Editor
Select "Show national currencies"
Select "USD" currency.
Now: Tools-> Price Editor
"Get Quotes"
Then you got the Following error:

Unable to retrieve quotes for these items:
CURRENCY:USD


On CLI, there nis not much information:


gnucash --debug --extra --add-price-quotes=test2
gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

Found Finance::Quote version 1.16
gwenhywfar-INFO: plugin.c: 577: Plugin type "ct" unregistered
gwenhywfar-INFO: plugin.c: 577: Plugin type "configmgr" unregistered
gwenhywfar-INFO: plugin.c: 577: Plugin type "dbio" unregistered


Note, I'm not sure if related, but finance::Quote looks to have some issue:

/usr/share/doc/libfinance-quote-perl/examples/currency-lookup.pl USD CHF
Urgh! Nothing back


Now we have a method to reproduce, we need to find how to fix. Any one has any hint?




Cheers.
D.

mcglnx
June 6th, 2009, 04:22 PM
Additional reference: http://sourceforge.net/mailarchive/message.php?msg_id=1985.456T2537T474706AmigaPhil%4 0scarlet.be

bupe
August 3rd, 2009, 01:17 AM
Dear all,

I have the same issue. Tried upgrading the perl files but I've never done this before and I'm not able to solve this by myself...

Is there any easy way to fix this? Google only turned up this forum... a howto or a step-by-step guide would be much appreciated!

Best regards,
Peter

bupe
August 6th, 2009, 07:16 PM
I managed to fix this by installing F::Q from the git repo:
http://github.com/pfenwick/finance-quote/tree/master

Using this guide:
http://www.cpan.org/modules/INSTALL.html

Cheers,
Peter

mcglnx
August 20th, 2009, 06:39 AM
Thanks. How to push this fix to mainstream? Shall we contact the maintainer?

zoubidoo
November 6th, 2009, 11:43 PM
sudo gnc-fq-update
Solved it for me.

It downloaded and installed a bunch of perl modules. Gnucash didn't even need restarting.

mcglnx
November 7th, 2009, 02:24 PM
Well, it look it has been fixed with 9.10!!! That's great!