public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Kumar Jain, Piyush" <piyush.kumar.jain@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: error C0DE: Tools code failure
Date: Thu, 30 Sep 2021 08:19:32 +0000	[thread overview]
Message-ID: <DM4PR11MB54241C9622D06973D10DB9D9ADAA9@DM4PR11MB5424.namprd11.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2037 bytes --]

Traceback (most recent call last):
  File "C:\Users\pkumarj1\IFWI3\rocketlake\Edk2\BaseTools\Source\Python\GenFds\GenFds.py", line 371, in GenFdsApi
    GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList)
  File "C:\Users\pkumarj1\IFWI3\rocketlake\Edk2\BaseTools\Source\Python\GenFds\GenFds.py", line 510, in GenFd
    FdObj.GenFd()
  File "C:\Users\pkumarj1\IFWI3\rocketlake\Edk2\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:\Users\pkumarj1\IFWI3\rocketlake\Edk2\BaseTools\Source\Python\GenFds\Region.py", line 134, in AddToBuffer
    FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePolarity, Flag=Flag)
  File "C:\Users\pkumarj1\IFWI3\rocketlake\Edk2\BaseTools\Source\Python\GenFds\Fv.py", line 127, in AddToBuffer
    FileName = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress, IsMakefile=Flag, FvName=self.UiFvName)
  File "C:\Users\pkumarj1\IFWI3\rocketlake\Edk2\BaseTools\Source\Python\GenFds\FfsFileStatement.py", line 156, in GenFfs
    sectList, align = section.GenSection(OutputDir, self.NameGuid, SecIndex, self.KeyStringList, None, Dict)
  File "C:\Users\pkumarj1\IFWI3\rocketlake\Edk2\BaseTools\Source\Python\GenFds\CompressSection.py", line 67, in GenSection
    ReturnSectList, AlignValue = Sect.GenSection(OutputPath, ModuleName, SecIndex, KeyStringList, FfsInf, Dict, IsMakefile=IsMakefile)
  File "C:\Users\pkumarj1\IFWI3\rocketlake\Edk2\BaseTools\Source\Python\GenFds\UiSection.py", line 70, in GenSection
    GenFdsGlobalVariable.GenerateSection(OutputFile, None, 'EFI_SECTION_USER_INTERFACE', Ui=NameString, IsMakefile=IsMakefile)
  File "C:\Users\pkumarj1\IFWI3\rocketlake\Edk2\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'

[-- Attachment #2: Type: text/html, Size: 4444 bytes --]

             reply	other threads:[~2021-09-30  8:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30  8:19 Kumar Jain, Piyush [this message]
2021-09-30 16:17 ` [edk2-devel] error C0DE: Tools code failure Andrew Fish

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM4PR11MB54241C9622D06973D10DB9D9ADAA9@DM4PR11MB5424.namprd11.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox