Package: gnucash
Version: 1:2.6.18-1
Severity: normal
Tags: upstream

Dear Maintainer,

I'm using Gnucash with EUR as defaut currency.
I would like to use currency download (throught Perl:Finance:Quote), in order
to automaticaly convert USD account balanceq to EUR.

Procedure:
- ISSUE 1:
Start gnucash with :
        LANG=C gnucash
Tools / Security editor / Currency / Select USD / Edit
 Select Get Online Quote + Single + Currency
 Click on OK
Tool / Price Editor / Get quote
 On "Currencies / Euro" or "Currency / USD", there is no quote update
 => Issue


- ISSUE 2:
If I try to use an another currency source :
Tools / Security editor / Currency / Select USD / Edit
 Select Get Online Quote
 Select Multiple
 Select any possible source
 Click on OK
 Click on Edit
 => "Single + Currency" are still selected, instead of "Multiple + any source"
 Try to update currency : Same issue as upper, no currency updated


- ISSUE 3:
Start gnucash with :
        LANG=fr_FR.UTF-8 gnucash
Tool / Price Editor / Get quote
 On "Currencies / Euro" or "Currency / USD", there is no quote update
 A french dialog box error message with "Not possible to download quotes for
elements:
 CURRENCY:USD
 Do you wan to continue by using only good quotation ?"
 YES / No button


According to upper message, I guess that gnucash does not send to "gnc-fq-dump"
the good parameter.
Indeed, If I run manually :

$ gnc-fq-dump yahoo_json EURUSD
Finance::Quote fields Gnucash uses:
    symbol: EURUSD               <=== required
      date: ** missing **        <=== recommended
  currency: ** missing **        <=== required
      last:                      <=\
       nav:                      <=== one of these
     price:                      <=/
  timezone:                      <=== optional

** This stock quote cannot be used by GnuCash!

=> FAILURE

The good usage is :

$ gnc-fq-dump yahoo_json EURUSD=X
Finance::Quote fields Gnucash uses:
    symbol: EURUSD=X             <=== required
      date: 03/19/2018           <=== recommended
  currency: USD                  <=== required
      last: 1.2341108            <=\
       nav:                      <=== one of these
     price:                      <=/
  timezone:                      <=== optional


This is match with Yahoo web site : https://finance.yahoo.com/quote/EURUSD=X



If I create a new gnucash file "from scratch", issue is the same.

I don't have currency update since mid-2016, so issue may appear many months
before.

On the other hand, quote update for standard Yahoo quote are working fine, by
selecting "Yahoo as JSON" source.

Thanks for your help !

Configuration:
        Debian testing
        Gnucash                 1:2.6.18-1      (unstable)
        libfinance-quote-perl   1.47-1          (testing + unstable)

Best regards,

                                  Olivier




-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE= 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnucash depends on:
ii  gnucash-common             1:2.6.18-1
ii  guile-2.0                  2.0.13+1-4+b1
ii  guile-2.0-libs             2.0.13+1-4+b1
ii  libaqbanking35             5.7.8-1
ii  libaqbanking35-plugins     5.7.8-1
ii  libc6                      2.27-2
ii  libcairo2                  1.15.10-1
ii  libcrypt-ssleay-perl       0.73.04-2+b2
ii  libdate-manip-perl         6.70-1
ii  libdbi1                    0.9.0-5
ii  libfinance-quote-perl      1.47-1
ii  libgdk-pixbuf2.0-0         2.36.11-1
ii  libglib2.0-0               2.54.3-2
ii  libgnomecanvas2-0          2.30.3-3
ii  libgoffice-0.8-8           0.8.17-8
ii  libgtk2.0-0                2.24.32-1
ii  libgwengui-gtk2-0          4.20.0-1
ii  libgwenhywfar60            4.20.0-1
ii  libhtml-tableextract-perl  2.15-1
ii  libhtml-tree-perl          5.07-1
ii  libktoblzcheck1v5          1.49-4
ii  libofx7                    1:0.9.12-1
ii  libpango-1.0-0             1.40.14-1
ii  libpangocairo-1.0-0        1.40.14-1
ii  libpython2.7               2.7.14-6
ii  libsecret-1-0              0.18.5-6
ii  libwebkitgtk-1.0-0         2.4.11-3
ii  libwww-perl                6.31-1
ii  libx11-6                   2:1.6.4-3
ii  libxml2                    2.9.4+dfsg1-6.1
ii  libxslt1.1                 1.1.29-5
ii  perl                       5.26.1-5
ii  zlib1g                     1:1.2.8.dfsg-5

Versions of packages gnucash recommends:
ii  dbus            1.12.6-2
ii  dbus-x11        1.12.6-2
ii  gnucash-docs    2.6.17-1
ii  python-gnucash  1:2.6.18-1
ii  yelp            3.26.0-2

Versions of packages gnucash suggests:
pn  libdbd-mysql    <none>
pn  libdbd-pgsql    <none>
pn  libdbd-sqlite3  <none>

-- no debconf information

Reply via email to