[Scons-users] Help regarding IOError(stderr.decode("mbcs"))
Gary Oberbrunner
garyo at oberbrunner.com
Tue Feb 4 07:14:45 EST 2014
What is your locale? Looks like it's trying to decode a multibyte string
coming from stderr.
--
Gary Oberbrunner
(sent from my Android)
On Feb 4, 2014 7:08 AM, "Aseem Shakuntal" <kri80vt at outlook.com> wrote:
> Hello,
>
> In order to get started with scons, I created a simple "hello.c" and a
> SConstruct file which does this:
>
> env = Environment()
> hello = Program(["hello.c"])
>
> When I run scons from my folder which contains these files, I get this
> error:
>
> $ scons
> scons: Reading SConscript files ...
> IOError: :
> File "E:\scons-test\SConstruct", line 1:
> env = Environment()
> File "c:\Python27\scons-2.0.1\SCons\Environment.py", line 991:
> apply_tools(self, tools, toolpath)
> File "c:\Python27\scons-2.0.1\SCons\Environment.py", line 105:
> env.Tool(tool)
> File "c:\Python27\scons-2.0.1\SCons\Environment.py", line 1692:
> tool(self)
> File "c:\Python27\scons-2.0.1\SCons\Tool\__init__.py", line 180:
> self.generate(env, *args, **kw)
> File "c:\Python27\scons-2.0.1\SCons\Tool\default.py", line 41:
> SCons.Tool.Tool(t)(env)
> File "c:\Python27\scons-2.0.1\SCons\Tool\__init__.py", line 180:
> self.generate(env, *args, **kw)
> File "c:\Python27\scons-2.0.1\SCons\Tool\mslink.py", line 242:
> msvc_setup_env_once(env)
> File "c:\Python27\scons-2.0.1\SCons\Tool\MSCommon\vc.py", line 343:
> msvc_setup_env(env)
> File "c:\Python27\scons-2.0.1\SCons\Tool\MSCommon\vc.py", line 436:
> d = msvc_find_valid_batch_script(env,version)
> File "c:\Python27\scons-2.0.1\SCons\Tool\MSCommon\vc.py", line 390:
> d = script_env(vc_script, args=arg)
> File "c:\Python27\scons-2.0.1\SCons\Tool\MSCommon\vc.py", line 292:
> stdout = common.get_output(script, args)
> File "c:\Python27\scons-2.0.1\SCons\Tool\MSCommon\common.py", line 173:
> raise IOError(stderr.decode("mbcs"))
>
> I am using windows 7, 64 bit. I have python 2.7 installed (and also python
> 3.2).
>
> Can anyone point me to fixing this? Any help / pointers are highly
> appreciated!
>
> Br, Aseem
> --
> i must dream, to make my dreams come true!
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20140204/bd41df27/attachment.html
More information about the Scons-users
mailing list