Error while building NSIS
I am getting the following error while building NSIS. I have limited knowledge of scons and python. Please help me out.
IndexError: string index out of range:
File "D:\nsis-2.27-src\SConstruct", line 1:
EnsurePythonVersion(1,6)
File "C:\Python25\Lib\site-packages\scons-0.97.0d20070809\SCons\Script\SConscr
line 581:
env = self.factory()
File "C:\Python25\Lib\site-packages\scons-0.97.0d20070809\SCons\Script\SConscr
line 561:
default_env = SCons.Defaults.DefaultEnvironment()
File "C:\Python25\Lib\site-packages\scons-0.97.0d20070809\SCons\Defaults.py",
_default_env = apply(SCons.Environment.Environment, args, kw)
File "C:\Python25\Lib\site-packages\scons-0.97.0d20070809\SCons\Environment.py
784:
apply_tools(self, tools, toolpath)
File "C:\Python25\Lib\site-packages\scons-0.97.0d20070809\SCons\Environment.py
101:
env.Tool(tool)
File "C:\Python25\Lib\site-packages\scons-0.97.0d20070809\SCons\Environment.py
1338:
tool(self)
File "C:\Python25\Lib\site-packages\scons-0.97.0d20070809\SCons\Tool\__init__.
e 175:
apply(self.generate, ( env, ) + args, kw)
File "C:\Python25\Lib\site-packages\scons-0.97.0d20070809\SCons\Tool\default.p
40:
for t in SCons.Tool.tool_list(env['PLATFORM'], env):
File "C:\Python25\Lib\site-packages\scons-0.97.0d20070809\SCons\Tool\__init__.
e 548:
env)
File "C:\Python25\Lib\site-packages\scons-0.97.0d20070809\SCons\Tool\__init__.
e 437:
return filter (ToolExists, tools)
File "C:\Python25\Lib\site-packages\scons-0.97.0d20070809\SCons\Tool\__init__.
e 436:
return Tool(tool).exists(env)
File "C:\Python25\Lib\site-packages\scons-0.97.0d20070809\SCons\Tool\wix.py",
if path[0] == '"' and path[-1:]=='"':