* Re: Help need [not found] <PH0PR11MB49010F16B8DD5D1F27A6DD7C837D9@PH0PR11MB4901.namprd11.prod.outlook.com> @ 2022-01-04 1:59 ` Bin Yusof, Muhammad RaihanX 2022-01-04 3:19 ` 回复: [edk2-devel] " gaoliming 0 siblings, 1 reply; 2+ messages in thread From: Bin Yusof, Muhammad RaihanX @ 2022-01-04 1:59 UTC (permalink / raw) To: devel@edk2.groups.io; +Cc: Jayaseelan, MelwinX [-- Attachment #1: Type: text/plain, Size: 2774 bytes --] Hello There, Any update on the below issue? Best Regards, Raihan From: Bin Yusof, Muhammad RaihanX Sent: Wednesday, December 22, 2021 5:03 PM To: devel@edk2.groups.io Cc: Jayaseelan, MelwinX <melwinx.jayaseelan@intel.com> Subject: Help need Hello There, The below error happened when I tried to build. I'm using this command line>> py -3 BuildPayload.py build Cfl Below is the host machine configuration: Python 3.9 Visual Studio 2017 Please advise. Thanks! Please find the screenshot of the error: build.py... : error C0DE: Tools code failure Please send email to devel@edk2.groups.io<mailto:devel@edk2.groups.io> for help, attaching following call stack trace! Traceback (most recent call last): File "C:\Jenkins\workspace\Production\WHL_SBL_UefiPayload\uefipldplatform\Edk2Open\BaseTools\Source\Python\GenFds\GenFds.py", line 371, in GenFdsApi GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList) File "C:\Jenkins\workspace\Production\WHL_SBL_UefiPayload\uefipldplatform\Edk2Open\BaseTools\Source\Python\GenFds\GenFds.py", line 510, in GenFd FdObj.GenFd() File "C:\Jenkins\workspace\Production\WHL_SBL_UefiPayload\uefipldplatform\Edk2Open\BaseTools\Source\Python\GenFds\Fd.py", line 131, in GenFd RegionObj.AddToBuffer (FdBuffer, self.BaseAddress, self.BlockSizeList, self.ErasePolarity, GenFdsGlobalVariable.ImageBinDict, self.DefineVarDict, Flag=Flag) File "C:\Jenkins\workspace\Production\WHL_SBL_UefiPayload\uefipldplatform\Edk2Open\BaseTools\Source\Python\GenFds\Region.py", line 134, in AddToBuffer FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePolarity, Flag=Flag) File "C:\Jenkins\workspace\Production\WHL_SBL_UefiPayload\uefipldplatform\Edk2Open\BaseTools\Source\Python\GenFds\Fv.py", line 127, in AddToBuffer FileName = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress, IsMakefile=Flag, FvName=self.UiFvName) File "C:\Jenkins\workspace\Production\WHL_SBL_UefiPayload\uefipldplatform\Edk2Open\BaseTools\Source\Python\GenFds\FfsFileStatement.py", line 153, in GenFfs sectList, align = section.GenSection(OutputDir, self.NameGuid, SecIndex, self.KeyStringList, None, Dict) File "C:\Jenkins\workspace\Production\WHL_SBL_UefiPayload\uefipldplatform\Edk2Open\BaseTools\Source\Python\GenFds\UiSection.py", line 70, in GenSection GenFdsGlobalVariable.GenerateSection(OutputFile, None, 'EFI_SECTION_USER_INTERFACE', Ui=NameString, IsMakefile=IsMakefile) File "C:\Jenkins\workspace\Production\WHL_SBL_UefiPayload\uefipldplatform\Edk2Open\BaseTools\Source\Python\GenFds\GenFdsGlobalVariable.py", line 466, in GenerateSection SectionData.fromstring(Ui.encode("utf_16_le")) AttributeError: 'array.array' object has no attribute 'fromstring' Best Regards, Raihan [-- Attachment #2: Type: text/html, Size: 7407 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
* 回复: [edk2-devel] Help need 2022-01-04 1:59 ` Help need Bin Yusof, Muhammad RaihanX @ 2022-01-04 3:19 ` gaoliming 0 siblings, 0 replies; 2+ messages in thread From: gaoliming @ 2022-01-04 3:19 UTC (permalink / raw) To: devel, muhammad.raihanx.bin.yusof; +Cc: 'Jayaseelan, MelwinX' [-- Attachment #1: Type: text/plain, Size: 3350 bytes --] This issue has been fixed in edk2 master (commit 20b292d0cdf7dce58d824fdf9ab1613c2a1ad2ec 2020/12/29). Please make sure new edk2 be used. Thanks Liming 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Bin Yusof, Muhammad RaihanX 发送时间: 2022年1月4日 10:00 收件人: devel@edk2.groups.io 抄送: Jayaseelan, MelwinX <melwinx.jayaseelan@intel.com> 主题: Re: [edk2-devel] Help need Hello There, Any update on the below issue? Best Regards, Raihan From: Bin Yusof, Muhammad RaihanX Sent: Wednesday, December 22, 2021 5:03 PM To: devel@edk2.groups.io <mailto:devel@edk2.groups.io> Cc: Jayaseelan, MelwinX <melwinx.jayaseelan@intel.com <mailto:melwinx.jayaseelan@intel.com> > Subject: Help need Hello There, The below error happened when I tried to build. I’m using this command line>> py -3 BuildPayload.py build Cfl Below is the host machine configuration: Python 3.9 Visual Studio 2017 Please advise. Thanks! Please find the screenshot of the error: build.py... : error C0DE: Tools code failure Please send email to devel@edk2.groups.io <mailto:devel@edk2.groups.io> for help, attaching following call stack trace! Traceback (most recent call last): File "C:\Jenkins\workspace\Production\WHL_SBL_UefiPayload\uefipldplatform\Edk2Ope n\BaseTools\Source\Python\GenFds\GenFds.py", line 371, in GenFdsApi GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList) File "C:\Jenkins\workspace\Production\WHL_SBL_UefiPayload\uefipldplatform\Edk2Ope n\BaseTools\Source\Python\GenFds\GenFds.py", line 510, in GenFd FdObj.GenFd() File "C:\Jenkins\workspace\Production\WHL_SBL_UefiPayload\uefipldplatform\Edk2Ope n\BaseTools\Source\Python\GenFds\Fd.py", line 131, in GenFd RegionObj.AddToBuffer (FdBuffer, self.BaseAddress, self.BlockSizeList, self. ErasePolarity, GenFdsGlobalVariable.ImageBinDict, self.DefineVarDict, Flag=Flag) File "C:\Jenkins\workspace\Production\WHL_SBL_UefiPayload\uefipldplatform\Edk2Ope n\BaseTools\Source\Python\GenFds\Region.py", line 134, in AddToBuffer FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePolarity, Flag=Flag) File "C:\Jenkins\workspace\Production\WHL_SBL_UefiPayload\uefipldplatform\Edk2Ope n\BaseTools\Source\Python\GenFds\Fv.py", line 127, in AddToBuffer FileName = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress, IsMakefile=Flag, FvName=self.UiFvName) File "C:\Jenkins\workspace\Production\WHL_SBL_UefiPayload\uefipldplatform\Edk2Ope n\BaseTools\Source\Python\GenFds\FfsFileStatement.py", line 153, in GenFfs sectList, align = section.GenSection(OutputDir, self.NameGuid, SecIndex, self.KeyStringList, None, Dict) File "C:\Jenkins\workspace\Production\WHL_SBL_UefiPayload\uefipldplatform\Edk2Ope n\BaseTools\Source\Python\GenFds\UiSection.py", line 70, in GenSection GenFdsGlobalVariable.GenerateSection(OutputFile, None, 'EFI_SECTION_USER_INTERFACE', Ui=NameString, IsMakefile=IsMakefile) File "C:\Jenkins\workspace\Production\WHL_SBL_UefiPayload\uefipldplatform\Edk2Ope n\BaseTools\Source\Python\GenFds\GenFdsGlobalVariable.py", line 466, in GenerateSection SectionData.fromstring(Ui.encode("utf_16_le")) AttributeError: 'array.array' object has no attribute 'fromstring' Best Regards, Raihan [-- Attachment #2: Type: text/html, Size: 9722 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-04 3:19 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <PH0PR11MB49010F16B8DD5D1F27A6DD7C837D9@PH0PR11MB4901.namprd11.prod.outlook.com> 2022-01-04 1:59 ` Help need Bin Yusof, Muhammad RaihanX 2022-01-04 3:19 ` 回复: [edk2-devel] " gaoliming
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox