(see attachment screenshot)The window is not responding
You can reopen or close the window or keep waiting.
I have tried the following, to no avail:
- reconfigure the ESP-IDF. No change.
- completely removed ESP-IDF from the system (both the VSCode plugin and the installed frameworks), re-downloaded the ESP-IDF framework and re-installed it under VSCode. The installation finishes successfully, but the problem remains the same when trying to open/create a project.
- disable all other extensions in VSCode except ESP-IDF. No change.
1: "esp_idf_vsc_ext.log" - this is the ESP-IDF extension log file. There appear to be path-related errors, but it's unclear to me what has caused them or how to resolve them. Here's an example snippet from this log file:
2: "exthost.log" - which I understand is the VSCode plugin host system log. Note that it also lists several errors; see example snippet:{"message":"ERROR: Both of the directories (..\\idf-exe\\.. and ..\\tools) has to be in the PATH:\r\n\r\nc:\\Espressif\\tools\\tools\\xtensa-esp-elf-gdb\\14.2_20240403\\xtensa-esp-elf-gdb\\bin;c:\\Espressif\\tools\\tools\\riscv32-esp-elf-gdb\\14.2_20240403\\riscv32-esp-elf-gdb\\bin;c:\\Espressif\\tools\\tools\\xtensa-esp-elf\\esp-14.2.0_20241119\\xtensa-esp-elf\\bin;c:\\Espressif\\tools\\tools\\riscv32-esp-elf\\esp-14.2.0_20241119\\riscv32-esp-elf\\bin;c:\\Espressif\\tools\\tools\\esp32ulp-elf\\2.38_20240113\\esp32ulp-elf\\bin;c:\\Espressif\\tools\\tools\\cmake\\3.30.2\\bin;c:\\Espressif\\tools\\tools\\openocd-esp32\\v0.12.0-esp32-20241016\\openocd-esp32\\bin;c:\\Espressif\\tools\\tools\\ninja\\1.12.1\\;c:\\Espressif\\tools\\tools\\idf-exe\\1.0.3\\;c:\\Espressif\\tools\\tools\\ccache\\4.10.2\\ccache-4.10.2-windows-x86_64;c:\\Espressif\\tools\\tools\\dfu-util\\0.11\\dfu-util-0.11-win64;c:\\Espressif\\tools\\python_env\\idf5.4_py3.11_env\\Scripts;C:/Espressif/frameworks/esp-idf-v5.4/tools;%PATH%C:\\Legacy\\STM\\STVD\\asm;C:\\Program Files (x86)\\STMicroelectronics\\st_toolset\\asm;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\COSMIC\\FSE_Compilers\\CXSTM8;C:\\Program Files (x86)\\COSMIC\\FSE_Compilers\\CXSTM32;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\PuTTY\\;C:\\Program Files\\nodejs\\;C:\\Users\\my_user_name\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\my_user_name\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\my_user_name\\AppData\\Local\\Programs\\Python\\Python38\\Scripts\\;C:\\Users\\my_user_name\\AppData\\Local\\Programs\\Python\\Python38\\;C:\\Users\\my_user_name\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\my_user_name\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\my_user_name\\AppData\\Roaming\\npm\r\n\r\n","stack":"Error: ERROR: Both of the directories (..\\idf-exe\\.. and ..\\tools) has to be in the PATH:\r\n\r\nc:\\Espressif\\tools\\tools\\xtensa-esp-elf-gdb\\14.2_20240403\\xtensa-esp-elf-gdb\\bin;c:\\Espressif\\tools\\tools\\riscv32-esp-elf-gdb\\14.2_20240403\\riscv32-esp-elf-gdb\\bin;c:\\Espressif\\tools\\tools\\xtensa-esp-elf\\esp-14.2.0_20241119\\xtensa-esp-elf\\bin;c:\\Espressif\\tools\\tools\\riscv32-esp-elf\\esp-14.2.0_20241119\\riscv32-esp-elf\\bin;c:\\Espressif\\tools\\tools\\esp32ulp-elf\\2.38_20240113\\esp32ulp-elf\\bin;c:\\Espressif\\tools\\tools\\cmake\\3.30.2\\bin;c:\\Espressif\\tools\\tools\\openocd-esp32\\v0.12.0-esp32-20241016\\openocd-esp32\\bin;c:\\Espressif\\tools\\tools\\ninja\\1.12.1\\;c:\\Espressif\\tools\\tools\\idf-exe\\1.0.3\\;c:\\Espressif\\tools\\tools\\ccache\\4.10.2\\ccache-4.10.2-windows-x86_64;c:\\Espressif\\tools\\tools\\dfu-util\\0.11\\dfu-util-0.11-win64;c:\\Espressif\\tools\\python_env\\idf5.4_py3.11_env\\Scripts;C:/Espressif/frameworks/esp-idf-v5.4/tools;%PATH%C:\\Legacy\\STM\\STVD\\asm;C:\\Program Files (x86)\\STMicroelectronics\\st_toolset\\asm;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\COSMIC\\FSE_Compilers\\CXSTM8;C:\\Program Files (x86)\\COSMIC\\FSE_Compilers\\CXSTM32;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\PuTTY\\;C:\\Program Files\\nodejs\\;C:\\Users\\my_user_name\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\my_user_name\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\my_user_name\\AppData\\Local\\Programs\\Python\\Python38\\Scripts\\;C:\\Users\\my_user_name\\AppData\\Local\\Programs\\Python\\Python38\\;C:\\Users\\my_user_name\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\my_user_name\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\my_user_name\\AppData\\Roaming\\npm\r\n\r\n\n\tat \\dist\\extension.js:2:1435888\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:518:28)\n\tat maybeClose (node:internal/child_process:1104:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:304:5)","level":"error","timestamp":"2025-02-13T10:29:22.701Z"}
Any suggestions on how to resolve this problem would be welcome. At present I'm stuck with an entirely non-functional ESP-IDF installation and no way to work on active projects.2025-02-13 11:30:11.185 [error] An error occurred when deactivating the extension 'espressif.esp-idf-extension':
2025-02-13 11:30:11.190 [error] TypeError: Cannot read properties of undefined (reading 'dispose')
at Ns.dispose (c:\Users\my_user_name\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:1619044)
at Module.qp (c:\Users\my_user_name\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:1920619)
at PW.eb (file:///c:/Users/my_user_name/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:11724)
at file:///c:/Users/my_user_name/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:9874
at Array.map (<anonymous>)
at PW.$ (file:///c:/Users/my_user_name/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:9862)
at PW.terminate (file:///c:/Users/my_user_name/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:10105)
at wC.terminate (file:///c:/Users/my_user_name/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:117:1434)
at ts (file:///c:/Users/my_user_name/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:190:15080)
at MessagePortMain.<anonymous> (file:///c:/Users/my_user_name/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:190:11628)
at MessagePortMain.emit (node:events:518:28)
at MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:2949)