From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web10.553.1612399191554230003 for ; Wed, 03 Feb 2021 16:39:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=eHp1WEHv; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: guomin.jiang@intel.com) IronPort-SDR: 7gwsWqaqe96SgElgE6Ptgkh7RjtOzW+vCPJYc6prVTrBKGQRJY6zT6qYUnj7HJyQg2tohhnJYv dfoK2Kl5X30Q== X-IronPort-AV: E=McAfee;i="6000,8403,9884"; a="242653835" X-IronPort-AV: E=Sophos;i="5.79,399,1602572400"; d="scan'208,217";a="242653835" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2021 16:39:46 -0800 IronPort-SDR: XMCL0WwJP+Ry0Jx2lATwtp33V1ASYusBxz5qZIUv2BoJPAEsQfQfXeJXomuZuK4mA+17NNXpgQ Q5G9fFGBo1sQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,399,1602572400"; d="scan'208,217";a="433684287" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga001.jf.intel.com with ESMTP; 03 Feb 2021 16:39:46 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 3 Feb 2021 16:39:45 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Wed, 3 Feb 2021 16:39:45 -0800 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.52) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 3 Feb 2021 16:39:45 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FLfQkeKCOAFKlcAYKxP3QRGRmra7hAIBdwCrEVeVOWRglo1o7He5or9aZkh4iwHIvEBSdu0qcOOVwRfmaZxoTpqv8usAdtq7UYsft7KRC1v+EMI5xCO+zqdIf0++rp31eVENIkHpOsCia3+H2YfgkdEdnvb0yrcgJBuDFTRJGwMMTaFCj32msvXxy/nq0PNXlwgy5IyX4wRsCzNOcjfQXqb/zwRO+wdGDvMqIJz1yVxrE3PWiqHRCwuPmbWvwvZ6byAMTzbnfUWPIHPTrQbdzKMl5ow2YekPneAsj5PVmzTS459IZFJ/91tX+PUpcd2yG2Gj4WRbFCezPaCFmly7Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uPeonbVQcNVGtnVik4Ck2Pu7K6bH7v6ZTv0l/28cAic=; b=Ds/9agPSgTptbx16L6GDLRMzppEqqugwxBcI2Yk/K/LpAnoP46OxVAaLAEsUzTlWlkxg9v/LwVYkHhNAAcE6qIvOdow7I5FSaeroOcsk5pme8gLHeipapGseKv6JJsauVkwGVzpgsTQV9DYsjwyvztVali1RmufDZdZGi8yJdwQwjaQJcYpHe+H6CshUPWtRBB2ifijehSarkkvYLjPzvOtckZMzjPasUaWxbLcXfN1HJfikHhIR/kwtwX/SFHSUNwSHpi8q4mEPROFUfETKag/1pNRLY3kDRoAL1Zhf06TiegOKjdfNTtfBUNVZmQTXkBlD3AeNj8aHaLW5V2jUHA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uPeonbVQcNVGtnVik4Ck2Pu7K6bH7v6ZTv0l/28cAic=; b=eHp1WEHvGQsU/l2B8DZrud/GaSY3iLy78Wm9INgk1NAw2za+oCfj4x32xWKF1c2kz1ci/qfKq333g1h+V55xTnQVd88cXz96Vv3UZKgqm138PUCdaiHjYGnLHaZtH/xL31oi1OnVtyqQ28vc7f8rhG1DB+t4FU+LEF16mwhdRDU= Received: from DM5PR1101MB2122.namprd11.prod.outlook.com (2603:10b6:4:54::19) by DM6PR11MB3050.namprd11.prod.outlook.com (2603:10b6:5:71::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.24; Thu, 4 Feb 2021 00:39:44 +0000 Received: from DM5PR1101MB2122.namprd11.prod.outlook.com ([fe80::c8be:2acf:b612:19e2]) by DM5PR1101MB2122.namprd11.prod.outlook.com ([fe80::c8be:2acf:b612:19e2%3]) with mapi id 15.20.3805.024; Thu, 4 Feb 2021 00:39:44 +0000 From: "Guomin Jiang" To: "devel@edk2.groups.io" , "suchenyu@zoyatek.com.cn" Subject: Re: [edk2-devel] UEFI compile error Thread-Topic: [edk2-devel] UEFI compile error Thread-Index: AQHW+nV5B8VUi6ITPU+JCZElOP36cqpHJxdw Date: Thu, 4 Feb 2021 00:39:43 +0000 Message-ID: References: <202102031410537949606@zoyatek.com.cn> In-Reply-To: <202102031410537949606@zoyatek.com.cn> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.203] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b9e623b8-171e-457b-2875-08d8c8a55dc4 x-ms-traffictypediagnostic: DM6PR11MB3050: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2201; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: owHMAiaPOmjxPbwvh940r1AObptfKG9RmFNZtyj4bZbB9pbA7eH7+4BFHg10xSLN/7rL7iru0pr7eq+npvI6gkTPe+NWJ0heL9cYX5W5dZ0/XcaWg8fE1Akug6nOHOyZkqDPawUvzw4GK3SYZTDA42DFiWPDjfI9jH1YQu/6K7M7eBnTjwU2uuJieBLEsLaDemiKuG7zHjBDKcYKxs5quH8yG+IPcOYV0t0LCcDj3LVxE9ndAwXeW0NkWhjCqYtZlPuURufXfB35BjLnEQJev02d2+S6YgaxKofvUu1ABDzJR3arB7iL7kFz3y+DtgIXimjt50H4NDCscBwbase8EnPFiob9hpTrBZG6mA3WjqgGER2m4jJfk1mdNGfDN/iQPie6cdNMWZ1CsAUO0Ct+CTlePoMTCjxyU43Y6VSrjunp2ht2KYJHoJfUpJpbdSSrumfMLgEj9rBXymB0cOIvGywUnd2SKqqsSWoGQmf/hLUoL9abW7fu3UzaUJc6bdj+3PyBMYaLvf01O03xVIZxciTd2QwI++n2NLz9OBbhRobk79BEBuLJSCjKR0ba6XNfWp6awCVrEBgn3x1fLybFe2kuDHWzfSWZVRGVFQR6qMw= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR1101MB2122.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(136003)(376002)(366004)(396003)(39860400002)(346002)(9686003)(7696005)(5660300002)(52536014)(186003)(83380400001)(110136005)(166002)(66556008)(66446008)(64756008)(26005)(33656002)(86362001)(66476007)(478600001)(8676002)(71200400001)(316002)(76236003)(76116006)(2906002)(53546011)(6506007)(55016002)(8936002)(66946007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?dXuUWAwXPr+PthpffoqgNgUQa8ppx+JRiUzW5bKuyfHLkVR7BFs9dxPg8YIu?= =?us-ascii?Q?sh7A82k5KaquIVkgtAiqVtWWhnKtsJZ7zvfzOxm7kdur2d3m7idTvuHOXYQ0?= =?us-ascii?Q?XRiTX3jzPoqc6CQP7Mebkjxldb06TKbk/qMiZGka1wyu049rM8KIYLQfEcV3?= =?us-ascii?Q?gGGD0Zbzb4rb14MJQf8gzyU7YZ2vAm1LbGreFyjLVe8TL1AONlWgrTsRV06r?= =?us-ascii?Q?yMV8T1JamRmNiBwWKc3qaQh8dW1GlIh5pdGF5iqNcuXUDo1tUgXkDfix4huI?= =?us-ascii?Q?RIPJzUMqDScFYCcm9LVkKeq9BTI/WUJQl4l1Ax1OAprA7I5m5Bh6KO8AoEaP?= =?us-ascii?Q?Jne9tNKy8696wi0VO/hRXMGSxiY5eEOSuP1yBD4CUtQJWSfIIC4yLB1ij8Fv?= =?us-ascii?Q?D2QO/eyAWVxaz5rXKgc0lAopnJO3aTTi/Z+0hMIeCVQs/SrjL5oQN3Y2X5AH?= =?us-ascii?Q?1vTjxhHWNkZWKy2nnmSKHYtSrgwP7VkhSKfQYtYeSLmUhHYJexEHD5mAp7w5?= =?us-ascii?Q?ElKC0cWhlNORwNfy6kVqyVNWj/ylMct6WQyuDwtAkMAOQ1D5jtjyJskAw+nB?= =?us-ascii?Q?ISZLiwDFfW95iIq8Ne9sSwDhlgOSzcRZk0NgA/UuIp0AJb0WkzryYXk1Ksyu?= =?us-ascii?Q?xiC4yVJHb6b+3dRyj/is0kRxfXoA4QuP6LtyLz4egXTQZalzzByvnDDqv7h5?= =?us-ascii?Q?EVSWHBxZXd6DULpLeLWLdxwGhm39GM90eFRTlV0nDnn1OW/JWRou5f4xOdkG?= =?us-ascii?Q?j1jQIuuh8lPV6NJLE1y+35nggkqUJGJUKH1Dp/UTDmFxelsE6IHcPYsMLEqU?= =?us-ascii?Q?9uj+9E6Vm0xUnnZzatFVh1rCqfhPH5aNGPSPsMCfklwK2U10Bs8rQ/nG0t07?= =?us-ascii?Q?e/bmr3ewjpdoBbzvYuxF+g3lmxGsQsU01k9AX5Qbpp8lnvFy1SG/5vRN6BTv?= =?us-ascii?Q?2Iw91dzcyLz5xoHFawgDkU6QbsEupoM/CmKJjrZGYRr8TrrQFEWiA56zOfsm?= =?us-ascii?Q?hmeUYu1wfuXdiJ3yKhFZPkr87HMXonTBvQBm+x//HkRN/r1WAn0SRVbQ87YY?= =?us-ascii?Q?MDBBBKkGJUYD7S4kBePacwIkQUvBFMhYTgHArodLfk9tFLoR9nRSzpTEaUpv?= =?us-ascii?Q?Vrr+EKQN104XhBw+Q9S/QIuffVjIfmcv2FLp93c87TbupEc8XIAJrCXt6wES?= =?us-ascii?Q?K4zLsoynnRTB/Q0gossB6ooD8T59vHVm3ImrdVKNevxhOHDcH+nn0a0zSzRA?= =?us-ascii?Q?icMvABePpjsXWiHv04leYg2h52TdYGiaqY+unFM/k9fhGaqgrMRmMAh4rqgO?= =?us-ascii?Q?lSu3knGvwoVHQbC+CwTa3jF+?= x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR1101MB2122.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b9e623b8-171e-457b-2875-08d8c8a55dc4 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Feb 2021 00:39:43.9651 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nvcWULZu96xTq1HPuKTGgeh0sah4S79HjIe7QMIShQUB2ZGiP5j5bQNm560N8L1gefokYJxTDZpkT6ZkwOTJXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3050 Return-Path: guomin.jiang@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_DM5PR1101MB2122E746D369667918F2147D9DB39DM5PR1101MB2122_" --_000_DM5PR1101MB2122E746D369667918F2147D9DB39DM5PR1101MB2122_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable It seem that you use some PCD directly but haven't declare it in DEC file a= s below error. File "/home/git/sw-edkII/edkII/BaseTools/Source/Python/Workspace/DecBuildD= ata.py", line 468, in _GetPcd EdkLogger.error("build", PCD_STRUCTURE_PCD_ERROR, "The structure Pcd %= s.%s header file is not found in %s line %s \n" % (pcd.TokenSpaceGuidCName,= pcd.TokenCName, pcd.DefinitionPosition[0], pcd.DefinitionPosition[1] )) AttributeError: 'StructurePcd' object has no attribute 'DefinitionPosition= ' Please double confirm it. Thanks. From: devel@edk2.groups.io On Behalf Of suchenyu@zo= yatek.com.cn Sent: Wednesday, February 3, 2021 2:11 PM To: devel Subject: [edk2-devel] UEFI compile error Hi, The error information occur when I compile a new platform UEFI source= , so I need some help to correct this error, please. This is the error information under: build.py... : error C0DE: Unknown fatal error when processing [/home/git/sw-edkII/edk= II/SenweiPkg/SenweiPkg.dec] (Please send email to devel@edk2.groups.io fo= r help, attaching following call stack trace!) (Python 2.7.12 on linux2) Traceback (most recent call last): File "/home/git/sw-edkII/edkII/BaseTools//BinWrappers/PosixLike/../../So= urce/Python/build/build.py", line 2637, in Main MyBuild.Launch() File "/home/git/sw-edkII/edkII/BaseTools//BinWrappers/PosixLike/../../So= urce/Python/build/build.py", line 2432, in Launch self._MultiThreadBuildPlatform() File "/home/git/sw-edkII/edkII/BaseTools//BinWrappers/PosixLike/../../So= urce/Python/build/build.py", line 2239, in _MultiThreadBuildPlatform Wa, self.BuildModules =3D self.PerformAutoGen(BuildTarget,ToolChain) File "/home/git/sw-edkII/edkII/BaseTools//BinWrappers/PosixLike/../../So= urce/Python/build/build.py", line 2103, in PerformAutoGen self.Progress File "/home/git/sw-edkII/edkII/BaseTools/Source/Python/AutoGen/Workspace= AutoGen.py", line 43, in __init__ self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args, = **kwargs) File "/home/git/sw-edkII/edkII/BaseTools/Source/Python/AutoGen/Workspace= AutoGen.py", line 117, in _InitWorker self.ProcessPcdType() File "/home/git/sw-edkII/edkII/BaseTools/Source/Python/AutoGen/Workspace= AutoGen.py", line 264, in ProcessPcdType Platform.Pcds File "/home/git/sw-edkII/edkII/BaseTools/Source/Python/Workspace/DscBuil= dData.py", line 1198, in Pcds self._Pcds.update(self._GetPcd(MODEL_PCD_FIXED_AT_BUILD)) File "/home/git/sw-edkII/edkII/BaseTools/Source/Python/Workspace/DscBuil= dData.py", line 1691, in _GetPcd PcdValue, DatumType, MaxDatumSize =3D self._ValidatePcd(PcdCName, Toke= nSpaceGuid, Setting, Type, Dummy4) File "/home/git/sw-edkII/edkII/BaseTools/Source/Python/Workspace/DscBuil= dData.py", line 917, in _ValidatePcd self._DecPcds, self._GuidDict =3D GetDeclaredPcd(self, self._Bdb, self= ._Arch, self._Target, self._Toolchain, PkgSet) File "/home/git/sw-edkII/edkII/BaseTools/Source/Python/Workspace/Workspa= ceCommon.py", line 68, in GetDeclaredPcd for Pcd in Pkg.Pcds: File "/home/git/sw-edkII/edkII/BaseTools/Source/Python/Workspace/DecBuil= dData.py", line 355, in Pcds self._Pcds.update(self._GetPcd(MODEL_PCD_DYNAMIC)) File "/home/git/sw-edkII/edkII/BaseTools/Source/Python/Workspace/DecBuil= dData.py", line 468, in _GetPcd EdkLogger.error("build", PCD_STRUCTURE_PCD_ERROR, "The structure Pcd %= s.%s header file is not found in %s line %s \n" % (pcd.TokenSpaceGuidCName,= pcd.TokenCName, pcd.DefinitionPosition[0], pcd.DefinitionPosition[1] )) AttributeError: 'StructurePcd' object has no attribute 'DefinitionPosition= ' ________________________________ suchenyu@zoyatek.com.cn --_000_DM5PR1101MB2122E746D369667918F2147D9DB39DM5PR1101MB2122_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

It seem that you use some PCD directly but hav= en’t declare it in DEC file as below error.

 

File "/home/git/sw-edkII/edkII/BaseTools/= Source/Python/Workspace/DecBuildData.py", line 468, in _GetPcd

    EdkLogger.error("build"= ;, PCD_STRUCTURE_PCD_ERROR, "The structure Pcd %s.%s header file is no= t found in %s line %s \n" % (pcd.TokenSpaceGuidCName, pcd.TokenCName, = pcd.DefinitionPosition[0], pcd.DefinitionPosition[1] ))

AttributeError: 'StructurePcd' object has no a= ttribute 'DefinitionPosition'

 

Please double confirm it.

Thanks.

From: devel@edk2.groups.io <devel@edk2.gr= oups.io> On Behalf Of suchenyu@zoyatek.com.cn
Sent: Wednesday, February 3, 2021 2:11 PM
To: devel <devel@edk2.groups.io>
Subject: [edk2-devel] UEFI compile error

 

Hi,

     The error information= occur when I compile a new platform UEFI source, so I need some help to co= rrect this error, please.

    This is the error information un= der: 

build.py...

 : error C0DE: Unknown fatal error when p= rocessing [/home/git/sw-edkII/edkII/SenweiPkg/SenweiPkg.dec]

  &nb= sp;            

(Please send email to devel@edk2.groups.io for help,= attaching following call stack trace!)

 

(Python 2.7.12 on linux2) Traceback (most rece= nt call last):

  File "/home/git/sw-edkII/edkII/Bas= eTools//BinWrappers/PosixLike/../../Source/Python/build/build.py", lin= e 2637, in Main

    MyBuild.Launch()

  File "/home/git/sw-edkII/edkII/Bas= eTools//BinWrappers/PosixLike/../../Source/Python/build/build.py", lin= e 2432, in Launch

    self._MultiThreadBuildPlatform()=

  File "/home/git/sw-edkII/edkII/Bas= eTools//BinWrappers/PosixLike/../../Source/Python/build/build.py", lin= e 2239, in _MultiThreadBuildPlatform

    Wa, self.BuildModules =3D self.P= erformAutoGen(BuildTarget,ToolChain)

  File "/home/git/sw-edkII/edkII/Bas= eTools//BinWrappers/PosixLike/../../Source/Python/build/build.py", lin= e 2103, in PerformAutoGen

    self.Progress<= /p>

  File "/home/git/sw-edkII/edkII/Bas= eTools/Source/Python/AutoGen/WorkspaceAutoGen.py", line 43, in __init_= _

    self._InitWorker(Workspace, Meta= File, Target, Toolchain, Arch, *args, **kwargs)

  File "/home/git/sw-edkII/edkII/Bas= eTools/Source/Python/AutoGen/WorkspaceAutoGen.py", line 117, in _InitW= orker

    self.ProcessPcdType()=

  File "/home/git/sw-edkII/edkII/Bas= eTools/Source/Python/AutoGen/WorkspaceAutoGen.py", line 264, in Proces= sPcdType

    Platform.Pcds<= /p>

  File "/home/git/sw-edkII/edkII/Bas= eTools/Source/Python/Workspace/DscBuildData.py", line 1198, in Pcds

    self._Pcds.update(self._GetPcd(M= ODEL_PCD_FIXED_AT_BUILD))

  File "/home/git/sw-edkII/edkII/Bas= eTools/Source/Python/Workspace/DscBuildData.py", line 1691, in _GetPcd=

    PcdValue, DatumType, MaxDatumSiz= e =3D self._ValidatePcd(PcdCName, TokenSpaceGuid, Setting, Type, Dummy4)

  File "/home/git/sw-edkII/edkII/Bas= eTools/Source/Python/Workspace/DscBuildData.py", line 917, in _Validat= ePcd

    self._DecPcds, self._GuidDict = =3D GetDeclaredPcd(self, self._Bdb, self._Arch, self._Target, self._Toolch= ain, PkgSet)

  File "/home/git/sw-edkII/edkII/Bas= eTools/Source/Python/Workspace/WorkspaceCommon.py", line 68, in GetDec= laredPcd

    for Pcd in Pkg.Pcds:<= /span>

  File "/home/git/sw-edkII/edkII/Bas= eTools/Source/Python/Workspace/DecBuildData.py", line 355, in Pcds

    self._Pcds.update(self._GetPcd(M= ODEL_PCD_DYNAMIC))

  File "/home/git/sw-edkII/edkII/Bas= eTools/Source/Python/Workspace/DecBuildData.py", line 468, in _GetPcd<= o:p>

    EdkLogger.error("build"= ;, PCD_STRUCTURE_PCD_ERROR, "The structure Pcd %s.%s header file is no= t found in %s line %s \n" % (pcd.TokenSpaceGuidCName, pcd.TokenCName, = pcd.DefinitionPosition[0], pcd.DefinitionPosition[1] ))

AttributeError: 'StructurePcd' object has no a= ttribute 'DefinitionPosition'

 


--_000_DM5PR1101MB2122E746D369667918F2147D9DB39DM5PR1101MB2122_--