From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lucky1.263xmail.com (lucky1.263xmail.com [211.157.147.133]) by mx.groups.io with SMTP id smtpd.web09.22333.1643246334711888354 for ; Wed, 26 Jan 2022 17:18:55 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: byosoft.net, ip: 211.157.147.133, mailfrom: byomail@byosoft.net) Received: from localhost (unknown [192.168.167.16]) by lucky1.263xmail.com (Postfix) with ESMTP id A443DD8614 for ; Thu, 27 Jan 2022 09:18:51 +0800 (CST) X-MAIL-GRAY: 1 X-MAIL-DELIVERY: 0 X-ADDR-CHECKED4: 1 X-SKE-CHECKED: 1 X-ABS-CHECKED: 1 X-ANTISPAM-LEVEL: 2 Received: from mail.byosoft.com.cn (unknown [58.240.74.242]) by smtp.263.net (postfix) whith ESMTP id P19297T139731650209536S1643246331110486_; Thu, 27 Jan 2022 09:18:51 +0800 (CST) X-IP-DOMAINF: 1 X-RL-SENDER: byomail@byosoft.net X-SENDER: byomail@byosoft.net X-LOGIN-NAME: byomail@byosoft.net X-FST-TO: devel@edk2.groups.io X-RCPT-COUNT: 1 X-LOCAL-RCPT-COUNT: 0 X-MUTI-DOMAIN-COUNT: 0 X-SENDER-IP: 58.240.74.242 X-ATTACHMENT-NUM: 0 X-UNIQUE-TAG: <864c5256c6493e34f7194e753fbeb8cf> X-System-Flag: 0 Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Thu, 27 Jan 2022 09:17:56 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , , , References: In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIXSBCYXNlVG9vbHM6IEZpeCBlcnJvciBsZWcgaW4gRHNjQnVpbGREYXRhLnB5?= Date: Thu, 27 Jan 2022 09:18:00 +0800 Message-ID: <000e01d8131b$b97d9710$2c78c530$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQGHIWAQUcYftZvNK5JXcLJUNzQWta0X9KwQ Sender: "gaoliming" Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Reviewed-by: Liming Gao > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA=B1= =ED Jake Garver > via groups.io > =B7=A2=CB=CD=CA=B1=BC=E4: 2022=C4=EA1=D4=C221=C8=D5 7:58 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io; jbrasen@nvidia.com; > ashishsingha@nvidia.com > =B3=AD=CB=CD: Jake Garver > =D6=F7=CC=E2: [edk2-devel] [PATCH] BaseTools: Fix error leg in DscBuildDa= ta.py >=20 > Fix a Edk2Logger.warn() message format to match the arguments. >=20 > We ran into this after a failure in PcdValueInit. The failure was > masked by a new exception, "TypeError: not all arguments converted > during string formatting". >=20 > Signed-off-by: Jake Garver > --- > BaseTools/Source/Python/Workspace/DscBuildData.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py > b/BaseTools/Source/Python/Workspace/DscBuildData.py > index 35ec5b37ff..d29b9bf13d 100644 > --- a/BaseTools/Source/Python/Workspace/DscBuildData.py > +++ b/BaseTools/Source/Python/Workspace/DscBuildData.py > @@ -3033,7 +3033,7 @@ class DscBuildData(PlatformBuildClassObject): > returncode, StdOut, StdErr =3D DscBuildData.ExecuteCommand > (Command) > EdkLogger.verbose ('%s\n%s\n%s' % (Command, StdOut, > StdErr)) > if returncode !=3D 0: > - EdkLogger.warn('Build', COMMAND_FAILURE, 'Can not > collect output from command: %s\n%s\n' % (Command, StdOut, StdErr)) > + EdkLogger.warn('Build', COMMAND_FAILURE, 'Can not > collect output from command: %s\n%s\n%s\n' % (Command, StdOut, StdErr)) >=20 > #start update structure pcd final value > File =3D open (OutputValueFile, 'r') > -- > 2.17.1 >=20 >=20 >=20 >=20 >=20