From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web09.4728.1666083886725414740 for ; Tue, 18 Oct 2022 02:04:47 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=cey1CvRD; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: n.jayaprakash@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666083886; x=1697619886; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=YcI2hbKtzXAiDuireyoFy85iDPeUUTay30alAncMd/g=; b=cey1CvRD+lIiO3Suhw7oYQIPkQwHU+Egm2W0qfrKp4hiYodIYVY5GNFo zm0omPVDnlZi64ZwMV7wrQfc8L6aUpBjxCGD418jF3PQ9MUfV7VOhKY7L 8CO1P8E4Q+UlepXUo+Uk093ZmeCM/bJkxVCxJCCuBw4hdjmpZ7BIcyz62 DZi3cpDwFKR/JpkYnQe9FDzt8xpliOJYhpbYmSM7kCNg1ysdg3Maq2jHJ cz6NIRZnXWVFjU4fSXj3nK9jGaQ0R7tQ6tpvty/GbO+mZHbMIrgwuagMK cA+VNPJ4CUjl+Q/1MGzIj2Qw4WyH1x/Jubc2j8LR8J6AqD2dI+RcoZTmI A==; X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="293414868" X-IronPort-AV: E=Sophos;i="5.95,193,1661842800"; d="scan'208,217";a="293414868" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2022 02:04:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="579699347" X-IronPort-AV: E=Sophos;i="5.95,193,1661842800"; d="scan'208,217";a="579699347" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga003.jf.intel.com with ESMTP; 18 Oct 2022 02:04:45 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 18 Oct 2022 02:04:45 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 18 Oct 2022 02:04:44 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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.2375.31 via Frontend Transport; Tue, 18 Oct 2022 02:04:44 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.173) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Tue, 18 Oct 2022 02:04:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VJ5vojtY0k5QMOjNukuckFQZciJboCtiKJMs4tt5mBLMGwBEBQMz6AIAysV6lQdbwzUCZ3PjW+f1LHP+h7Y9owHKehXEZJv0Q3QMehpByYKc9uAk4oHslO7U3gXDA+KadjGDoN/jEmEmD+75D+SN+3gV8Sh90WIbuaWWrJNmmx811+fgo4VhqHXucq++JxujnTrlseE/OkhuavakjQacpH0clHK5/Rxppx14DWtWZUMcuQwNnWBqSWYU9A8UBBBcC4i94o3dTESJyig3e5YIRYCTRMqATfJAYpKrNXXkTlo3yZrfRNNjAkS+JrcgiNeDETzZEZLAqUQtBxRsXN4P4w== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=f90rJeDHes4+e82A5O4KOqVOTznxt9K39LRxk+MHGfs=; b=f5yq0kxu4sP7MPIlsOeOGfQuDto/41j2Szc0ZC+mAVojDPnPN+jzVpZjBxvlWolhyvcftq5labkA7T2gPJOsFhuVjSiB9Aa69HW//fAtd3Uemb2DDQyNGo7x7d2oHkF3kPn3qGrZ1C1cUq/X3yM+5fCqiRvDL1q7zcmlVvWa0KmqCUceXg9q5+N0e+yUoIWg1IkXRVP+RJcCr2Wfm87VFN3SRO2vov7R1AkpOKkt3+bQsVW+lOgx53P8qMwbThS5ha4bf7EGozQRWKzPTVCaoutkjjP83acFNNkUrHx18mwSNE/SWz8VNbWQNWzXKCWadS0+HdKtvBBol+VGR3nHuA== 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 Received: from PH7PR11MB5943.namprd11.prod.outlook.com (2603:10b6:510:13f::19) by BN9PR11MB5499.namprd11.prod.outlook.com (2603:10b6:408:104::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.33; Tue, 18 Oct 2022 09:04:42 +0000 Received: from PH7PR11MB5943.namprd11.prod.outlook.com ([fe80::e969:3f4a:5b3c:ca9d]) by PH7PR11MB5943.namprd11.prod.outlook.com ([fe80::e969:3f4a:5b3c:ca9d%2]) with mapi id 15.20.5723.032; Tue, 18 Oct 2022 09:04:42 +0000 From: "Jayaprakash, N" To: Yoshinoya , "Kinney, Michael D" CC: "devel@edk2.groups.io" Subject: Re: [edk2-devel] Python368.efi failed to run in shell environment Thread-Topic: Re:RE: [edk2-devel] Python368.efi failed to run in shell environment Thread-Index: AQHY2Mf3G3sT9hdFNkayQEFVJRnO763//YQAgAkHKICACupJYA== Date: Tue, 18 Oct 2022 09:04:42 +0000 Message-ID: References: <153cddfb.10e9.183a7eb0792.Coremail.yoshinoyatoko@163.com> <791474c2.3a49.183c68f991b.Coremail.yoshinoyatoko@163.com> In-Reply-To: <791474c2.3a49.183c68f991b.Coremail.yoshinoyatoko@163.com> Accept-Language: en-IN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.500.17 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR11MB5943:EE_|BN9PR11MB5499:EE_ x-ms-office365-filtering-correlation-id: 2c265c53-160d-49b7-f3a8-08dab0e7cb5c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5F+74c9PJqEJOlyL4MvLY0ja5GbZjS40wQ3R/JLHDUcLw4pIq93fS7F7YRAxh1sFWm0kkfqpnpYKQzexSsvglWqPfogzFaNwx1CegG1kHTm1PxrCIu0K0HHu544qxLXartxPpmXGv0qEr8SisRbLZ2dUp7evAy3+8ganT9dhK88Qa4cdrgNclNXwTN/qgIa5Hocf24HBjo2pHtAMDsChacuW/wKT+x7Jf+VgVwHAbL87UpWc3G0zdO+xOj7YRyfbQmyA0QHV4rCRI7z5xs9hNQIskphesZvuzg71gKySGifcE2Y+wMBDJTircBx5mzl7i5DZxvT2qt7pkgumPn5CzEjwWYFpU5PcRojIv4/0JUGRaPDD9nKD+4KWpybd6+srqUczSjaZ5wb4UAwxdvM7Xcij+OybDZURlp3krFjXLK0lPP9kTfN0JM+vDlv4LRwlooC1ivODw7GowLoozsB6x3tUg09xg/xFmDJWl4OS+TM+WpDnks/5poKIeySiV3pxBXHcSmq2Uc6oidr2652tE7NvVT9zQNTwEM9SfOYiQWYNtsC+7bzTcck0O++L7WyOTgTZjqDboDLNfKjwBCl2UQsN30XwJd1SOTBTxSU7pKx4KzOtnkU/IWggOkBaDo9N/W4+MzUjD/X45xd6ETm2ptxPPR5sMRTIkcHrX8K6eAhjvHU+LyFhXintX+Aa38684lFf2VfHbtg3CFqc+8L01aeoKtSTMToDTRDF1znGUDqtGCbZvVPVCLfcsiivSJOYVVfT5hvVMiFNGR25/oj4wSf/TGD6p3q/VUYt5o9gq/3pvz2CqShBFe4QLYkVkKpZZAHXQsaL6OledsKopbZkkg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR11MB5943.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(366004)(396003)(346002)(136003)(376002)(39860400002)(451199015)(83380400001)(76236004)(38070700005)(33656002)(122000001)(86362001)(38100700002)(166002)(82960400001)(41300700001)(52536014)(186003)(66446008)(8676002)(4326008)(9326002)(8936002)(5660300002)(316002)(66946007)(6636002)(110136005)(71200400001)(55016003)(64756008)(76116006)(26005)(9686003)(53546011)(6506007)(7696005)(2906002)(66476007)(478600001)(66556008)(66899015);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?pRMNK8q+5Krt4HJV8Rg0qryX4V6xYQAiBxijcKh8IAwv1ffKHxNBauqthOBm?= =?us-ascii?Q?6IPB39PTH1MY/4idymI9hKYYxmxEHjxdK95XRQrDsc1358ZBjt827INFITzx?= =?us-ascii?Q?567kBb9sqdZPOvpz/B3y3L5n3KUg48eRNtXmfhWU2TCYHzzbKdUPsWMEUFhC?= =?us-ascii?Q?64Z/O6gVddcOacEYYWQ65qvpmlk7aCak36CiULZFn6fXknnFMDcEPB/ubNaf?= =?us-ascii?Q?nWWvQC9QT15JmJ0PXby7xSkLnm6yWNiV5gmhDja7i55LJfU87fBF9ba1xSox?= =?us-ascii?Q?e2NhCCEok4kYdSC55ajHrWiTUThPED5ZybdAf4nLRFr98ffNLTWRkiEaQsUu?= =?us-ascii?Q?/2focNIlmF54Dq5c2DaoaARnFMYnD9GA+GM5gaBK1Ug7s4FNQ0gWrTWobWK6?= =?us-ascii?Q?ah2HGdxfGufMy8oTgkrwrB/n5qs+xJn548DQfNOH881vmTyRQ3Y06D9Esv7h?= =?us-ascii?Q?b8upsk4kKrnlji9vgkeKwlfpV0vsJOuXaHZjin2AhkON5+LA8CNg++URe/km?= =?us-ascii?Q?5KF21kdanU5kAKCv6PP4ND7sGgaiV2oLXMFSq2aMS9oCvwgvTv0+zJVUZ8LC?= =?us-ascii?Q?HF0cQpPKJql79yel7Hm/LMO+vT2NIN6eNpKp+YgtXlzv2bLw8xUD94jLCeU7?= =?us-ascii?Q?lj7MDqPWgzbgpu2LTKY0HsPn8EtYhjXY3jSN352JhUsw9RubFqCRuMuTKRf6?= =?us-ascii?Q?QpFgT0eJT9HkieZOL47BxgSnCH4dTA/XP+1JzqF6gENm/Pcu2P2fr3J3xwev?= =?us-ascii?Q?qPUOyeGdWS33FHJD/PMUrB6CDFlZlZ885jlTU4rspzHrjkPBBWZKpczDe2we?= =?us-ascii?Q?XhLYAXoAJwFQncfhJTo3WhA9j4vAzsShJxgUGHRclNu/7zAy3b3wIcopxpNt?= =?us-ascii?Q?fFFzly1oJ+PlgeNO/GeYMnWqHXW8cy44b4J6+UJeQF2tVcwmmnSz5urGjNzn?= =?us-ascii?Q?u+EwMXKwitpp1cUX585YVrgPY9jjGEZPbBm4E0zAhuetQAitSpyTK2clRlah?= =?us-ascii?Q?Rn4IZkwEnXEGOWLa5FOTw1sa0w6d9t4s2klqBm8d0h/qh9XhKtMyVTMLm+zH?= =?us-ascii?Q?VKrwP10Z2UF14LOfG6LqABCTIyacg43bDew41SoMeJaMAqfFGGFNQK4QT6b9?= =?us-ascii?Q?bECZO5fvev4llXfagpN7JB6eToA84za2G4TmSEbheNpo797of7F6uYWip8fD?= =?us-ascii?Q?ON0JkOY9AolJ2GJoxNuk5zLhBPg205YJSfeyZ/xOaOxtaL+6mbc68SfC609H?= =?us-ascii?Q?id0bpev2465Ung7N97VAMABDTYKQvF7DfDZal2ckefMISS8bcKLdRMHL+Rvy?= =?us-ascii?Q?xjyOihoDWTlSfV4TlJzj6NMf5oiIC0G6EWP+jIumN87+BF7Zzmc9Vg1AmVSe?= =?us-ascii?Q?BWvPoyv2XV14Gi/bRnGeVhCqZDcsdgqhf027MgZ9otwRRzP8N4ChrQV2dk43?= =?us-ascii?Q?FL9Ob9s4x0z0vumw+FFWLova36iDoO5Eg2Ilhbttp9aU3HDhCekMj+BNvawb?= =?us-ascii?Q?IoEd97FCn4bZ1IR2gnqu0gPX3Hg+mVrWG2cRXdvYfK/t3i/rYErKTI9lL3aX?= =?us-ascii?Q?jJBXO9DyO9H/bDWpvL71hdiGhMpMw64DrLMTeTnd?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB5943.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2c265c53-160d-49b7-f3a8-08dab0e7cb5c X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2022 09:04:42.1522 (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: FqAE3QDFlBg3q0eRVabLB+R4Be/ofGPFwYLwvj4upeERk9U96PqekH7T3RqomoJblBU1iMya822ufnrl76HxXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR11MB5499 Return-Path: n.jayaprakash@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_PH7PR11MB5943E4B74CF62381F5FF4721EE289PH7PR11MB5943namp_" --_000_PH7PR11MB5943E4B74CF62381F5FF4721EE289PH7PR11MB5943namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Yoshinoya, Could you provide some details about the platform on which you are trying t= o run? What tools you used for building the Python interpreter? If you could raise a bug with relevant details, we can take a look at this = issue. Regards, JP From: Yoshinoya Sent: 11 October 2022 15:51 To: Kinney, Michael D Cc: devel@edk2.groups.io; Jayaprakash, N Subject: Re:RE: [edk2-devel] Python368.efi failed to run in shell environme= nt Hi, JP: It seems PyImport_ImportModule("encoding.utf_8") failed. Do you have any suggestions? THank you very much! best wishes, At 2022-10-06 00:28:46, "Kinney, Michael D" > wrote: +JP Mike From: devel@edk2.groups.io > On Behalf Of Yoshinoya Sent: Wednesday, October 5, 2022 4:32 AM To: devel@edk2.groups.io Subject: [edk2-devel] Python368.efi failed to run in shell environment Hi I tried to run Python368.efi in shell environment. but failed, the tips was; Fatal Python error: Py_Initialize: can't initialize sys standard streams Does anybody have ever met this error? Python368.efi is a sample python app in AppPkg\Applications\Python\Python-3= .6.8 Thanks --_000_PH7PR11MB5943E4B74CF62381F5FF4721EE289PH7PR11MB5943namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Yoshinoya,=

 =

Could you provide some d= etails about the platform on which you are trying to run?=

What tools you used for = building the Python interpreter?

 =

If you could raise a bug= with relevant details, we can take a look at this issue.=

 =

Regards,

JP

 =

From: = Yoshinoya <yoshinoyatoko@163.com>
Sent: 11 October 2022 15:51
To: Kinney, Michael D <michael.d.kinney@intel.com>
Cc: devel@edk2.groups.io; Jayaprakash, N <n.jayaprakash@intel.com= >
Subject: Re:RE: [edk2-devel] Python368.efi failed to run in shell en= vironment

 

Hi, JP:

It seems PyImport_ImportModule("enco= ding.utf_8") failed.

Do you have any suggestions?

 

THank you very much!

 

best wishes,

 

 

 

At 2022-10-06 00:28:46, "Kinney, Michael D" <michael.d.kinney@intel.com&g= t; wrote:

+JP=

 =

Mike

 =

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Yoshinoya
Sent: Wednesday, October 5, 2022 4:32 AM
To: devel@edk2.groups.io=
Subject: [edk2-devel] Python368.efi failed to run in shell environme= nt

 

Hi

I tried to run Python368.efi in shell environment.=

but failed, the tips was;

Fatal Python error: Py_Initialize: can't initialize sys= standard streams

 

Does anybody have ever met this error?

 

Python368.efi is a sample python app in AppPkg\Applicat= ions\Python\Python-3.6.8

 

Thanks

--_000_PH7PR11MB5943E4B74CF62381F5FF4721EE289PH7PR11MB5943namp_--