GNOME Bugzilla – Bug 645663
gcalctool crashes switching to advanced mode @unit_get_name
Last modified: 2011-03-27 22:45:17 UTC
Upstreaming from https://bugzilla.redhat.com/show_bug.cgi?id=689646 Stack trace is https://bugzilla.redhat.com/attachment.cgi?id=486715 I can easily reproduce this on 2.91.93, simply with Mode>Advanced.
Created attachment 184226 [details] Stack trace from gcalctool 5.91.93 Stack trace in .93 is slightly different...
I think you've got an invalid unit in gsettings. Could you check the values in /apps/gcalctool/source-units and /apps/gcalctool/target-units? I've fixed master to handle this case now.
source-units is "degrees" (plural) and target-units is "radians" (plural). Changing to the singular for both gets rid of the crash. Not sure how they got that way, since I didn't set them.... did it change recently?
To follow up on my earlier question, this was probably caused by http://git.gnome.org/browse/gcalctool/commit/?id=e3589a5989de8fa6c36044983180d2beca311292 and just hadn't noticed it til now.
Glad you had those values, otherwise I wouldn't have noticed! Thanks again.