[Scons-users] Windows build error
Bill Deegan
bill at baddogconsulting.com
Thu Feb 16 15:03:45 EST 2017
Stefan,
Please post a minimal test case demonstrating the problem.
Generally if you're using subprocess.* you're not doing it the scons way..
-Bill
On Thu, Feb 16, 2017 at 11:21 AM, Stefan Seefeld <stefan at seefeld.name>
wrote:
> Hello,
>
>
> I just got a build failure in a test that uses
> `subprocess.check_output()`. The error is
>
> TypeError: environment can only contain strings
>
> Looking into the environment (env['ENV']), I notice a "SystemRoot"
> variable set to u`C:\\Windows`, i.e. which has type unicode, rather than
> str. It appears to be set by SCons.Platform.win32. For now I'm injecting
> a bit of code to convert the value to a string, but I think this ought
> to be fixed in SCons itself.
>
> Should I file a bug report for this ?
>
> Thanks,
>
> Stefan
>
> --
>
> ...ich hab' noch einen Koffer in Berlin...
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20170216/c0899a68/attachment.html>
More information about the Scons-users
mailing list