Comment 64 for bug 1662531

Revision history for this message
su_v (suv-lp) wrote :

On 2017-02-19 23:21 (+0100), Alvin Penner wrote:
> only the second one crashes

Thank you for testing. The issue seems two-fold:

1) localize() in inkex.py may set unexpected (or invalid) LANG env on Windows.

2) internal code for some document rotation widget(s) does not guard against unexpected (or invalid) locale value.

Re 1): I don't know why that happens on your system, but not on the Windows10 system I currently have available for testing. A possible fix for localize() might be to check current_locale for 'None' (see attached), or whatever other value locale.getdefaultlocale()[0] returns on your system that later triggers the crash of the second instance.

Re 2): probably best tracked in a separate report.