Comment 43 for bug 1662531

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

Thanks. In actual fact, I do not think that the output of that question will have changed recently. I mean, it is not the environment that has changed in trunk, it is the manner in which the environment is being interrogated that has changed.
    So I wonder if you would be willing to do one final test, which is to dump out the entire contents of the environment on your machine, from Python from Inkscape.
    In my case I used the following commands in Python to do this:

def effect(self):
    fout = open('\Windows\Temp\save_as_err.txt', 'wt')
    fout.write(str(inkex.os.environ))
    fout.close()

I executed this from inside a standard Inkscape extension and got the following result, attached here. You'll need to modify the file/path appropriately, but hopefully it should work.
    I guess what I'm hoping to see is any kind of variable that starts with the three letters LC_, since there seem to be a number of variables of this type, none of which exist in Windows.
    There must be something that distinguishes a Windows environment set from a non-Windows set.