From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 8D907740038 for ; Mon, 27 Nov 2023 22:49:13 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=kQ9S3PqvtUpqc2TFIgLwcP2+4z5engz5JzGzRdmLBCo=; c=relaxed/simple; d=groups.io; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References:Feedback-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding; s=20140610; t=1701125352; v=1; b=rKcqsrxvK9OhXwQ8T5VgZ9kunOkN5whrXnXSzE73h179sj+R2/3sJAqy+lHunkZzEm3poi3U WoUegSherbEXXoEQTylX/VI8J1FmG8JhTgkONc0IyProO+mog4PwbjATXXbIcMYuyClNXa+8UiV UD605QGso8HPC/cogOeeS7Bw= X-Received: by 127.0.0.2 with SMTP id IY2mYY7687511xP4ZdHSrwZE; Mon, 27 Nov 2023 14:49:12 -0800 X-Received: from mail-4325.protonmail.ch (mail-4325.protonmail.ch [185.70.43.25]) by mx.groups.io with SMTP id smtpd.web11.114557.1701125350758084309 for ; Mon, 27 Nov 2023 14:49:11 -0800 Date: Mon, 27 Nov 2023 22:48:49 +0000 To: devel@edk2.groups.io From: "ryderkeys via groups.io" Cc: "lersek@redhat.com" , Sean Brogan Subject: Re: [edk2-devel] BaseTools KeyError When Building EmulatorPkg Message-ID: In-Reply-To: References: <4b054861-5558-c9c8-0850-281abb9ac6e5@redhat.com> <179B8D98556E51B3.32091@groups.io> Feedback-ID: 87951057:user:proton MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ryderkeys@proton.me List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: p43MXr15igKXYGmLjyABUrXXx7686176AA= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=rKcqsrxv; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On Monday, November 27th, 2023 at 2:43 PM, Sean via groups.io wrote: > In the meantime there are two easy workarounds (pick one).=C2=A0 >=20 > 1. Create your venv named something like "venv" instead of ".venv".=C2=A0= It just must come later in the default directory sort than "Basetools". >=20 > or >=20 > 2. Create your venv outside the edk2 source code tree.=C2=A0 Generally th= is is what I do as I don't like my virtual environment mixed with my source= code.=C2=A0 >=20 > As mentioned before don't forget to build the basetools.=C2=A0 From there= , my experience is everything works.=C2=A0 Thanks for reporting your issue. Hi Sean, Thanks for the reply and the swift resolution. Regarding your suggestions: 0. I can confirm that after uninstalling the pip basetools, the error disap= pears and the build works. 1. It also works if I rename ".venv" to something that starts after B (such= as venv) 2. It also works if I place the venv outside the source tree. Thanks once again for the help, Ryder -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#111762): https://edk2.groups.io/g/devel/message/111762 Mute This Topic: https://groups.io/mt/102698986/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-