From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 26F211A1E02 for ; Wed, 31 Aug 2016 12:04:18 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP; 31 Aug 2016 12:04:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,263,1470726000"; d="scan'208";a="3183526" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga005.fm.intel.com with ESMTP; 31 Aug 2016 12:04:17 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 31 Aug 2016 12:04:17 -0700 Received: from fmsmsx107.amr.corp.intel.com ([169.254.6.79]) by fmsmsx115.amr.corp.intel.com ([169.254.4.41]) with mapi id 14.03.0248.002; Wed, 31 Aug 2016 12:04:17 -0700 From: "Foster, Matthew I" To: "Gao, Liming" , wang xiaofeng , "edk2-devel@lists.01.org" Thread-Topic: [edk2] UnicodeError: UTF-16 stream does not start with BOM error when update from UDK2015 to latest Github trunk Thread-Index: AQHRc4BCDI/7vx8q9kmQeDQf1UhveZ9EoJeAgR/tLvA= Date: Wed, 31 Aug 2016 19:04:16 +0000 Message-ID: <3E72E29DAAE6E94BB0236F004CFB699B7884E150@fmsmsx107.amr.corp.intel.com> References: <516d6a57.6ba8.15330c71162.Coremail.winggundum82@163.com> <4A89E2EF3DFEDB4C8BFDE51014F606A114BC1060@SHSMSX101.ccr.corp.intel.com> In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A114BC1060@SHSMSX101.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.200.107] MIME-Version: 1.0 Subject: Re: UnicodeError: UTF-16 stream does not start with BOM error when update from UDK2015 to latest Github trunk X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2016 19:04:18 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Is there a way to work-around this error without having to upgrade to the n= ewest BaseTools?=20 -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Gao,= Liming Sent: Monday, February 29, 2016 11:08 PM To: wang xiaofeng ; edk2-devel@lists.01.org Subject: Re: [edk2] UnicodeError: UTF-16 stream does not start with BOM err= or when update from UDK2015 to latest Github trunk Do you get the latest BaseTools binary win32? > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of=20 > wang xiaofeng > Sent: Tuesday, March 01, 2016 2:04 PM > To: edk2-devel@lists.01.org > Subject: [edk2] UnicodeError: UTF-16 stream does not start with BOM=20 > error when update from UDK2015 to latest Github trunk >=20 > Hi All Edk2 developer, > I meet a build error when update code from UDK2015 to latest=20 > Github trunk. Do anyone meet similar issue before? I sync NetworkPkg=20 > seperately to latest code but find the following error: >=20 >=20 > build... > : error C0DE: Unknown fatal error when processing=20 > [e:\code\cl174\NetworkPkg\Ip6Dxe\Ip6Dxe.inf] > (Please send email to edk2-devel@lists.sourceforge.net for help,=20 > attaching following call stack trace!) >=20 >=20 > (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=20 > decode > UnicodeError: UTF-16 stream does not start with BOM=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel