Bug 1299505 - gnome-calculator prints "Currency LTL is not provided by IMF or ECB" in Financial mode
Summary: gnome-calculator prints "Currency LTL is not provided by IMF or ECB" in Finan...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-calculator
Version: 23
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-18 14:25 UTC by Jiri Prajzner
Modified: 2016-10-15 16:02 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-10-15 00:14:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jiri Prajzner 2016-01-18 14:25:44 UTC
Description of problem:
gnome-calculator prints "Currency LTL is not provided by IMF or ECB" in Financial mode

Version-Release number of selected component (if applicable):
3.18.2

How reproducible:
Always

Steps to Reproduce:
1. execute gnome-calculator
2. switch to Financial mode
3.

Actual results:
** (gnome-calculator:20713): WARNING **: currency.vala:407: Currency LTL is not provided by IMF or ECB

Expected results:
No warning printed out for LTL currency conversion

Additional info:
This is not dependent on whether the Financial mode has LTL set as the last used currency in a conversion. It seems to be set as an implicit default.

Comment 1 Zbigniew Jędrzejewski-Szmek 2016-10-13 14:30:46 UTC
$ GDK_BACKEND=wayland gnome-calculator

** (gnome-calculator:2198): CRITICAL **: number_reciprocal: assertion 'self != NULL' failed

** (gnome-calculator:2198): CRITICAL **: currency_set_value: assertion 'value != NULL' failed

** (gnome-calculator:2198): WARNING **: currency.vala:406: Currency IRR is not provided by IMF or ECB

$ rpm -qf /bin/gnome-calculator 
gnome-calculator-3.22.0-1.fc25.x86_64

Comment 2 Michael Catanzaro 2016-10-15 00:14:49 UTC
Fixed by https://git.gnome.org/browse/gnome-calculator/commit/?id=63d2f489897cbead3a7ded94b00209fced877b31 earlier this year

Will push a follow-up to remove the Iranian Rial.

Comment 3 Michael Catanzaro 2016-10-15 00:15:58 UTC
(In reply to Zbigniew Jędrzejewski-Szmek from comment #1)
> $ GDK_BACKEND=wayland gnome-calculator
> 
> ** (gnome-calculator:2198): CRITICAL **: number_reciprocal: assertion 'self
> != NULL' failed
> 
> ** (gnome-calculator:2198): CRITICAL **: currency_set_value: assertion
> 'value != NULL' failed

These are different bugs, please run it with G_DEBUG=fatal-criticals to get a nice backtrace can be reported via ABRT.

Comment 4 Michael Catanzaro 2016-10-15 00:24:41 UTC
(In reply to Zbigniew Jędrzejewski-Szmek from comment #1)
> ** (gnome-calculator:2198): WARNING **: currency.vala:406: Currency IRR is
> not provided by IMF or ECB

It's working now, maybe data for this currency was just temporarily missing? Or maybe it stopped trading? I have no clue what happened here.

Comment 5 Zbigniew Jędrzejewski-Szmek 2016-10-15 16:02:56 UTC
I cannot reproduce it now. I tried with network up and down, and no warnings are printed. I'll open a new issue if I see it again.


Note You need to log in before you can comment on or make changes to this bug.