Comment 68 for bug 1662531

Revision history for this message
Alvin Penner (apenner) wrote :

I doubt if this is related to the variable LANG. I monitored the variable LANG in the prepare_file_save_as extension using code like this:

inkex.errormsg('LANG = ' + inkex.os.environ.get('LANG', '-1'))
p = Popen('inkscape --verb=EditSelectAllInAllLayers etc etc

The output I got was 'LANG = en_US' followed by a crash. The LANG value was correct.
I believe the variables of the type LC_ are implicated. These variables simply do not exist on Windows at all. The only thing that makes sense in this crash is the error message:
what(): locale::facet::_S_create_c_locale name not valid

If you google this error message, virtually every hit you get will have two characteristics. Firstly it will probably refer to a non-Windows OS, and secondly it will almost certainly contain a reference to a variable of the general type LC_*, which do not exist on my machine.

In any event I will play with it some more over the next week or so. The error is not worth the bandwidth being given to it, so frankly I think almost any patch would be acceptable.