--add-price-quotes only running as root
AmigaPhil
AmigaPhil at ping.be
Tue May 12 16:02:56 EDT 2009
Carlos Eduardo Tavares Terra wrote:
> I am running GnuCash 2.2.9. I started to use this feature yesterday,
> so I don't know if it worked on another versions.
>
> I have installed Finance::Quote directly using CPAN.
>
> My file permission:
>
> [cyyi at mi117091 gnucash]$ ls -l eduardo
> -rwxr-xr-x 1 cyyi root 12398 Mai 11 15:58 eduardo
>
> It is storaged in a pen drive.
(Hmm, I'm nearly running out of idea, sorry.)
A path problem ?
Can you test this:
$ su -
# env
(copy the value of PATH)
# exit
$ env PATH="PasteHere" gnucash --add-price-quotes eduardo
> Another test I have done:
>
> [cyyi at mi117091 gnucash]$ echo '(yahoo "JFEN3.SA")' | gnc-fq-helper
> #f
> [cyyi at mi117091 gnucash]$ su -
> Senha:
> [root at mi117091 ~]# echo '(yahoo "JFEN3.SA")' | gnc-fq-helper
> (("JFEN3.SA" (symbol . "JFEN3.SA") (gnc:time-no-zone . "2009-05-11
> 15:32:00") (last . 3.50) (currency . "BRL")))
> [root at mi117091 ~]#
>
> gnc-fq-helper only run in a root shell too?
Not sure, but most probably.
AmigaPhil
More information about the gnucash-user
mailing list