Is there a way to work-around this error without having to upgrade to the 
newest BaseTools? 

-----Original Message-----
From: edk2-devel [mailto:[email protected]] On Behalf Of Gao, 
Liming
Sent: Monday, February 29, 2016 11:08 PM
To: wang xiaofeng <[email protected]>; [email protected]
Subject: Re: [edk2] UnicodeError: UTF-16 stream does not start with BOM error 
when update from UDK2015 to latest Github trunk

Do you get the latest BaseTools binary win32?

> -----Original Message-----
> From: edk2-devel [mailto:[email protected]] On Behalf Of 
> wang xiaofeng
> Sent: Tuesday, March 01, 2016 2:04 PM
> To: [email protected]
> Subject: [edk2] UnicodeError: UTF-16 stream does not start with BOM 
> error when update from UDK2015 to latest Github trunk
> 
> Hi All Edk2 developer,
>      I meet a build error when update code from UDK2015 to latest 
> Github trunk. Do anyone meet similar issue before? I sync NetworkPkg 
> seperately to latest code but find the following error:
> 
> 
> build...
>  : error C0DE: Unknown fatal error when processing 
> [e:\code\cl174\NetworkPkg\Ip6Dxe\Ip6Dxe.inf]
> (Please send email to [email protected] for help, 
> attaching following call stack trace!)
> 
> 
> (Python 2.7.3 on win32) Traceback (most recent call last):
>   File "build.py", line 2032, in Main
>   File "build.py", line 1788, in Launch
>   File "build.py", line 1618, in _MultiThreadBuildPlatform
>   File
> "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Aut
> oGen\AutoGen.py", line 3446, in CreateCodeFile
>   File
> "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Aut
> oGen\AutoGen.py", line 2854, in _GetAutoGenFileList
>   File
> "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Aut
> oGen\GenC.py", line 1552, in CreateCode
>   File
> "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Aut
> oGen\GenC.py", line 1456, in CreateUnicodeStringCode
>   File
> "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Aut
> oGen\StrGather.py", line 600, in GetStringFiles
>   File
> "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Aut
> oGen\UniClassObject.py", line 203, in __init__
>   File
> "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Aut
> oGen\UniClassObject.py", line 463, in LoadUniFiles
>   File
> "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Aut
> oGen\UniClassObject.py", line 377, in LoadUniFile
>   File
> "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Aut
> oGen\UniClassObject.py", line 318, in PreProcess
>   File "C:\Python\32-bit\2.7\lib\codecs.py", line 684, in next
>   File "C:\Python\32-bit\2.7\lib\codecs.py", line 615, in next
>   File "C:\Python\32-bit\2.7\lib\codecs.py", line 530, in readline
>   File "C:\Python\32-bit\2.7\lib\codecs.py", line 477, in read
>   File "C:\Python\32-bit\2.7\lib\encodings\utf_16.py", line 112, in 
> decode
> UnicodeError: UTF-16 stream does not start with BOM 
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to