| 1 | Same Glib::ConvertError on OS X 10.10.5 with Macports Inkscape. |
| 2 | |
| 3 | I have built Inkscape 0.92.3 from source with Debug option and found that the error is related to Glib::ustring usage. Inkscape 0.91 gives the same error, so I assume something changed in Glib? Not being a programmer myself, don't know how to fix this, but maybe this info helps. |
| 4 | Regards, |
| 5 | Johan |
| 6 | |
| 7 | Details |
| 8 | ======= |
| 9 | OS X 10.10.5 |
| 10 | |
| 11 | Macports: |
| 12 | inkscape @0.92.2_2+x11 (active) |
| 13 | |
| 14 | glib Macports installed: |
| 15 | dbus-glib @0.110_0 (active) |
| 16 | geocode-glib @3.24.0_0 (active) |
| 17 | glib-networking @2.54.1_0 (active) |
| 18 | glib2 @2.56.0_0+x11 (active) |
| 19 | glibmm @2.56.0_0+x11 (active) |
| 20 | json-glib @1.2.8_0 (active) |
| 21 | taglib @1.11.1_0 (active) |
| 22 | |
| 23 | Location of the first occurrence (resulting in ConvertError exception) is in src/widgets/text-toolbar.cpp at line 1792. Bypass using std::string results in the next occurrence at line 1378. |
| 24 | |
| 25 | {{{ |
| 26 | //Glib::ustring tooltip = Glib::ustring::format(_("Font size"), " (", sp_style_get_css_unit_string(unit), ")"); |
| 27 | std::string tooltip = _("Font size"); |
| 28 | tooltip += " ("; |
| 29 | tooltip += sp_style_get_css_unit_string(unit); |
| 30 | tooltip += ")"; |
| 31 | ink_comboboxentry_action_set_tooltip ( fontSizeAction, tooltip.c_str()); |
| 32 | }}} |