-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run install.ps1: Invalid argument (IDFGH-12090) #13148
Comments
Note that it works if I checkout |
Hi @xobs, I can see that you are using Python downloaded from the Microsoft store, which sometimes does not work properly. |
The ESP-IDF Windows Installer did not succeed in installing. I bisected it down to c2d6a9e. The problem comes from the fact that
After One interesting bit is that A workaround that lets me continue is to apply this patch: diff --git a/tools/idf_tools.py b/tools/idf_tools.py
index c08e5f3d13..79ddd13408 100755
--- a/tools/idf_tools.py
+++ b/tools/idf_tools.py
@@ -179,6 +179,9 @@ class Platforms:
ARM platform may run on aarch64 hardware but having armhf installed packages
(it happens if a docker container is running on arm64 hardware, but using an armhf image).
"""
+ if os.name == 'nt':
+ return supposed_platform
+
if supposed_platform not in (PLATFORM_LINUX_ARM32, PLATFORM_LINUX_ARMHF, PLATFORM_LINUX_ARM64):
return supposed_platform |
Thanks for the fix! |
Answers checklist.
IDF version.
v5.3-dev-1978-g4fb231088d
Operating System used.
Windows
How did you build your project?
Command line with Make
If you are using Windows, please specify command line type.
None
What is the expected behavior?
Before, when I wanted to update
esp-idf
, I would dogit pull
. If it required a new toolchain, I would runinstall.ps1
. I expected this to continue to work.What is the actual behavior?
An error is thrown in
idf_tools.py
line 3157:Steps to reproduce.
esp-idf
install.ps1
Build or installation Logs.
No response
More Information.
No response
The text was updated successfully, but these errors were encountered: