public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* PCD usage error
@ 2023-06-04 21:10 Jagadeesh, PithaniX
  0 siblings, 0 replies; only message in thread
From: Jagadeesh, PithaniX @ 2023-06-04 21:10 UTC (permalink / raw)
  To: devel@edk2.groups.io

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

Hi team,

could you please help in analysis over the error which was mentioned::


  (Python 3.8.8 on win32) Traceback (most recent call last):
  File "C:\gnr\edk2\BaseTools\Source\Python\build\build.py", line 2697, in Main
  MyBuild.Launch()
  File "C:\gnr\edk2\BaseTools\Source\Python\build\build.py", line 2493, in Launch
  self._BuildModule()
  File "C:\gnr\edk2\BaseTools\Source\Python\build\build.py", line 1882, in _BuildModule
  Wa = WorkspaceAutoGen(
  File "C:\gnr\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 43, in __init__
  self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs)
  File "C:\gnr\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 117, in _InitWorker
  self.ProcessPcdType()
  File "C:\gnr\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 264, in ProcessPcdType
  Platform.Pcds
  File "C:\gnr\edk2\BaseTools\Source\Python\Workspace\DscBuildData.py", line 1206, in Pcds
  self.__ParsePcdFromCommandLine()
  File "C:\gnr\edk2\BaseTools\Source\Python\Workspace\DscBuildData.py", line 1047, in __ParsePcdFromCommandLine
  if ((Name2, Name1)) in self.DecPcds:
  File "C:\gnr\edk2\BaseTools\Source\Python\Workspace\DscBuildData.py", line 3585, in DecPcds
  self._DecPcds, self._GuidDict = GetDeclaredPcd(self, self._Bdb, self._Arch, self._Target, self._Toolchain, PkgSet)
  File "C:\gnr\edk2\BaseTools\Source\Python\Workspace\WorkspaceCommon.py", line 60, in GetDeclaredPcd
  PkgList = GetPackageList(Platform, BuildDatabase, Arch, Target, Toolchain)
  File "C:\gnr\edk2\BaseTools\Source\Python\Workspace\WorkspaceCommon.py", line 45, in GetPackageList
  for Lib in GetLiabraryInstances(Data, Platform, BuildDatabase, Arch, Target, Toolchain):
  File "C:\gnr\edk2\BaseTools\Source\Python\Workspace\WorkspaceCommon.py", line 91, in GetLiabraryInstances
  return GetModuleLibInstances(Module, Platform, BuildDatabase, Arch, Target, Toolchain,Platform.MetaFile,EdkLogger)
  File "C:\gnr\edk2\BaseTools\Source\Python\Workspace\WorkspaceCommon.py", line 140, in GetModuleLibInstances
  LibraryModule = BuildDatabase[LibraryPath, Arch, Target, Toolchain]
  File "C:\gnr\edk2\BaseTools\Source\Python\Workspace\WorkspaceDatabase.py", line 104, in __getitem__
  BuildObject = self.CreateBuildObject(FilePath, Arch, Target, Toolchain)
  File "C:\gnr\edk2\BaseTools\Source\Python\Workspace\WorkspaceDatabase.py", line 108, in CreateBuildObject
  Ext = FilePath.Type
  AttributeError: 'str' object has no attribute 'Type'


Regards,
Jagadeesh..

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-04 21:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-04 21:10 PCD usage error Jagadeesh, PithaniX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox