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 750672 - Various errors when running currency conversion
Various errors when running currency conversion
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gcalctool maintainers
gcalctool maintainers
Depends on:
Blocks:
 
 
Reported: 2015-06-09 21:38 UTC by Michael Catanzaro
Modified: 2016-10-11 22:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Catanzaro 2015-06-09 21:38:52 UTC
Today I hit the assert I added in bug #745751 after trying to do a unit conversion with the search provider. Shouldn't have backported the assert to gnome-3-16, but I did... alas.
Comment 1 Michael Catanzaro 2015-06-09 22:37:51 UTC
So it provides a legit result, but only makes it there after spamming stderr:

$ gnome-calculator --solve '1500 EUR in USD'

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

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

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

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

These are all real bugs that should be fixed, hence I will leave this bug open, but clearly the assert was a bad idea. Let's back it out.
Comment 2 Michael Catanzaro 2015-06-09 23:38:43 UTC
(Note: reverted in commit 993fe54b620854e878f7960740cf0ad37dc9de45)
Comment 3 Robert Roth 2016-10-11 22:58:41 UTC
This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.