[Bug Report]: ESP-IDF: Menuconfig: Loading default values windows hung (VSC-706)
See original GitHub issuePre Bug Report Checklist Before reporting any bug please make sure of these points.
- Make sure you have searched for existing bugs and features request before you post an issue.
- This is a bug report for the ESP-IDF Visual Studio Code extension and not an ESP-IDF bug report.
- I’ve read the docs and found no information that could have helped solving the issue.
Describe the bug the Menuconfig information pop up windows hung when I tried to reset the menuconfig parameters, the details as below:
To Reproduce
- click ESP IDF Launch GUI Configuration tool button
- click Reset button
Expected behavior the pop up windows can disappear and goes back to menuconfig setting windows
Screenshots
I have mentioned above
Environment (please complete the following information):
- OS Name & Version: win10
- VSCode Version: 1.57.1
- ESP-IDF Version: v1.1.0
- Python Version: 3.9.0
NOTE: You can use the
ESP-IDF: Doctor command
to generate a report of your configuration.
---------------------------------------------- ESP-IDF Extension for Visual Studio Code report --------------------------------------------- OS win32 x64 10.0.19042 System environment variable PATH D:\Python39\Scripts;D:\Python39;%ALLEGRO_BRD2ODB%\nv\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\windows\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;c:\Program Files (x86)\HP\HP Performance Advisor;D:\PuTTY;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Program Files\IVI Foundation\VISA\Win64\Bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;D:\Git\cmd;C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;D:\CMake\bin;C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin;D:\doxygen\bin;D:\Mscgen;D:\stlink-1.3.0-win64\bin;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Users\wireless_tech\AppData\Local\Microsoft\WindowsApps;D:\Microsoft VS Code\bin Visual Studio Code version 1.57.1 Visual Studio Code language en Visual Studio Code shell C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe ESP-IDF Extension version 1.1.0 ---------------------------------------------------- Extension configuration settings ------------------------------------------------------ ESP-ADF Path (idf.espAdfPath) ${env:ADF_PATH} ESP-IDF Path (idf.espIdfPath) F:\BLE_WIFI\Espressif\SDK\esp-idf-c3 ESP-MDF Path (idf.espMdfPath) ${env:MDF_PATH} Custom extra paths (idf.customExtraPaths) F:\Tools\Espressif\IDF_Tools.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin;F:\Tools\Espressif\IDF_Tools.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin;F:\Tools\Espressif\IDF_Tools.espressif\tools\xtensa-esp32s3-elf\esp-2020r3-8.4.0\xtensa-esp32s3-elf\bin;F:\Tools\Espressif\IDF_Tools.espressif\tools\riscv32-esp-elf\1.24.0.123_64eb9ff-8.4.0\riscv32-esp-elf\bin;F:\Tools\Espressif\IDF_Tools.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin;F:\Tools\Espressif\IDF_Tools.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin;F:\Tools\Espressif\IDF_Tools.espressif\tools\cmake\3.16.4\bin;F:\Tools\Espressif\IDF_Tools.espressif\tools\openocd-esp32\v0.10.0-esp32-20210401\openocd-esp32\bin;F:\Tools\Espressif\IDF_Tools.espressif\tools\ninja\1.10.2;F:\Tools\Espressif\IDF_Tools.espressif\tools\idf-exe\1.0.1;F:\Tools\Espressif\IDF_Tools.espressif\tools\ccache\3.7;F:\Tools\Espressif\IDF_Tools.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64 Custom extra vars (idf.customExtraVars) {“OPENOCD_SCRIPTS”:“F:/Tools/Espressif/IDF_Tools/.espressif/tools/openocd-esp32/v0.10.0-esp32-20210401/openocd-esp32/share/openocd/scripts”,“IDF_CCACHE_ENABLE”:“1”} Virtual env Python Path (idf.pythonBinPath) F:\Tools\Espressif\IDF_Tools.espressif\python_env\idf4.4_py3.9_env\Scripts\python.exe Serial port (idf.port) COM35 OpenOCD Configs (idf.openOcdConfigs) board/esp32c3-builtin.cfg ESP-IDF Tools Path (idf.toolsPath) ${env:IDF_TOOLS_PATH} Git Path (idf.gitPath) git -------------------------------------------------------- Configurations access ------------------------------------------------------------- Access to ESP-ADF Path (idf.espIdfPath) false Access to ESP-IDF Path (idf.espIdfPath) true Access to ESP-MDF Path (idf.espIdfPath) false Access to ESP-IDF Custom extra paths Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\xtensa-esp32s3-elf\esp-2020r3-8.4.0\xtensa-esp32s3-elf\bin: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\riscv32-esp-elf\1.24.0.123_64eb9ff-8.4.0\riscv32-esp-elf\bin: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\cmake\3.16.4\bin: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\openocd-esp32\v0.10.0-esp32-20210401\openocd-esp32\bin: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\ninja\1.10.2: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\idf-exe\1.0.1: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\ccache\3.7: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64: true Access to Virtual env Python Path (idf.pythonBinPath) true Access to CMake in environment PATH undefined Access to Ninja in environment PATH undefined Access to ESP-IDF Tools Path (idf.toolsPath) false ----------------------------------------------------------- Executables Versions ----------------------------------------------------------- Git version 2.30.0.windows.1 ESP-IDF version 4.4 Python version 3.9.1 Python’s pip version 20.2.3 -------------------------------------------------- Python packages in idf.pythonBinPath ---------------------------------------------------- bitstring version: 3.1.7 Brotli version: 1.0.9 certifi version: 2021.5.30 cffi version: 1.14.5 chardet version: 4.0.0 click version: 8.0.1 colorama version: 0.4.4 construct version: 2.10.54 contextlib2 version: 0.6.0.post1 cryptography version: 3.4.7 ecdsa version: 0.17.0 esp-windows-curses version: 0.1 Flask version: 0.12.5 Flask-Compress version: 1.9.0 Flask-SocketIO version: 2.9.6 future version: 0.18.2 gcovr version: 4.2 gdbgui version: 0.13.2.0 gevent version: 1.5.0 greenlet version: 1.1.0 idf-component-manager version: 0.2.1a1 idna version: 2.10 itsdangerous version: 2.0.1 Jinja2 version: 3.0.1 kconfiglib version: 13.7.1 lxml version: 4.6.3 MarkupSafe version: 2.0.1 pip version: 20.2.3 psutil version: 5.8.0 pycparser version: 2.20 pyelftools version: 0.27 pygdbmi version: 0.9.0.2 Pygments version: 2.9.0 pyparsing version: 2.3.1 pyserial version: 3.5 python-engineio version: 3.14.2 python-socketio version: 4.6.1 pywin32 version: 301 PyYAML version: 5.4.1 reedsolo version: 1.5.4 requests version: 2.25.1 requests-toolbelt version: 0.9.1 schema version: 0.7.4 semantic-version version: 2.8.5 setuptools version: 49.2.1 six version: 1.16.0 tqdm version: 4.61.0 urllib3 version: 1.26.5 websocket-client version: 1.0.1 Werkzeug version: 0.16.1 wheel version: 0.36.2 windows-curses version: 2.2.0 xmlrunner version: 1.7.7 ---------------------------------------------------- Check ESP-IDF python requirements.txt ------------------------------------------------- Check ESP-IDF Python packages Python requirements from F:\BLE_WIFI\Espressif\SDK\esp-idf-c3\requirements.txt are satisfied. ---------------------------------------------------- Check extension requirements.txt ------------------------------------------------------ Check Extension Python packages Python requirements from c:\Users\wireless_tech.vscode\extensions\espressif.esp-idf-extension-1.1.0\requirements.txt are satisfied. ---------------------------------------------------- Check ESP-IDF debug adapter requirements.txt ------------------------------------------ Check Debug AdapterPython packages Python requirements from c:\Users\wireless_tech.vscode\extensions\espressif.esp-idf-extension-1.1.0\esp_debug_adapter\requirements.txt are satisfied. ----------------------------------------------------------- Latest error ----------------------------------------------------------------- Latest error at ENOENT: no such file or directory, open ‘f:\BLE_WIFI\Espressif\HX_DK_FOR_ESP32C3\Software\Example_Project\1_Advertisement.vscode\launch.json’
---------------------------------------------- ESP-IDF Extension for Visual Studio Code report --------------------------------------------- OS win32 x64 10.0.19042 System environment variable PATH D:\Python39\Scripts;D:\Python39;%ALLEGRO_BRD2ODB%\nv\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\windows\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;c:\Program Files (x86)\HP\HP Performance Advisor;D:\PuTTY;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Program Files\IVI Foundation\VISA\Win64\Bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;D:\Git\cmd;C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;D:\CMake\bin;C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin;D:\doxygen\bin;D:\Mscgen;D:\stlink-1.3.0-win64\bin;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Users\wireless_tech\AppData\Local\Microsoft\WindowsApps;D:\Microsoft VS Code\bin Visual Studio Code version 1.57.1 Visual Studio Code language en Visual Studio Code shell C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe ESP-IDF Extension version 1.1.0 ---------------------------------------------------- Extension configuration settings ------------------------------------------------------ ESP-ADF Path (idf.espAdfPath) ${env:ADF_PATH} ESP-IDF Path (idf.espIdfPath) F:\BLE_WIFI\Espressif\SDK\esp-idf-c3 ESP-MDF Path (idf.espMdfPath) ${env:MDF_PATH} Custom extra paths (idf.customExtraPaths) F:\Tools\Espressif\IDF_Tools.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin;F:\Tools\Espressif\IDF_Tools.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin;F:\Tools\Espressif\IDF_Tools.espressif\tools\xtensa-esp32s3-elf\esp-2020r3-8.4.0\xtensa-esp32s3-elf\bin;F:\Tools\Espressif\IDF_Tools.espressif\tools\riscv32-esp-elf\1.24.0.123_64eb9ff-8.4.0\riscv32-esp-elf\bin;F:\Tools\Espressif\IDF_Tools.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin;F:\Tools\Espressif\IDF_Tools.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin;F:\Tools\Espressif\IDF_Tools.espressif\tools\cmake\3.16.4\bin;F:\Tools\Espressif\IDF_Tools.espressif\tools\openocd-esp32\v0.10.0-esp32-20210401\openocd-esp32\bin;F:\Tools\Espressif\IDF_Tools.espressif\tools\ninja\1.10.2;F:\Tools\Espressif\IDF_Tools.espressif\tools\idf-exe\1.0.1;F:\Tools\Espressif\IDF_Tools.espressif\tools\ccache\3.7;F:\Tools\Espressif\IDF_Tools.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64 Custom extra vars (idf.customExtraVars) {“OPENOCD_SCRIPTS”:“F:/Tools/Espressif/IDF_Tools/.espressif/tools/openocd-esp32/v0.10.0-esp32-20210401/openocd-esp32/share/openocd/scripts”,“IDF_CCACHE_ENABLE”:“1”} Virtual env Python Path (idf.pythonBinPath) F:\Tools\Espressif\IDF_Tools.espressif\python_env\idf4.4_py3.9_env\Scripts\python.exe Serial port (idf.port) COM35 OpenOCD Configs (idf.openOcdConfigs) board/esp32c3-builtin.cfg ESP-IDF Tools Path (idf.toolsPath) ${env:IDF_TOOLS_PATH} Git Path (idf.gitPath) git -------------------------------------------------------- Configurations access ------------------------------------------------------------- Access to ESP-ADF Path (idf.espIdfPath) false Access to ESP-IDF Path (idf.espIdfPath) true Access to ESP-MDF Path (idf.espIdfPath) false Access to ESP-IDF Custom extra paths Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\xtensa-esp32s3-elf\esp-2020r3-8.4.0\xtensa-esp32s3-elf\bin: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\riscv32-esp-elf\1.24.0.123_64eb9ff-8.4.0\riscv32-esp-elf\bin: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\cmake\3.16.4\bin: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\openocd-esp32\v0.10.0-esp32-20210401\openocd-esp32\bin: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\ninja\1.10.2: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\idf-exe\1.0.1: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\ccache\3.7: true Access to F:\Tools\Espressif\IDF_Tools.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64: true Access to Virtual env Python Path (idf.pythonBinPath) true Access to CMake in environment PATH undefined Access to Ninja in environment PATH undefined Access to ESP-IDF Tools Path (idf.toolsPath) false ----------------------------------------------------------- Executables Versions ----------------------------------------------------------- Git version 2.30.0.windows.1 ESP-IDF version 4.4 Python version 3.9.1 Python’s pip version 20.2.3 -------------------------------------------------- Python packages in idf.pythonBinPath ---------------------------------------------------- bitstring version: 3.1.7 Brotli version: 1.0.9 certifi version: 2021.5.30 cffi version: 1.14.5 chardet version: 4.0.0 click version: 8.0.1 colorama version: 0.4.4 construct version: 2.10.54 contextlib2 version: 0.6.0.post1 cryptography version: 3.4.7 ecdsa version: 0.17.0 esp-windows-curses version: 0.1 Flask version: 0.12.5 Flask-Compress version: 1.9.0 Flask-SocketIO version: 2.9.6 future version: 0.18.2 gcovr version: 4.2 gdbgui version: 0.13.2.0 gevent version: 1.5.0 greenlet version: 1.1.0 idf-component-manager version: 0.2.1a1 idna version: 2.10 itsdangerous version: 2.0.1 Jinja2 version: 3.0.1 kconfiglib version: 13.7.1 lxml version: 4.6.3 MarkupSafe version: 2.0.1 pip version: 20.2.3 psutil version: 5.8.0 pycparser version: 2.20 pyelftools version: 0.27 pygdbmi version: 0.9.0.2 Pygments version: 2.9.0 pyparsing version: 2.3.1 pyserial version: 3.5 python-engineio version: 3.14.2 python-socketio version: 4.6.1 pywin32 version: 301 PyYAML version: 5.4.1 reedsolo version: 1.5.4 requests version: 2.25.1 requests-toolbelt version: 0.9.1 schema version: 0.7.4 semantic-version version: 2.8.5 setuptools version: 49.2.1 six version: 1.16.0 tqdm version: 4.61.0 urllib3 version: 1.26.5 websocket-client version: 1.0.1 Werkzeug version: 0.16.1 wheel version: 0.36.2 windows-curses version: 2.2.0 xmlrunner version: 1.7.7 ---------------------------------------------------- Check ESP-IDF python requirements.txt ------------------------------------------------- Check ESP-IDF Python packages Python requirements from F:\BLE_WIFI\Espressif\SDK\esp-idf-c3\requirements.txt are satisfied. ---------------------------------------------------- Check extension requirements.txt ------------------------------------------------------ Check Extension Python packages Python requirements from c:\Users\wireless_tech.vscode\extensions\espressif.esp-idf-extension-1.1.0\requirements.txt are satisfied. ---------------------------------------------------- Check ESP-IDF debug adapter requirements.txt ------------------------------------------ Check Debug AdapterPython packages Python requirements from c:\Users\wireless_tech.vscode\extensions\espressif.esp-idf-extension-1.1.0\esp_debug_adapter\requirements.txt are satisfied. ----------------------------------------------------------- Latest error ----------------------------------------------------------------- Latest error at ENOENT: no such file or directory, open ‘f:\BLE_WIFI\Espressif\HX_DK_FOR_ESP32C3\Software\Example_Project\1_Advertisement.vscode\launch.json’
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
ESP-IDF Menuconfig hang on loading initial values (VSC-651)
So I had try all solutions suggested in issue #387 without any succes. (Windows 10 64 bits, latest vscode, esp-idf master, python 3.9)....
Read more >VSC does not open SDK Configuration editor - ESP32 Forum
I am running VSC 1.56.2 and ESP-IDF extension v1.0.3 on my Linux mint ... it just stucks on "ESP-IDF: Menuconfig: Loading initial values....
Read more >Project Configuration - ESP32 - — ESP-IDF Programming ...
Kconfig files specify dependencies between options, default values of the options, the way the options are grouped together, etc.
Read more >Environment setup — ESP-FAQ documentation
When installing ESP-IDF version master using ESP-IDF Tools 2.3 in Windows system, an error occurred as: Installation has failed with exit code 2....
Read more >Esp32 menuconfig - PlatformIO Community
Hi there. Im new to platformio using esp-idf to program an esp32. Everything seems nice. However, the lack of make menuconfig makes things...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@brianignacio5
got it. it will be better if the time can be decreased.
It needs some time because the reset action needs:
sdkconfig
fileidf.py reconfigure
to create defaultsdkconfig
and reloadconfserver.py
.Best we can do is to make sure the progress bar is showing during this process. The windows will disappear because those values are going to be replaced with default ones.