scons icon indicating copy to clipboard operation
scons copied to clipboard

bootstrap.py fails

Open readyready15728 opened this issue 8 years ago • 0 comments

When attempting to run bootstrap.py the following error is encountered:

error in src/engine/SCons/Action.xml
Traceback (most recent call last):
  File "bin/scons-proc.py", line 108, in <module>
    saxparser.parse(StringIO(input))
TypeError: initial_value must be unicode or None, not str
scons: *** [build/doc/man/builders.man] Error 1
scons: building terminated because of errors.

This issue was however readily resolved by replacing the line saxparser.parse(StringIO(input)) with saxparser.parse(StringIO(unicode(input))).

readyready15728 avatar Dec 06 '17 12:12 readyready15728