okay, I think I have confirmed that Python indeed does inherit the Windows environment automatically. I ran a Python script from inside Inkscape and used the Python command:
fout.write(str(inkex.os.environ) + "\n\n")
to write out the entire environment. The environment was a duplicate of the normal Windows environment except for three new variables, which were 'LANG', 'PYTHONPATH', and 'INKSCAPELOCALE'. All three of these variables had reasonable values, as far as I can tell.
So my question is, how come the variable 'LC_ALL' was not present?
Is this variable present in non-Windows systems?
Setting this variable fixed the crash, for reasons that I do not fully understand.
okay, I think I have confirmed that Python indeed does inherit the Windows environment automatically. I ran a Python script from inside Inkscape and used the Python command: str(inkex. os.environ) + "\n\n")
fout.write(
to write out the entire environment. The environment was a duplicate of the normal Windows environment except for three new variables, which were 'LANG', 'PYTHONPATH', and 'INKSCAPELOCALE'. All three of these variables had reasonable values, as far as I can tell.
So my question is, how come the variable 'LC_ALL' was not present?
Is this variable present in non-Windows systems?
Setting this variable fixed the crash, for reasons that I do not fully understand.