-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
menuconfig Access violation with Python 3.12 (IDFGH-12177) #13232
Comments
Related: #12519 |
Hello @Addenri, thank you for the report! |
After a bit of poking things around, I found the culprit, windows curses, used by kconfiglib/menuconfig: zephyrproject-rtos/windows-curses#48 |
original issue: espressif/esp-idf#13232 windows-curses issue: zephyrproject-rtos/windows-curses#48
Now, it should work in versions 5.2 and below, where the fix is present directly in ESP-IDF. |
It is enough to re-run the install scripts now and it will install |
Hello! There is no reliases that fix this bug ether. I tried v5.2.1 / v5.1.3 / v5.0.6 / v4.4.7. They all have the same behevior. I belive everybody hwo have old toolchain installation (prior to 3.12 python) have no problems with menuconfig. But people hwo thy to install toolchain now have. |
Hello @ARNik ! |
I cloned the repo and checked out different versions using "git worktree". Then I tryed install.bat script from different esp-idf versions deleting .espressif folder in between. |
You can see the linked fixes were published a week ago so they couldn't make into any of the releases released earlier. You can use the release branches (release/v5.*) until the next release. Or if you insist on using a tagged version then downgrade your system Python to 3.11. |
Yes, I can. But I think something is completely wrong that I can't build none of the previous releases. |
Answers checklist.
IDF version.
v5.2
Operating System used.
Windows
How did you build your project?
CLion IDE
If you are using Windows, please specify command line type.
PowerShell
What is the expected behavior?
run menuconfig and setup project
What is the actual behavior?
get "Access violation" error while trying build "menuconfig"
Steps to reproduce.
Build or installation Logs.
More Information.
Reproduced on Windows 10 and 11 with Python 3.12.2. Can't reproduce with older Python versions, but need to keep it updated. Can be reproduced not only with "hello_world" example, same as others.
The text was updated successfully, but these errors were encountered: