Have you tried the latest Python 3.x?
- Bret
From: Fowler, Eric (Mondo International, LLC) via groups.io
Sent: Wednesday, May 19, 2021 12:41 AM
To: devel@edk2.groups.io
Subject: [EXTERNAL] [edk2-devel] A plea for help
build.py...
: error C0DE: Unknown fatal error when processing [c:\edk2020\district-defend\edk2\MdeModulePkg\Universal\Console\GraphicsConsoleDxe\GraphicsConsoleDxe.inf]
(Please send email to devel@edk2.groups.io for help, attaching following call stack trace!)
(Python 3.9.5 on win32) Traceback (most recent call last):
File "C:\EDK2020\district-defend\edk2\BaseTools\Source\Python\build\build.py", line 2596, in Main
MyBuild.Launch()
File "C:\EDK2020\district-defend\edk2\BaseTools\Source\Python\build\build.py", line 2391, in Launch
self._MultiThreadBuildPlatform()
File "C:\EDK2020\district-defend\edk2\BaseTools\Source\Python\build\build.py", line 2271, in _MultiThreadBuildPlatform
self.CreateAsBuiltInf()
File "C:\EDK2020\district-defend\edk2\BaseTools\Source\Python\build\build.py", line 2401, in CreateAsBuiltInf
Module.CreateAsBuiltInf()
File "C:\EDK2020\district-defend\edk2\BaseTools\Source\Python\AutoGen\ModuleAutoGen.py", line 1503, in CreateAsBuiltInf
PatchList = parsePcdInfoFromMapFile(
File "C:\EDK2020\district-defend\edk2\BaseTools\Source\Python\GenPatchPcdTable\GenPatchPcdTable.py", line 59, in parsePcdInfoFromMapFile
return _parseGeneral(lines, efifilepath)
File "C:\EDK2020\district-defend\edk2\BaseTools\Source\Python\GenPatchPcdTable\GenPatchPcdTable.py", line 174, in _parseGeneral
efisecs = PeImageClass(efifilepath).SectionHeaderList
File "C:\EDK2020\district-defend\edk2\BaseTools\Source\Python\Common\Misc.py", line 1638, in __init__
if ByteArray.tostring() != b'PE\0\0':
AttributeError: 'array.array' object has no attribute 'tostring'
- Failed -
Build end time: 21:15:31, May.18 2021
Build total time: 00:07:11