Skip to content
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

Using unity template with fresh install from examples command (VSC-1499) #1324

Closed
1 task done
yamaan93 opened this issue Oct 1, 2024 · 2 comments
Closed
1 task done
Assignees
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)

Comments

@yamaan93
Copy link

yamaan93 commented Oct 1, 2024

OS

Windows

Operating System version

Windows 10

Visual Studio Code version

1.93.1

ESP-IDF version

5.2.3

Python version

3.11.2

Doctor command output

---------------------------------------------- ESP-IDF Extension for Visual Studio Code report ---------------------------------------------
OS win32 x64 10.0.19045
System environment variable IDF_PYTHON_ENV_PATH
undefined
System environment variable PATH
c:\program files\nvidia gpu computing toolkit\cuda\v11.8\bin;c:\program files\nvidia gpu computing toolkit\cuda\v11.8\libnvvp;c:\python39\scripts;c:\python39;c:\program files\common files\oracle\java\javapath;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:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0;c:\windows\system32\openssh;c:\program files\microsoft sql server\client sdk\odbc\110\tools\binn;c:\program files (x86)\microsoft sql server\120\tools\binn;c:\program files\microsoft sql server\120\tools\binn;c:\program files\microsoft sql server\120\dts\binn;c:\program files (x86)\windows kits\8.1\windows performance toolkit;c:\program files\dotnet;c:\program files\nodejs;c:\programdata\chocolatey\bin;c:\program files (x86)\yarn\bin;c:\program files (x86)\dotnet;c:\program files (x86)\pulse secure\vc142.crt\x64;c:\program files (x86)\pulse secure\vc142.crt\x86;c:\program files\nvidia corporation\nvidia nvdlisr;c:\program files\wooting-analog-sdk;c:\program files\matlab\r2023b\runtime\win64;c:\program files\matlab\r2023b\bin;c:\program files\matlab\r2022a\runtime\win64;c:\program files\matlab\r2022a\bin;c:\program files\nvidia corporation\nsight compute 2022.3.0;c:\program files\calibre2;c:\program files\docker\docker\resources\bin;c:\program files (x86)\stmicroelectronics\stm32 st-link utility\st-link utility;c:\program files\github cli;c:\program files\git\cmd;c:\mingw\bin;c:\users\ya\appdata\roaming\python\python310\scripts;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft VS Code\bin;C:.cargo\bin;C:\AppData\Local\Programs\Python\Python310\Scripts;C:\AppData\Local\Programs\Python\Python310;C:\AppData\Local\Programs\Python\Python39\Scripts;C:\AppData\Local\Programs\Python\Python39;C:\AppData\Local\Programs\Python\Python38\Scripts;C:\AppData\Local\Programs\Python\Python38;C:\AppData\Local\Microsoft\WindowsApps;C:\src\flutter\bin;C:.dotnet\tools;C:\AppData\Local\GitHubDesktop\bin;C:\Program Files\JetBrains\IntelliJ IDEA 2020.3.1\bin;;C:\Program Files\JetBrains\PyCharm 2020.3.2\bin;;C:\AppData\Roaming\npm;C:\AppData\Local\Yarn\bin;C:\Program Files\JetBrains\CLion 2023.3.3\bin;;C:\AppData\Local\Programs\MiKTeX\miktex\bin\x64;C:\AppData\Local\Programs\oh-my-posh\bin;C:\MinGW\bin;C:\intelFPGA_lite\18.0\modelsim_ase\win32aloem;C:\AppData\Local\Programs\Microsoft VS Code\bin;C:\AppData\Roaming\Python\Python310\Scripts;
System environment variable PYTHON
undefined
Visual Studio Code version 1.93.1
Visual Studio Code language en
Visual Studio Code shell C:\Program Files\PowerShell\7\pwsh.exe
ESP-IDF Extension version 1.8.1
Workspace folder c:\repos\ESP32-IDF-Tests
---------------------------------------------------- Extension configuration settings ------------------------------------------------------
ESP-ADF Path (idf.espAdfPath) ${env:ADF_PATH}
ESP-IDF Path (idf.espIdfPath) C:\esp\v5.3.1\esp-idf
ESP-MDF Path (idf.espMdfPath) ${env:MDF_PATH}
ESP-Matter Path (idf.espMatterPath) ${env:ESP_MATTER_PATH}
ESP-HomeKit-SDK Path (idf.espHomeKitSdkPath) ${env:HOMEKIT_PATH}
Custom extra paths (idf.customExtraPaths) C:.espressif\tools\xtensa-esp-elf-gdb\14.2_20240403\xtensa-esp-elf-gdb\bin;C:.espressif\tools\riscv32-esp-elf-gdb\14.2_20240403\riscv32-esp-elf-gdb\bin;C:.espressif\tools\xtensa-esp-elf\esp-13.2.0_20240530\xtensa-esp-elf\bin;C:.espressif\tools\riscv32-esp-elf\esp-13.2.0_20240530\riscv32-esp-elf\bin;C:.espressif\tools\esp32ulp-elf\2.38_20240113\esp32ulp-elf\bin;C:.espressif\tools\cmake\3.24.0\bin;C:.espressif\tools\openocd-esp32\v0.12.0-esp32-20240318\openocd-esp32\bin;C:.espressif\tools\ninja\1.11.1;C:.espressif\tools\idf-exe\1.0.3;C:.espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64;C:.espressif\tools\dfu-util\0.11\dfu-util-0.11-win64;C:.espressif\tools\esp-rom-elfs\20240305
Custom extra vars (idf.customExtraVars)
OPENOCD_SCRIPTS: C:.espressif\tools\openocd-esp32\v0.12.0-esp32-20240318/openocd-esp32/share/openocd/scripts
IDF_CCACHE_ENABLE: 1
ESP_ROM_ELF_DIR: C:.espressif\tools\esp-rom-elfs\20240305/
Virtual env Python Path (idf.pythonBinPath) C:.espressif\python_env\idf5.3_py3.11_env\Scripts\python.exe
Serial port (idf.port) COM6
OpenOCD Configs (idf.openOcdConfigs) board/esp32-wrover-kit-3.3v.cfg
ESP-IDF Tools Path (idf.toolsPath) C:.espressif
Git Path (idf.gitPath) C:.espressif\tools\idf-git\2.39.2\cmd\git.exe
Notification Mode (idf.notificationMode) All
-------------------------------------------------------- Configurations access -------------------------------------------------------------
Access to ESP-ADF Path (idf.espAdfPath) false
Access to ESP-IDF Path (idf.espIdfPath) true
Access to ESP-MDF Path (idf.espMdfPath) false
Access to ESP-Matter Path (idf.espMatterPath) false
Access to ESP-HomeKit Path (idf.espHomeKitSdkPath) false
Access to ESP-IDF Custom extra paths
Access to C:.espressif\tools\xtensa-esp-elf-gdb\14.2_20240403\xtensa-esp-elf-gdb\bin: true
Access to C:.espressif\tools\riscv32-esp-elf-gdb\14.2_20240403\riscv32-esp-elf-gdb\bin: true
Access to C:.espressif\tools\xtensa-esp-elf\esp-13.2.0_20240530\xtensa-esp-elf\bin: true
Access to C:.espressif\tools\riscv32-esp-elf\esp-13.2.0_20240530\riscv32-esp-elf\bin: true
Access to C:.espressif\tools\esp32ulp-elf\2.38_20240113\esp32ulp-elf\bin: true
Access to C:.espressif\tools\cmake\3.24.0\bin: true
Access to C:.espressif\tools\openocd-esp32\v0.12.0-esp32-20240318\openocd-esp32\bin: true
Access to C:.espressif\tools\ninja\1.11.1: true
Access to C:.espressif\tools\idf-exe\1.0.3: true
Access to C:.espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64: true
Access to C:.espressif\tools\dfu-util\0.11\dfu-util-0.11-win64: true
Access to C:.espressif\tools\esp-rom-elfs\20240305: 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) true
-------------------------------------------------------- Configurations has spaces -------------------------------------------------------------
Spaces in system environment Path true
Spaces in ESP-ADF Path (idf.espAdfPath) false
Spaces in ESP-IDF Path (idf.espIdfPath) false
Spaces in ESP-MDF Path (idf.espMdfPath) false
Spaces in ESP-Matter Path (idf.espMatterPath) false
Spaces in ESP-HomeKit-SDK Path (idf.espHomeKitSdkPath) false
Spaces in ESP-IDF Custom extra paths
Spaces in C:.espressif\tools\xtensa-esp-elf-gdb\14.2_20240403\xtensa-esp-elf-gdb\bin: false
Spaces in C:.espressif\tools\riscv32-esp-elf-gdb\14.2_20240403\riscv32-esp-elf-gdb\bin: false
Spaces in C:.espressif\tools\xtensa-esp-elf\esp-13.2.0_20240530\xtensa-esp-elf\bin: false
Spaces in C:.espressif\tools\riscv32-esp-elf\esp-13.2.0_20240530\riscv32-esp-elf\bin: false
Spaces in C:.espressif\tools\esp32ulp-elf\2.38_20240113\esp32ulp-elf\bin: false
Spaces in C:.espressif\tools\cmake\3.24.0\bin: false
Spaces in C:.espressif\tools\openocd-esp32\v0.12.0-esp32-20240318\openocd-esp32\bin: false
Spaces in C:.espressif\tools\ninja\1.11.1: false
Spaces in C:.espressif\tools\idf-exe\1.0.3: false
Spaces in C:.espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64: false
Spaces in C:.espressif\tools\dfu-util\0.11\dfu-util-0.11-win64: false
Spaces in C:.espressif\tools\esp-rom-elfs\20240305: false
Spaces in Virtual env Python Path (idf.pythonBinPath) false
Spaces in ESP-IDF Tools Path (idf.toolsPath) false
----------------------------------------------------------- Executables Versions -----------------------------------------------------------
Git version 2.39.2.windows.1
ESP-IDF version 5.3.1
Python version 3.11.2
Python's pip version 24.2
-------------------------------------------------- Project configuration settings ----------------------------------------------------------
-------------------------------------------------- Python packages in idf.pythonBinPath ----------------------------------------------------
annotated-types version: 0.7.0
bitarray version: 2.9.2
bitstring version: 4.2.3
certifi version: 2024.8.30
cffi version: 1.17.1
charset-normalizer version: 3.3.2
click version: 8.1.7
colorama version: 0.4.6
construct version: 2.10.70
cryptography version: 42.0.8
ecdsa version: 0.19.0
esp-coredump version: 1.11.0
esp-idf-kconfig version: 2.3.0
esp-idf-monitor version: 1.5.0
esp_idf_nvs_partition_gen version: 0.1.3
esp-idf-panic-decoder version: 1.2.1
esp-idf-size version: 1.6.0
esptool version: 4.8.1
freertos-gdb version: 1.0.3
idf-component-manager version: 2.0.3
idna version: 3.10
intelhex version: 2.3.0
jsonref version: 1.1.0
markdown-it-py version: 3.0.0
mdurl version: 0.1.2
packaging version: 24.1
pip version: 24.2
pyclang version: 0.5.0
pycparser version: 2.22
pydantic version: 2.9.2
pydantic_core version: 2.23.4
pydantic-settings version: 2.5.2
pyelftools version: 0.31
pygdbmi version: 0.11.0.0
Pygments version: 2.18.0
pyparsing version: 3.1.4
pyserial version: 3.5
python-dotenv version: 1.0.1
PyYAML version: 6.0.2
reedsolo version: 1.7.0
requests version: 2.32.3
requests-file version: 2.1.0
requests-toolbelt version: 1.0.0
rich version: 13.8.1
setuptools version: 71.0.0
six version: 1.16.0
tqdm version: 4.66.5
typing_extensions version: 4.12.2
urllib3 version: 1.26.20
windows-curses version: 2.3.3
---------------------------------------------------- Check ESP-IDF python requirements.txt -------------------------------------------------
Check ESP-IDF Python packages Python requirements are satisfied.
---------------------------------------------------- Check ESP-IDF debug adapter requirements.txt ------------------------------------------
Check Debug AdapterPython packages Error
---------------------------------------------------- Visual Studio Code launch.json --------------------------------------------------------
{
"version": "0.2.0",
"configurations": [
{
"type": "gdbtarget",
"request": "attach",
"name": "Eclipse CDT GDB Adapter"
},
{
"type": "espidf",
"name": "Launch",
"request": "launch"
}
]
}
---------------------------------------------------- Visual Studio Code c_cpp_properties.json ----------------------------------------------
{
"configurations": [
{
"name": "ESP-IDF",
"compilerPath": "${config:idf.toolsPathWin}\tools\xtensa-esp-elf\esp-13.2.0_20240530\xtensa-esp-elf\bin\xtensa-esp32-elf-gcc.exe",
"compileCommands": "${config:idf.buildPath}/compile_commands.json",
"includePath": [
"${config:idf.espIdfPath}/components/",
"${config:idf.espIdfPathWin}/components/
",
"${workspaceFolder}/**"
],
"browse": {
"path": [
"${config:idf.espIdfPath}/components",
"${config:idf.espIdfPathWin}/components",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true
}
}
],
"version": 4
}

----------------------------------------------------------- Latest error -----------------------------------------------------------------
{
"code": 1,
"killed": false,
"signal": null,
"cmd": "C:\.espressif\python_env\idf5.3_py3.11_env\Scripts\python.exe C:\esp\v5.3.1\esp-idf\tools\check_python_dependencies.py -r c:\.vscode\extensions\espressif.esp-idf-extension-1.8.1\esp_debug_adapter\requirements.txt"
}

----------------------------------------------------------- Logfile -----------------------------------------------------------------
{"message":"Cannot access filePath: c:\Users\Ya\repos\data-tools\CMakeLists.txt","stack":"Error: ENOENT: no such file or directory, access 'c:\Users\Ya\repos\data-tools\CMakeLists.txt'\n at Object.accessSync (node:fs:246:11)\n at Object.t.accessSync (node:electron/js2c/node_init:2:9017)\n at Se (\dist\extension.js:2:1421806)\n at \dist\extension.js:2:1423483\n at Re (\dist\extension.js:2:1423669)\n at me (\dist\extension.js:2:1419181)\n at mp (\dist\extension.js:2:1816764)\n at m.n (\out\vs\workbench\api\node\extensionHostProcess.js:151:6409)\n at m (\out\vs\workbench\api\node\extensionHostProcess.js:151:6372)\n at m.l (\out\vs\workbench\api\node\extensionHostProcess.js:151:5829)","level":"error","timestamp":"2024-09-29T20:50:34.886Z"}
{"message":"Cannot access filePath: C:\Users\Ya\Desktop\esp-idf\tools\idf.py","stack":"Error: ENOENT: no such file or directory, access 'C:\Users\Ya\Desktop\esp-idf\tools\idf.py'\n at Object.accessSync (node:fs:246:11)\n at Object.t.accessSync (node:electron/js2c/node_init:2:9017)\n at Se (\dist\extension.js:2:1421806)\n at i.value (\dist\extension.js:2:1615589)\n at r.B (\out\vs\workbench\api\node\extensionHostProcess.js:90:732)\n at r.fire (\out\vs\workbench\api\node\extensionHostProcess.js:90:949)\n at v.$onMessage (\out\vs\workbench\api\node\extensionHostProcess.js:153:19363)\n at y.S (\out\vs\workbench\api\node\extensionHostProcess.js:158:5968)\n at y.Q (\out\vs\workbench\api\node\extensionHostProcess.js:158:5734)\n at y.M (\out\vs\workbench\api\node\extensionHostProcess.js:158:4767)\n at y.L (\out\vs\workbench\api\node\extensionHostProcess.js:158:3823)\n at i.value (\out\vs\workbench\api\node\extensionHostProcess.js:158:2297)\n at r.B (\out\vs\workbench\api\node\extensionHostProcess.js:90:732)\n at r.fire (\out\vs\workbench\api\node\extensionHostProcess.js:90:949)\n at a.fire (\out\vs\workbench\api\node\extensionHostProcess.js:115:14463)\n at i.value (\out\vs\workbench\api\node\extensionHostProcess.js:184:8635)\n at r.B (\out\vs\workbench\api\node\extensionHostProcess.js:90:732)\n at r.fire (\out\vs\workbench\api\node\extensionHostProcess.js:90:949)\n at a.fire (\out\vs\workbench\api\node\extensionHostProcess.js:115:14463)\n at MessagePortMain. (\out\vs\workbench\api\node\extensionHostProcess.js:184:6761)\n at MessagePortMain.emit (node:events:519:28)\n at Object.MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:2619)","level":"error","timestamp":"2024-09-29T20:51:10.892Z"}
{"user":true,"message":"Failed to get the eFuse Summary from the chip, please make sure you have selected a valid port","stack":"TypeError: The "path" argument must be of type string. Received undefined\n at join (node:path:427:7)\n at Vs.get toolPath [as toolPath] (\dist\extension.js:2:1567515)\n at Vs.summary (\dist\extension.js:2:1567055)\n at \dist\extension.js:2:1880650\n at O.d (\out\vs\workbench\api\node\extensionHostProcess.js:161:176727)\n at O.withProgress (\out\vs\workbench\api\node\extensionHostProcess.js:161:176590)\n at Object.withProgress (\out\vs\workbench\api\node\extensionHostProcess.js:171:41967)\n at \dist\extension.js:2:1880517\n at \dist\extension.js:2:1815472\n at h (\out\vs\workbench\api\node\extensionHostProcess.js:161:210554)\n at h.$executeContributedCommand (\out\vs\workbench\api\node\extensionHostProcess.js:161:211414)\n at y.S (\out\vs\workbench\api\node\extensionHostProcess.js:158:5968)\n at y.Q (\out\vs\workbench\api\node\extensionHostProcess.js:158:5734)\n at y.M (\out\vs\workbench\api\node\extensionHostProcess.js:158:4767)\n at y.L (\out\vs\workbench\api\node\extensionHostProcess.js:158:3602)\n at i.value (\out\vs\workbench\api\node\extensionHostProcess.js:158:2297)\n at r.B (\out\vs\workbench\api\node\extensionHostProcess.js:90:732)\n at r.fire (\out\vs\workbench\api\node\extensionHostProcess.js:90:949)\n at a.fire (\out\vs\workbench\api\node\extensionHostProcess.js:115:14463)\n at i.value (\out\vs\workbench\api\node\extensionHostProcess.js:184:8635)\n at r.B (\out\vs\workbench\api\node\extensionHostProcess.js:90:732)\n at r.fire (\out\vs\workbench\api\node\extensionHostProcess.js:90:949)\n at a.fire (\out\vs\workbench\api\node\extensionHostProcess.js:115:14463)\n at MessagePortMain. (\out\vs\workbench\api\node\extensionHostProcess.js:184:6761)\n at MessagePortMain.emit (node:events:519:28)\n at Object.MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:2619)","level":"error","timestamp":"2024-09-29T20:53:59.401Z"}
{"user":true,"message":"Error: ENOENT: no such file or directory, stat 'C:\components\esptool_py\esptool\esptool.py'","stack":"EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat 'C:\components\esptool_py\esptool\esptool.py'\n at Function.e (\out\vs\workbench\api\node\extensionHostProcess.js:160:6206)\n at Object.stat (\out\vs\workbench\api\node\extensionHostProcess.js:160:3977)\n at \dist\extension.js:2:1455810","level":"error","timestamp":"2024-09-29T20:54:05.762Z"}
{"message":"Updating files: 0% (136/14882)\rUpdating files: 1% (149/14882)\rUpdating files: 2% (298/14882)\rUpdating files: 2% (377/14882)\rUpdating files: 2% (378/14882)\rUpdating files: 2% (379/14882)\rUpdating files: 2% (380/14882)\rUpdating files: 2% (381/14882)\rUpdating files: 2% (382/14882)\rUpdating files: 3% (447/14882)\rUpdating files: 3% (551/14882)\rUpdating files: 4% (596/14882)\rUpdating files: 4% (671/14882)\rUpdating files: 5% (745/14882)\rUpdating files: 6% (893/14882)\rUpdating files: 7% (1042/14882)\rUpdating files: 7% (1085/14882)\rUpdating files: 8% (1191/14882)\rUpdating files: 8% (1193/14882)\rUpdating files: 8% (1257/14882)\rUpdating files: 9% (1340/14882)\rUpdating files: 10% (1489/14882)\rUpdating files: 11% (1638/14882)\rUpdating files: 11% (1744/14882)\rUpdating files: 12% (1786/14882)\rUpdating files: 12% (1800/14882)\rUpdating files: 13% (1935/14882)\rUpdating files: 14% (2084/14882)\rUpdating files: 15% (2233/14882)\rUpdating files: 16% (2382/14882)\rUpdating files: 17% (2530/14882)\rUpdating files: 18% (2679/14882)\rUpdating files: 18% (2694/14882)\rUpdating files: 19% (2828/14882)\rUpdating files: 20% (2977/14882)\rUpdating files: 21% (3126/14882)\rUpdating files: 22% (3275/14882)\rUpdating files: 23% (3423/14882)\rUpdating files: 23% (3493/14882)\rUpdating files: 24% (3572/14882)\rUpdating files: 25% (3721/14882)\rUpdating files: 26% (3870/14882)\rUpdating files: 27% (4019/14882)\rUpdating files: 28% (4167/14882)\rUpdating files: 29% (4316/14882)\rUpdating files: 29% (4356/14882)\rUpdating files: 29% (4407/14882)\rUpdating files: 30% (4465/14882)\rUpdating files: 31% (4614/14882)\rUpdating files: 32% (4763/14882)\rUpdating files: 32% (4818/14882)\rUpdating files: 33% (4912/14882)\rUpdating files: 34% (5060/14882)\rUpdating files: 35% (5209/14882)\rUpdating files: 36% (5358/14882)\rUpdating files: 37% (5507/14882)\rUpdating files: 38% (5656/14882)\rUpdating files: 38% (5666/14882)\rUpdating files: 38% (5708/14882)\rUpdating files: 38% (5759/14882)\rUpdating files: 38% (5774/14882)\rUpdating files: 39% (5804/14882)\rUpdating files: 39% (5830/14882)\rUpdating files: 40% (5953/14882)\rUpdating files: 40% (5958/14882)\rUpdating files: 41% (6102/14882)\rUpdating files: 41% (6190/14882)\rUpdating files: 41% (6192/14882)\rUpdating files: 42% (6251/14882)\rUpdating files: 42% (6279/14882)\rUpdating files: 43% (6400/14882)\rUpdating files: 44% (6549/14882)\rUpdating files: 45% (6697/14882)\rUpdating files: 45% (6703/14882)\rUpdating files: 46% (6846/14882)\rUpdating files: 47% (6995/14882)\rUpdating files: 48% (7144/14882)\rUpdating files: 49% (7293/14882)\rUpdating files: 50% (7441/14882)\rUpdating files: 51% (7590/14882)\rUpdating files: 51% (7612/14882)\rUpdating files: 52% (7739/14882)\rUpdating files: 53% (7888/14882)\rUpdating files: 54% (8037/14882)\rUpdating files: 55% (8186/14882)\rUpdating files: 55% (8331/14882)\rUpdating files: 56% (8334/14882)\rUpdating files: 56% (8386/14882)\rUpdating files: 57% (8483/14882)\rUpdating files: 57% (8567/14882)\rUpdating files: 58% (8632/14882)\rUpdating files: 59% (8781/14882)\rUpdating files: 60% (8930/14882)\rUpdating files: 61% (9079/14882)\rUpdating files: 61% (9149/14882)\rUpdating files: 62% (9227/14882)\rUpdating files: 63% (9376/14882)\rUpdating files: 64% (9525/14882)\rUpdating files: 65% (9674/14882)\rUpdating files: 66% (9823/14882)\rUpdating files: 67% (9971/14882)\rUpdating files: 67% (10044/14882)\rUpdating files: 68% (10120/14882)\rUpdating files: 69% (10269/14882)\rUpdating files: 70% (10418/14882)\rUpdating files: 71% (10567/14882)\rUpdating files: 72% (10716/14882)\rUpdating files: 73% (10864/14882)\rUpdating files: 74% (11013/14882)\rUpdating files: 74% (11134/14882)\rUpdating files: 75% (11162/14882)\rUpdating files: 76% (11311/14882)\rUpdating files: 77% (11460/14882)\rUpdating files: 78% (11608/14882)\rUpdating files: 78% (11668/14882)\rUpdating files: 79% (11757/14882)\rUpdating files: 80% (11906/14882)\rUpdating files: 81% (12055/14882)\rUpdating files: 82% (12204/14882)\rUpdating files: 83% (12353/14882)\rUpdating files: 84% (12501/14882)\rUpdating files: 85% (12650/14882)\rUpdating files: 85% (12742/14882)\rUpdating files: 86% (12799/14882)\rUpdating files: 87% (12948/14882)\rUpdating files: 88% (13097/14882)\rUpdating files: 89% (13245/14882)\rUpdating files: 90% (13394/14882)\rUpdating files: 91% (13543/14882)\rUpdating files: 92% (13692/14882)\rUpdating files: 93% (13841/14882)\rUpdating files: 94% (13990/14882)\rUpdating files: 94% (13998/14882)\rUpdating files: 95% (14138/14882)\rUpdating files: 96% (14287/14882)\rUpdating files: 97% (14436/14882)\rUpdating files: 98% (14585/14882)\rUpdating files: 99% (14734/14882)\rUpdating files: 100% (14882/14882)\rUpdating files: 100% (14882/14882), done.\n","stack":"Error: Updating files: 0% (136/14882)\rUpdating files: 1% (149/14882)\rUpdating files: 2% (298/14882)\rUpdating files: 2% (377/14882)\rUpdating files: 2% (378/14882)\rUpdating files: 2% (379/14882)\rUpdating files: 2% (380/14882)\rUpdating files: 2% (381/14882)\rUpdating files: 2% (382/14882)\rUpdating files: 3% (447/14882)\rUpdating files: 3% (551/14882)\rUpdating files: 4% (596/14882)\rUpdating files: 4% (671/14882)\rUpdating files: 5% (745/14882)\rUpdating files: 6% (893/14882)\rUpdating files: 7% (1042/14882)\rUpdating files: 7% (1085/14882)\rUpdating files: 8% (1191/14882)\rUpdating files: 8% (1193/14882)\rUpdating files: 8% (1257/14882)\rUpdating files: 9% (1340/14882)\rUpdating files: 10% (1489/14882)\rUpdating files: 11% (1638/14882)\rUpdating files: 11% (1744/14882)\rUpdating files: 12% (1786/14882)\rUpdating files: 12% (1800/14882)\rUpdating files: 13% (1935/14882)\rUpdating files: 14% (2084/14882)\rUpdating files: 15% (2233/14882)\rUpdating files: 16% (2382/14882)\rUpdating files: 17% (2530/14882)\rUpdating files: 18% (2679/14882)\rUpdating files: 18% (2694/14882)\rUpdating files: 19% (2828/14882)\rUpdating files: 20% (2977/14882)\rUpdating files: 21% (3126/14882)\rUpdating files: 22% (3275/14882)\rUpdating files: 23% (3423/14882)\rUpdating files: 23% (3493/14882)\rUpdating files: 24% (3572/14882)\rUpdating files: 25% (3721/14882)\rUpdating files: 26% (3870/14882)\rUpdating files: 27% (4019/14882)\rUpdating files: 28% (4167/14882)\rUpdating files: 29% (4316/14882)\rUpdating files: 29% (4356/14882)\rUpdating files: 29% (4407/14882)\rUpdating files: 30% (4465/14882)\rUpdating files: 31% (4614/14882)\rUpdating files: 32% (4763/14882)\rUpdating files: 32% (4818/14882)\rUpdating files: 33% (4912/14882)\rUpdating files: 34% (5060/14882)\rUpdating files: 35% (5209/14882)\rUpdating files: 36% (5358/14882)\rUpdating files: 37% (5507/14882)\rUpdating files: 38% (5656/14882)\rUpdating files: 38% (5666/14882)\rUpdating files: 38% (5708/14882)\rUpdating files: 38% (5759/14882)\rUpdating files: 38% (5774/14882)\rUpdating files: 39% (5804/14882)\rUpdating files: 39% (5830/14882)\rUpdating files: 40% (5953/14882)\rUpdating files: 40% (5958/14882)\rUpdating files: 41% (6102/14882)\rUpdating files: 41% (6190/14882)\rUpdating files: 41% (6192/14882)\rUpdating files: 42% (6251/14882)\rUpdating files: 42% (6279/14882)\rUpdating files: 43% (6400/14882)\rUpdating files: 44% (6549/14882)\rUpdating files: 45% (6697/14882)\rUpdating files: 45% (6703/14882)\rUpdating files: 46% (6846/14882)\rUpdating files: 47% (6995/14882)\rUpdating files: 48% (7144/14882)\rUpdating files: 49% (7293/14882)\rUpdating files: 50% (7441/14882)\rUpdating files: 51% (7590/14882)\rUpdating files: 51% (7612/14882)\rUpdating files: 52% (7739/14882)\rUpdating files: 53% (7888/14882)\rUpdating files: 54% (8037/14882)\rUpdating files: 55% (8186/14882)\rUpdating files: 55% (8331/14882)\rUpdating files: 56% (8334/14882)\rUpdating files: 56% (8386/14882)\rUpdating files: 57% (8483/14882)\rUpdating files: 57% (8567/14882)\rUpdating files: 58% (8632/14882)\rUpdating files: 59% (8781/14882)\rUpdating files: 60% (8930/14882)\rUpdating files: 61% (9079/14882)\rUpdating files: 61% (9149/14882)\rUpdating files: 62% (9227/14882)\rUpdating files: 63% (9376/14882)\rUpdating files: 64% (9525/14882)\rUpdating files: 65% (9674/14882)\rUpdating files: 66% (9823/14882)\rUpdating files: 67% (9971/14882)\rUpdating files: 67% (10044/14882)\rUpdating files: 68% (10120/14882)\rUpdating files: 69% (10269/14882)\rUpdating files: 70% (10418/14882)\rUpdating files: 71% (10567/14882)\rUpdating files: 72% (10716/14882)\rUpdating files: 73% (10864/14882)\rUpdating files: 74% (11013/14882)\rUpdating files: 74% (11134/14882)\rUpdating files: 75% (11162/14882)\rUpdating files: 76% (11311/14882)\rUpdating files: 77% (11460/14882)\rUpdating files: 78% (11608/14882)\rUpdating files: 78% (11668/14882)\rUpdating files: 79% (11757/14882)\rUpdating files: 80% (11906/14882)\rUpdating files: 81% (12055/14882)\rUpdating files: 82% (12204/14882)\rUpdating files: 83% (12353/14882)\rUpdating files: 84% (12501/14882)\rUpdating files: 85% (12650/14882)\rUpdating files: 85% (12742/14882)\rUpdating files: 86% (12799/14882)\rUpdating files: 87% (12948/14882)\rUpdating files: 88% (13097/14882)\rUpdating files: 89% (13245/14882)\rUpdating files: 90% (13394/14882)\rUpdating files: 91% (13543/14882)\rUpdating files: 92% (13692/14882)\rUpdating files: 93% (13841/14882)\rUpdating files: 94% (13990/14882)\rUpdating files: 94% (13998/14882)\rUpdating files: 95% (14138/14882)\rUpdating files: 96% (14287/14882)\rUpdating files: 97% (14436/14882)\rUpdating files: 98% (14585/14882)\rUpdating files: 99% (14734/14882)\rUpdating files: 100% (14882/14882)\rUpdating files: 100% (14882/14882), done.\n\n at \dist\extension.js:2:1424988\n at ChildProcess.exithandler (node:child_process:415:7)\n at ChildProcess.emit (node:events:519:28)\n at maybeClose (node:internal/child_process:1105:16)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-09-29T20:56:17.887Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n at \dist\extension.js:2:1424988\n at ChildProcess.exithandler (node:child_process:415:7)\n at ChildProcess.emit (node:events:519:28)\n at maybeClose (node:internal/child_process:1105:16)\n at Socket. (node:internal/child_process:457:11)\n at Socket.emit (node:events:519:28)\n at Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-29T20:59:30.618Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n at \dist\extension.js:2:1424988\n at ChildProcess.exithandler (node:child_process:415:7)\n at ChildProcess.emit (node:events:519:28)\n at maybeClose (node:internal/child_process:1105:16)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-09-29T20:59:31.724Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n at \dist\extension.js:2:1424988\n at ChildProcess.exithandler (node:child_process:415:7)\n at ChildProcess.emit (node:events:519:28)\n at maybeClose (node:internal/child_process:1105:16)\n at Socket. (node:internal/child_process:457:11)\n at Socket.emit (node:events:519:28)\n at Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-29T22:04:06.519Z"}
{"message":"non zero exit code 2\r\n\r\nCMakeLists.txt not found in project directory C:\Users\Ya\repos\data-tools\r\nAdding "set-target"'s dependency "fullclean" to list of commands with default set of options.\r\nExecuting action: fullclean\r\nBuild directory 'C:\Users\Ya\repos\data-tools\build' not found. Nothing to clean.\r\nExecuting action: set-target\r\nSet Target to: esp32s3, new sdkconfig will be created.\r\n","stack":"Error: non zero exit code 2\r\n\r\nCMakeLists.txt not found in project directory C:\Users\Ya\repos\data-tools\r\nAdding "set-target"'s dependency "fullclean" to list of commands with default set of options.\r\nExecuting action: fullclean\r\nBuild directory 'C:\Users\Ya\repos\data-tools\build' not found. Nothing to clean.\r\nExecuting action: set-target\r\nSet Target to: esp32s3, new sdkconfig will be created.\r\n\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-29T22:04:25.771Z"}
{"errorMessage":"[Telemetry]: Failed to sendException","stack":"TypeError: i.replace is not a function\n at ui.anonymizeFilePaths (c:\Users\Ya\.vscode\extensions\espressif.esp-idf-extension-1.8.1\dist\extension.js:2:383171)\n at c:\Users\Ya\.vscode\extensions\espressif.esp-idf-extension-1.8.1\dist\extension.js:2:384822\n at ui.cloneAndChange (c:\Users\Ya\.vscode\extensions\espressif.esp-idf-extension-1.8.1\dist\extension.js:2:381377)\n at ui.sendTelemetryException (c:\Users\Ya\.vscode\extensions\espressif.esp-idf-extension-1.8.1\dist\extension.js:2:384792)\n at Function.sendException (c:\Users\Ya\.vscode\extensions\espressif.esp-idf-extension-1.8.1\dist\extension.js:2:1376460)\n at Function.error (c:\Users\Ya\.vscode\extensions\espressif.esp-idf-extension-1.8.1\dist\extension.js:2:1377398)\n at Function.errorNotify (c:\Users\Ya\.vscode\extensions\espressif.esp-idf-extension-1.8.1\dist\extension.js:2:1377342)\n at c:\Users\Ya\.vscode\extensions\espressif.esp-idf-extension-1.8.1\dist\extension.js:2:1853767\n at processTicksAndRejections (node:internal/process/task_queues:95:5)","level":"error","message":"Failed to sendException","timestamp":"2024-09-29T22:04:25.772Z"}
{"user":true,"message":"Error: non zero exit code 2\r\n\r\nCMakeLists.txt not found in project directory C:\Users\Ya\repos\data-tools\r\nAdding "set-target"'s dependency "fullclean" to list of commands with default set of options.\r\nExecuting action: fullclean\r\nBuild directory 'C:\Users\Ya\repos\data-tools\build' not found. Nothing to clean.\r\nExecuting action: set-target\r\nSet Target to: esp32s3, new sdkconfig will be created.\r\n\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","stack":"Error: non zero exit code 2\r\n\r\nCMakeLists.txt not found in project directory C:\Users\Ya\repos\data-tools\r\nAdding "set-target"'s dependency "fullclean" to list of commands with default set of options.\r\nExecuting action: fullclean\r\nBuild directory 'C:\Users\Ya\repos\data-tools\build' not found. Nothing to clean.\r\nExecuting action: set-target\r\nSet Target to: esp32s3, new sdkconfig will be created.\r\n\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-29T22:04:25.772Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM1\r\nConnecting........","stack":"Error: non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM1\r\nConnecting........\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:34:42.736Z"}
{"message":"non zero exit code null\r\n\r\n","stack":"Error: non zero exit code null\r\n\r\n\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:34:42.739Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM4\r\nConnecting...","stack":"Error: non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM4\r\nConnecting...\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:34:42.750Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM6\r\nConnecting........","stack":"Error: non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM6\r\nConnecting........\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:34:42.752Z"}
{"message":"non zero exit code 2\r\n\r\nespefuse.py v4.8.1\r\nConnecting......................................\r\n\r\nA fatal error occurred: Failed to connect to Espressif device: No serial data received.\r\nFor troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html\r\nPlease make sure that you have specified the right port with the --port argument\r\n","stack":"Error: non zero exit code 2\r\n\r\nespefuse.py v4.8.1\r\nConnecting......................................\r\n\r\nA fatal error occurred: Failed to connect to Espressif device: No serial data received.\r\nFor troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html\r\nPlease make sure that you have specified the right port with the --port argument\r\n\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:35:00.042Z"}
{"user":true,"message":"Failed to get the eFuse Summary from the chip, please make sure you have selected a valid port","stack":"Error: non zero exit code 2\r\n\r\nespefuse.py v4.8.1\r\nConnecting......................................\r\n\r\nA fatal error occurred: Failed to connect to Espressif device: No serial data received.\r\nFor troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html\r\nPlease make sure that you have specified the right port with the --port argument\r\n\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:35:00.042Z"}
{"message":"non zero exit code null\r\n\r\n","stack":"Error: non zero exit code null\r\n\r\n\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:35:40.097Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM1\r\nConnecting........","stack":"Error: non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM1\r\nConnecting........\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:35:40.098Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM6\r\nConnecting..........","stack":"Error: non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM6\r\nConnecting..........\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:35:40.098Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM4\r\nConnecting...","stack":"Error: non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM4\r\nConnecting...\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:35:40.098Z"}
{"message":"non zero exit code 2\r\n\r\nesptool.py v4.8.1\r\nSerial port COM1\r\n\r\nA fatal error occurred: Could not open COM1, the port is busy or doesn't exist.\r\n(could not open port 'COM1': PermissionError(13, 'Access is denied.', None, 5))\r\n\r\nHint: Check if the port is not used by another task\r\n\r\n","stack":"Error: non zero exit code 2\r\n\r\nesptool.py v4.8.1\r\nSerial port COM1\r\n\r\nA fatal error occurred: Could not open COM1, the port is busy or doesn't exist.\r\n(could not open port 'COM1': PermissionError(13, 'Access is denied.', None, 5))\r\n\r\nHint: Check if the port is not used by another task\r\n\r\n\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:35:45.664Z"}
{"message":"non zero exit code 2\r\n\r\nesptool.py v4.8.1\r\nSerial port COM4\r\n\r\nA fatal error occurred: Could not open COM4, the port is busy or doesn't exist.\r\n(could not open port 'COM4': PermissionError(13, 'Access is denied.', None, 5))\r\n\r\nHint: Check if the port is not used by another task\r\n\r\n","stack":"Error: non zero exit code 2\r\n\r\nesptool.py v4.8.1\r\nSerial port COM4\r\n\r\nA fatal error occurred: Could not open COM4, the port is busy or doesn't exist.\r\n(could not open port 'COM4': PermissionError(13, 'Access is denied.', None, 5))\r\n\r\nHint: Check if the port is not used by another task\r\n\r\n\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:35:45.670Z"}
{"message":"non zero exit code null\r\n\r\n","stack":"Error: non zero exit code null\r\n\r\n\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:35:47.275Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM6\r\nConnecting.........","stack":"Error: non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM6\r\nConnecting.........\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:35:47.275Z"}
{"message":"non zero exit code 2\r\n\r\nespefuse.py v4.8.1\r\nConnecting......................................\r\n\r\nA fatal error occurred: Failed to connect to Espressif device: Invalid head of packet (0x1B): Possible serial noise or corruption.\r\nFor troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html\r\nPlease make sure that you have specified the right port with the --port argument\r\n","stack":"Error: non zero exit code 2\r\n\r\nespefuse.py v4.8.1\r\nConnecting......................................\r\n\r\nA fatal error occurred: Failed to connect to Espressif device: Invalid head of packet (0x1B): Possible serial noise or corruption.\r\nFor troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html\r\nPlease make sure that you have specified the right port with the --port argument\r\n\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:36:01.694Z"}
{"user":true,"message":"Failed to get the eFuse Summary from the chip, please make sure you have selected a valid port","stack":"Error: non zero exit code 2\r\n\r\nespefuse.py v4.8.1\r\nConnecting......................................\r\n\r\nA fatal error occurred: Failed to connect to Espressif device: Invalid head of packet (0x1B): Possible serial noise or corruption.\r\nFor troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html\r\nPlease make sure that you have specified the right port with the --port argument\r\n\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:36:01.694Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n at \dist\extension.js:2:1424988\n at ChildProcess.exithandler (node:child_process:415:7)\n at ChildProcess.emit (node:events:519:28)\n at maybeClose (node:internal/child_process:1105:16)\n at Socket. (node:internal/child_process:457:11)\n at Socket.emit (node:events:519:28)\n at Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-30T00:40:14.950Z"}
{"message":"Cannot access filePath: c:\Users\Ya\repos\espressif_test\CMakeLists.txt","stack":"Error: ENOENT: no such file or directory, access 'c:\Users\Ya\repos\espressif_test\CMakeLists.txt'\n at Object.accessSync (node:fs:246:11)\n at Object.t.accessSync (node:electron/js2c/node_init:2:9017)\n at Se (\dist\extension.js:2:1421806)\n at \dist\extension.js:2:1423483\n at Re (\dist\extension.js:2:1423669)\n at me (\dist\extension.js:2:1419181)\n at mp (\dist\extension.js:2:1816764)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at m.n (\out\vs\workbench\api\node\extensionHostProcess.js:151:6409)\n at m (\out\vs\workbench\api\node\extensionHostProcess.js:151:6372)\n at m.l (\out\vs\workbench\api\node\extensionHostProcess.js:151:5829)","level":"error","timestamp":"2024-09-30T00:40:16.139Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n at \dist\extension.js:2:1424988\n at ChildProcess.exithandler (node:child_process:415:7)\n at ChildProcess.emit (node:events:519:28)\n at maybeClose (node:internal/child_process:1105:16)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-09-30T00:40:16.484Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM1\r\nConnecting........","stack":"Error: non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM1\r\nConnecting........\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:40:20.428Z"}
{"message":"non zero exit code null\r\n\r\n","stack":"Error: non zero exit code null\r\n\r\n\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:40:20.442Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM4\r\nConnecting...","stack":"Error: non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM4\r\nConnecting...\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:40:20.443Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM6\r\nConnecting.........","stack":"Error: non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM6\r\nConnecting.........\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-30T00:40:20.458Z"}
{"user":true,"message":"Build is required before Flashing, c:\Users\Ya\repos\espressif_test\build can't be accessed","stack":"Error: BUILD_PATH_ACCESS_ERROR\n at ya (\dist\extension.js:2:1669198)\n at Ep (\dist\extension.js:2:1892035)\n at \dist\extension.js:2:1890418","level":"error","timestamp":"2024-09-30T00:43:25.589Z"}
{"user":true,"message":"Something went wrong while trying to build the project","stack":"Error: Task ESP-IDF Compile exited with code 1\n at \dist\extension.js:2:1554509\n at i.value (\out\vs\workbench\api\node\extensionHostProcess.js:171:28704)\n at r.B (\out\vs\workbench\api\node\extensionHostProcess.js:90:732)\n at r.fire (\out\vs\workbench\api\node\extensionHostProcess.js:90:949)\n at i.$onDidEndTaskProcess (\out\vs\workbench\api\node\extensionHostProcess.js:164:61587)","level":"error","timestamp":"2024-09-30T00:44:14.595Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n at \dist\extension.js:2:1424988\n at ChildProcess.exithandler (node:child_process:415:7)\n at ChildProcess.emit (node:events:519:28)\n at maybeClose (node:internal/child_process:1105:16)\n at Socket. (node:internal/child_process:457:11)\n at Socket.emit (node:events:519:28)\n at Pipe. (node:net:338:12)","level":"error","timestamp":"2024-10-01T12:53:32.195Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n at \dist\extension.js:2:1424988\n at ChildProcess.exithandler (node:child_process:415:7)\n at ChildProcess.emit (node:events:519:28)\n at maybeClose (node:internal/child_process:1105:16)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-10-01T12:53:34.326Z"}
{"message":"non zero exit code null\r\n\r\n","stack":"Error: non zero exit code null\r\n\r\n\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-10-01T12:53:38.571Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM1\r\nConnecting........","stack":"Error: non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM1\r\nConnecting........\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-10-01T12:53:38.571Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM6\r\nConnecting.............","stack":"Error: non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM6\r\nConnecting.............\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-10-01T12:53:38.585Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM4\r\nConnecting...","stack":"Error: non zero exit code null\r\n\r\nesptool.py v4.8.1\r\nSerial port COM4\r\nConnecting...\n at ChildProcess. (\dist\extension.js:2:1421636)\n at ChildProcess.emit (node:events:519:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-10-01T12:53:38.586Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n\tat \dist\extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-10-01T12:54:25.116Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n\tat \dist\extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-10-01T12:54:26.315Z"}
{"user":true,"message":"Something went wrong while trying to build the project","stack":"Error: Task ESP-IDF Compile exited with code 1\n at \dist\extension.js:2:1554509\n at i.value (\out\vs\workbench\api\node\extensionHostProcess.js:171:28704)\n at r.B (\out\vs\workbench\api\node\extensionHostProcess.js:90:732)\n at r.fire (\out\vs\workbench\api\node\extensionHostProcess.js:90:949)\n at i.$onDidEndTaskProcess (\out\vs\workbench\api\node\extensionHostProcess.js:164:61587)","level":"error","timestamp":"2024-10-01T12:55:32.354Z"}
{"user":true,"message":"Something went wrong while trying to build the project","stack":"Error: Task ESP-IDF Build exited with code 1\n at \dist\extension.js:2:1554509\n at i.value (\out\vs\workbench\api\node\extensionHostProcess.js:171:28704)\n at r.B (\out\vs\workbench\api\node\extensionHostProcess.js:90:732)\n at r.fire (\out\vs\workbench\api\node\extensionHostProcess.js:90:949)\n at i.$onDidEndTaskProcess (\out\vs\workbench\api\node\extensionHostProcess.js:164:61587)","level":"error","timestamp":"2024-10-01T12:57:20.049Z"}
{"user":true,"message":"Build is required, .bin files can't be accessed","stack":"Error: Build is required, .bin files can't be accessed\n at \dist\extension.js:2:1677427\n at ka (\dist\extension.js:2:1677159)\n at \dist\extension.js:2:1865593","level":"error","timestamp":"2024-10-01T12:58:06.176Z"}
{"message":"Cannot access filePath: ${env:ADF_PATH}","stack":"Error: ENOENT: no such file or directory, access 'C:\Program Files\Microsoft VS Code\${env:ADF_PATH}'\n at Object.accessSync (node:fs:246:11)\n at Object.t.accessSync (node:electron/js2c/node_init:2:9017)\n at Se (\dist\extension.js:2:1421806)\n at \dist\extension.js:2:1650824\n at ua (\dist\extension.js:2:1651892)\n at \dist\extension.js:2:1868405","level":"error","timestamp":"2024-10-01T13:01:47.293Z"}
{"message":"Cannot access filePath: ${env:MDF_PATH}","stack":"Error: ENOENT: no such file or directory, access 'C:\Program Files\Microsoft VS Code\${env:MDF_PATH}'\n at Object.accessSync (node:fs:246:11)\n at Object.t.accessSync (node:electron/js2c/node_init:2:9017)\n at Se (\dist\extension.js:2:1421806)\n at \dist\extension.js:2:1651002\n at ua (\dist\extension.js:2:1651892)\n at \dist\extension.js:2:1868405","level":"error","timestamp":"2024-10-01T13:01:47.294Z"}
{"message":"Cannot access filePath: ${env:ESP_MATTER_PATH}","stack":"Error: ENOENT: no such file or directory, access 'C:\Program Files\Microsoft VS Code\${env:ESP_MATTER_PATH}'\n at Object.accessSync (node:fs:246:11)\n at Object.t.accessSync (node:electron/js2c/node_init:2:9017)\n at Se (\dist\extension.js:2:1421806)\n at \dist\extension.js:2:1651094\n at ua (\dist\extension.js:2:1651892)\n at \dist\extension.js:2:1868405","level":"error","timestamp":"2024-10-01T13:01:47.295Z"}
{"message":"Cannot access filePath: ${env:HOMEKIT_PATH}","stack":"Error: ENOENT: no such file or directory, access 'C:\Program Files\Microsoft VS Code\${env:HOMEKIT_PATH}'\n at Object.accessSync (node:fs:246:11)\n at Object.t.accessSync (node:electron/js2c/node_init:2:9017)\n at Se (\dist\extension.js:2:1421806)\n at \dist\extension.js:2:1651190\n at ua (\dist\extension.js:2:1651892)\n at \dist\extension.js:2:1868405","level":"error","timestamp":"2024-10-01T13:01:47.296Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n at \dist\extension.js:2:1424988\n at ChildProcess.exithandler (node:child_process:415:7)\n at ChildProcess.emit (node:events:519:28)\n at maybeClose (node:internal/child_process:1105:16)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-10-01T13:01:48.978Z"}


Extension

No response

Description

I've just installed the IDF extension into VSCode and went through the standard setup procedure and created an example project from the Unity template. First go around I'm given the error:

CMake Error at C:/Users/Ya/esp/v5.3.1/esp-idf/tools/cmake/project.cmake:465 (message):
  Directory specified in EXTRA_COMPONENT_DIRS doesn't exist:
  C:/Users/Ya/repos/components
Call Stack (most recent call first):
  C:/Users/Ya/esp/v5.3.1/esp-idf/tools/cmake/project.cmake:549 (__project_init)
  CMakeLists.txt:13 (project)

so i realize I don't have a components dir so I add one and also change it's location in the CMakeLists.txt. Not sure why the default settings don't work here. Once I've done that, the project still doesn't build but now with a different error that I can't seem to figure out:

ninja: error: loading 'build.ninja': The system cannot find the file specified.

This is about as fresh an installation as it get's yet the extension doesn't seem to have configured itself correctly, which seems like a bug so I'm opening an issue here.

Debug Message

N/A

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@yamaan93 yamaan93 added the bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue) label Oct 1, 2024
@github-actions github-actions bot changed the title ESP-IDF Extension does not work correctly with fresh install ESP-IDF Extension does not work correctly with fresh install (VSC-1499) Oct 1, 2024
@radurentea radurentea self-assigned this Oct 7, 2024
@radurentea
Copy link
Collaborator

