Package: libfinance-quote-perl
Version: 1.17-1
Severity: normal

Hallo,

I am using libfinance-quote-perl together with gnucash to get the
quotes for my funds. At the moment I can't import the quotes from the
vwd site. The command gnc-fq-dump is returning valid values, but gnucash
is using gnc-fq-helper. With that command I don't get the date/time of
the stock.

I have checked the file VWD.pm and the values of the site and found the
error. In VWD.pm at line 134 is searched for an element of the class
"datum". The value is used as the time.  Sometimes the element contains
the time but sometimes also a date. In my case was there a date. The
command gnc-fq-helper wants to parse the value (which contains now a date)
as a time which will result in an error.

Please test at the line 138 of VWD.pm not only if time has a value,
but also that it is a time value (e.g. contains a ':').

regards,
Vincent Smeets


vinc...@pc-vincent:/$ gnc-fq-dump vwd INGBM
Finance::Quote fields Gnucash uses:
    symbol: INGBM                <=== required
      date: 01/10/2010           <=== required
  currency: EUR                  <=== required
      last: 51.53                <=\
       nav:                      <=== one of these
     price: 51.53                <=/
  timezone:                      <=== optional

vinc...@pc-vincent:/$ gnc-fq-helper
(vwd "INGBM")
Use of uninitialized value $result in pattern match (m//) at 
/usr/bin/gnc-fq-helper line 224, <> line 1.
(("INGBM" (symbol . "INGBM") (gnc:time-no-zone . failed-conversion) (last . 
51.53) (currency . "EUR")))


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libfinance-quote-perl depends on:
ii  libcrypt-ssleay-perl          0.57-2     Support for https protocol in LWP
ii  libhtml-tableextract-perl     2.10-3     module for extracting the content 
ii  libwww-perl                   5.834-1    Perl HTTP/WWW client/server librar
ii  perl                          5.10.1-8   Larry Wall's Practical Extraction 

libfinance-quote-perl recommends no packages.

libfinance-quote-perl suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to