Rs,

I am not familiar with NSE India, but 125112 doesn't seem like a valid ticker 
symbol. The NSE India website seems to use letter symbols; does the equity you 
want have one?

David

On August 11, 2017, at 5:35 PM, rs <sarw...@gmail.com> wrote:

Thanks John and David.
I could resolve this error by using correct script of NseIndia in Quote.pm

But, still getting same error after using indiamutual (I tried multiple
quotes available at http://portal.amfiindia.com/spages/NAV1.txt)
root@debian:/usr/share/perl5/Finance/Quote# gnc-fq-dump indiamutual 125112
=========================================
Finance::Quote fields Gnucash uses:
    symbol: 125112 (deduced)     <=== required
      date: ** missing **        <=== recommended
  currency: ** missing **        <=== required
Use of uninitialized value $last in printf at /usr/bin/gnc-fq-dump line 120,
        <DATA> line 1 (#1)
    (W uninitialized) An undefined value was used as if it were already
    defined.  It was interpreted as a "" or a 0, but maybe it was a mistake.
    To suppress this warning assign a defined value to your variables.
    
    To help you figure out what was undefined, perl will try to tell you
    the name of the variable (if any) that was undefined.  In some cases
    it cannot do this, so it also tells you what operation you used the
    undefined value in.  Note, however, that perl optimizes your program
    and the operation displayed in the warning may not necessarily appear
    literally in your program.  For example, "that $foo" is usually
    optimized into "that " . $foo, and the warning will refer to the
    concatenation (.) operator, even though there is no . in
    your program.
    
      last:                      <=\       
Use of uninitialized value $nav in printf at /usr/bin/gnc-fq-dump line 121,
        <DATA> line 1 (#1)
       nav:                      <=== one of these
Use of uninitialized value $price in printf at /usr/bin/gnc-fq-dump line
122,
        <DATA> line 1 (#1)
     price:                      <=/        
  timezone:                      <=== optional

** This stock quote cannot be used by GnuCash!
==========================================
lines 121 & 122 of /usr/bin/gnc-fq-dump are copied below:

  printf "       nav: %-20s <=== one of these\n", $nav;
  printf "     price: %-20s <=/        \n",       $price;

Any advice would be gratefully acknowledged.

rs



--
View this message in context: 
http://gnucash.1415818.n4.nabble.com/Error-in-Finance-Quote-tp4693217p4693229.html
Sent from the GnuCash - User mailing list archive at Nabble.com.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
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.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Reply via email to