> On Aug 11, 2017, at 8:31 PM, rs <[email protected]> wrote: > > Hello: > > On a Debian testing machine, with Perl-5.26, I can get US stock prices, but > strange errors trying to get Indian Mutual Funds or stock prices even in > terminal. All instructions on installing pl module, editing Quote.pm file in > /usr/share/perl5/Finance/ followed, yest get following what appear to be > basic errors: > > rs@debian:~/Documents$ gnc-fq-dump amfiindia 135765 > Can't locate Finance/Quote/nseindia.pm in @INC (you may need to install the > Finance::Quote::nseindia module) (@INC contains: /etc/perl > /usr/local/lib/x86_64-linux-gnu/perl/5.26.0 /usr/local/share/perl/5.26.0 > /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 > /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 > /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at (eval 268) > line 1, <DATA> line 1. > BEGIN failed--compilation aborted at (eval 268) line 1, <DATA> line 1. > at /usr/bin/gnc-fq-dump line 148. > Can't locate object method "methods" via package "Finance::Quote::nseindia" > (perhaps you forgot to load "Finance::Quote::nseindia"?) at > /usr/share/perl5/Finance/Quote.pm line 119, <DATA> line 1. > > Tried for days, and any help would be gratefully appreciated.
Pretty simple: There's no nseindia.pm in Finance::Quote. There's an IndiaFunds.pm, try gnc-fq-dump indiamutual foo where 'foo' is the symbol for your stock or fund. There's no guarantee that it will work, the site (http://www.amfiindia.com/ <http://www.amfiindia.com/>) may not support your stock, may have changed their screen, or may no longer exist. Regards, John Ralls _______________________________________________ gnucash-user mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
