After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 670083 - ** ERROR **: Couldn't parse ECB rate file \u0010w\xdc\xf6\u0010w\xdc\xf6\u0018\x9at \u0018\x9at e/gcalctool/eurofxref-daily.xml
** ERROR **: Couldn't parse ECB rate file \u0010w\xdc\xf6\u0010w\xdc\xf6\u001...
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
6.3.x
Other Linux
: Normal critical
: ---
Assigned To: gcalctool maintainers
gcalctool maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-14 16:14 UTC by Paul Menzel
Modified: 2012-07-28 16:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Menzel 2012-02-14 16:14:04 UTC
Using gcalctool from Debian Sid/unstable

    $ gnome-calculator --version
    gnome-calculator 6.2.0

wanting to start it I got the following error message. Trying it again it worked fine.

        $ gnome-calculator
        ** (gnome-calculator:23543): DEBUG: Downloading rates from the IMF...
        ** (gnome-calculator:23543): DEBUG: Downloading rates from the ECB...

        ** (gnome-calculator:23543): WARNING **: Couldn't download ECB currency rate file: Automatisches Einhängen gescheitert: Speicherort für org.gtk.vfs.mountpoint.http wird bereits verwendet
        ** (gnome-calculator:23543): DEBUG: IMF rates updated
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.8541280000 for EUR
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0083013000 for JPY
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 1.0180100000 for GBP
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.6444300000 for USD
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0086109800 for DZD
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.6921180000 for AUD
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 1.7139100000 for BHD
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0891247000 for BWP
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.3733660000 for BRL
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.5136130000 for BND
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.6446880000 for CAD
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0013470800 for CLP
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.1023900000 for CNY
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0003609060 for COP
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0341040000 for CZK
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.1149130000 for DKK
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0029340300 for HUF
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0052787500 for ISK
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0130663000 for INR
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0000714208 for IDR
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0000525636 for IRR
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.1733740000 for ILS
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0043434000 for KZT
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0005747680 for KRW
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 2.3243600000 for KWD
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.5174910000 for LYD
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.2130000000 for MYR
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0222581000 for MUR
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0505864000 for MXN
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0081521800 for NPR
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.5339100000 for NZD
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.1128160000 for NOK
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 1.6760200000 for OMR
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0070940100 for PKR
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.2401550000 for PEN
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0152178000 for PHP
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.2036560000 for PLN
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.1770410000 for QAR
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0215620000 for RUB
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.1718480000 for SAR
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.5136130000 for SGD
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0840634000 for ZAR
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0056067500 for LKR
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0971405000 for SEK
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.7066890000 for CHF
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0209000000 for THB
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.1006370000 for TTD
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.4291340000 for TND
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.1754740000 for AED
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.0331129000 for UYU
        ** (gnome-calculator:23543): DEBUG: Using IMF rate of 0.1502410000 for VEF
        ** (gnome-calculator:23543): DEBUG: Using ECB fixed rate of 0.06391 for EEK
        ** (gnome-calculator:23543): DEBUG: Using ECB fixed rate of 0.152449 for CFA
        I/O warning : failed to load external entity "/home/paul/.cache/gcalctool/eurofxref-daily.xml"

        ** ERROR **: Couldn't parse ECB rate file \u0010w\xdc\xf6\u0010w\xdc\xf6\u0018\x9at	\u0018\x9at	e/gcalctool/eurofxref-daily.xml

        [1]+  Trace/Breakpoint ausgelöst   gnome-calculator
        $ LANG=C gnome-calculator
        ** (gnome-calculator:23787): DEBUG: Downloading rates from the ECB...
        ** (gnome-calculator:23787): DEBUG: ECB rates updated
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.8541280000 for EUR
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0083013000 for JPY
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 1.0180100000 for GBP
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.6444300000 for USD
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0086109800 for DZD
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.6921180000 for AUD
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 1.7139100000 for BHD
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0891247000 for BWP
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.3733660000 for BRL
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.5136130000 for BND
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.6446880000 for CAD
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0013470800 for CLP
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.1023900000 for CNY
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0003609060 for COP
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0341040000 for CZK
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.1149130000 for DKK
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0029340300 for HUF
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0052787500 for ISK
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0130663000 for INR
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0000714208 for IDR
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0000525636 for IRR
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.1733740000 for ILS
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0043434000 for KZT
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0005747680 for KRW
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 2.3243600000 for KWD
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.5174910000 for LYD
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.2130000000 for MYR
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0222581000 for MUR
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0505864000 for MXN
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0081521800 for NPR
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.5339100000 for NZD
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.1128160000 for NOK
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 1.6760200000 for OMR
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0070940100 for PKR
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.2401550000 for PEN
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0152178000 for PHP
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.2036560000 for PLN
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.1770410000 for QAR
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0215620000 for RUB
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.1718480000 for SAR
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.5136130000 for SGD
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0840634000 for ZAR
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0056067500 for LKR
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0971405000 for SEK
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.7066890000 for CHF
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0209000000 for THB
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.1006370000 for TTD
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.4291340000 for TND
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.1754740000 for AED
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.0331129000 for UYU
        ** (gnome-calculator:23787): DEBUG: Using IMF rate of 0.1502410000 for VEF
        ** (gnome-calculator:23787): DEBUG: Using ECB fixed rate of 0.06391 for EEK
        ** (gnome-calculator:23787): DEBUG: Using ECB fixed rate of 0.152449 for CFA
        ** (gnome-calculator:23787): DEBUG: Using ECB rate of 1.9558 for BGN
        ** (gnome-calculator:23787): DEBUG: Using ECB rate of 3.4528 for LTL
        ** (gnome-calculator:23787): DEBUG: Using ECB rate of 0.6988 for LVL
        ** (gnome-calculator:23787): DEBUG: Using ECB rate of 4.3458 for RON
        ** (gnome-calculator:23787): DEBUG: Using ECB rate of 7.5870 for HRK
        ** (gnome-calculator:23787): DEBUG: Using ECB rate of 2.3312 for TRY
        ** (gnome-calculator:23787): DEBUG: Using ECB rate of 10.2782 for HKD
        ** (gnome-calculator:23787): DEBUG: Rates loaded
Comment 1 André Klapper 2012-02-23 12:11:19 UTC
Confirming. In 6.3.5 this crashed gcalctool for the first time, after restart it works fine.
Comment 2 Robert Ancell 2012-03-17 02:07:12 UTC
This is odd:

I/O warning : failed to load external entity "/home/paul/.cache/gcalctool/eurofxref-daily.xml"
** ERROR **: Couldn't parse ECB rate file \u0010w\xdc\xf6\u0010w\xdc\xf6 u0018\x9at    \u0018\x9at   e/gcalctool/eurofxref-daily.xml

The code is:

    filename = get_ecb_rate_filepath();
    document = xmlReadFile(filename, NULL, 0);
    if (!document)
        g_error("Couldn't parse ECB rate file %s", filename);
    g_free (filename);

which kind of implies filename got corrupted in xmlRealFile.

(I haven't seen the problem myself).
Comment 3 Robert Ancell 2012-07-28 16:41:53 UTC
Hmm, turns out the main bug is using g_error when it should be a g_warning.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.