radurentea commented Oct 7, 2024

Hi @yamaan93,

Unfortunately, the unity example is not being maintained. To fix your issues, you should change the default value from CmakeLists.txt to set(EXTRA_COMPONENT_DIRS "")

The second error is because the components folder you've created is empty, so setting to the value I've recommended above, should solve it.

Let me know if you have any other questions!

L.E:
I suggest you to use the examples for esp-idf, there is a dropdown menu from which you can choose them:
image

Or by using the command ESP-IDF: Show Examples Projects from Command Palette (CTRL + SHIFT + P)

The examples you were seeing by default are used as boilerplates. We are planning to change the defaults examples that are being displayed so this confusion won't occur again.

@brianignacio5 brianignacio5 changed the title ESP-IDF Extension does not work correctly with fresh install (VSC-1499) Using unity template with fresh install from examples command (VSC-1499) Oct 23, 2024
@radurentea
Copy link
Collaborator

Hi @yamaan93,

I'm following up on this issue. Since there hasn't been any activity for 2 weeks and the solution was provided, I'll proceed to close this issue.

If you've found the solution helpful and are using our ESP-IDF extension, we'd greatly appreciate if you could rate your experience on the VS Code Marketplace. Your feedback helps us improve the extension for the entire community.

If you run into any other issues, feel free to open a new issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
Projects
None yet
Development

No branches or pull requests

2 participants