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

ERROR: Cannot establish a connection to the component registry (IDFGH-13366) (PACMAN-947) #69

Closed
3 tasks done
Oleg-Perevyshin opened this issue Jul 31, 2024 · 13 comments
Closed
3 tasks done

Comments

@Oleg-Perevyshin
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

ESP-IDF v 5.3.0

Operating System used.

Windows

How did you build your project?

VS Code IDE

If you are using Windows, please specify command line type.

None

What is the expected behavior?

The project from the examples should come together

What is the actual behavior?

Anything related to the component registry is not collected

Steps to reproduce.

  1. New Project Wizard
  2. I choose a project from examples (blink)
  3. I'm trying to put together a project

Build or installation Logs.

*  Выполнение задачи: c:\Users\perevyshin_oe\.espressif\tools\cmake\3.24.0\bin\cmake.exe -G=Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B=e:\_ESP_\BaseESP\blink\build -S=e:\_ESP_\BaseESP\blink 

-- Found Git: C:/Users/perevyshin_oe/.espressif/tools/idf-git/2.39.2/cmd/git.exe (found version "2.39.2.windows.1") 
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/perevyshin_oe/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Users/perevyshin_oe/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Users/perevyshin_oe/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Could not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
Dependencies lock doesn't exist, solving dependencies.
CMake Error at C:/Users/perevyshin_oe/esp/v5.3/esp-idf/tools/cmake/build.cmake:552 (message):
  ERROR: Cannot establish a connection to the component registry.  Are you
  connected to the internet?

  URL:
  https://components-file.espressif.com/components/espressif/led_strip.json

Call Stack (most recent call first):
  C:/Users/perevyshin_oe/esp/v5.3/esp-idf/tools/cmake/project.cmake:710 (idf_build_process)
  CMakeLists.txt:6 (project)


-- Configuring incomplete, errors occurred!
See also "E:/_ESP_/BaseESP/blink/build/CMakeFiles/CMakeOutput.log".

 *  Процесс терминала "c:\Users\perevyshin_oe\.espressif\tools\cmake\3.24.0\bin\cmake.exe '-G=Ninja', '-DPYTHON_DEPS_CHECKED=1', '-DESP_PLATFORM=1', '-B=e:\_ESP_\BaseESP\blink\build', '-S=e:\_ESP_\BaseESP\blink'" был завершен с кодом выхода 1

More Information.

The project does not build if there is at least one component from the component registry.
The component can be accessed via a browser:
https://components-file.espressif.com/components/espressif/led_strip.json

@github-actions github-actions bot changed the title ERROR: Cannot establish a connection to the component registry ERROR: Cannot establish a connection to the component registry (IDFGH-13366) Jul 31, 2024
@igrr igrr transferred this issue from espressif/esp-idf Jul 31, 2024
@github-actions github-actions bot changed the title ERROR: Cannot establish a connection to the component registry (IDFGH-13366) ERROR: Cannot establish a connection to the component registry (IDFGH-13366) (PACMAN-947) Jul 31, 2024
@kumekay
Copy link
Collaborator

kumekay commented Aug 1, 2024

Hello @Oleg-Perevyshin

Could you please try temporary disabling TLS validation by setting the environment variable
IDF_COMPONENT_VERIFY_SSL to 0 and trying to run the command again:

Please open ESP-IDF: Open ESP-IDF Terminal in VSCode and then run

$env:IDF_COMPONENT_VERIFY_SSL = "0"
cd e:\_ESP_\BaseESP\blink
idf.py build

Similar issue (not necessary connected to your case): #27

@Oleg-Perevyshin
Copy link
Author

It doesn't work
The file ninja.exe is present in the path C:\Users\perevyshin_oe.espressif\tools\ninja\1.11.1
Unclear symbols mean - The specified file cannot be found

 *  Выполнение задачи: C:\Users\perevyshin_oe\.espressif\tools\ninja\1.11.1\ninja.exe  

ninja: error: loading 'build.ninja': ╨Э╨╡ ╤Г╨┤╨░╨╡╤В╤Б╤П ╨╜╨░╨╣╤В╨╕ ╤Г╨║╨░╨╖╨░╨╜╨╜╤Л╨╣ ╤Д╨░╨╣╨╗.


 *  Процесс терминала "C:\Users\perevyshin_oe\.espressif\tools\ninja\1.11.1\ninja.exe" был завершен с кодом выхода 1. 

@Oleg-Perevyshin
Copy link
Author

Some miracles.
Reinstalled the extension and all packages from scratch. (Windows 11)

CMakeError.log
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: xtensa-esp32-elf-gcc 
Build flags: -mlongcalls;-Wno-frame-address;;-fno-builtin-memcpy;-fno-builtin-memset;-fno-builtin-bzero;-fno-builtin-stpcpy;-fno-builtin-strncpy
Id flags:  

The output was:
Не удается найти указанный файл


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: xtensa-esp32-elf-gcc 
Build flags: -mlongcalls;-Wno-frame-address;;-fno-builtin-memcpy;-fno-builtin-memset;-fno-builtin-bzero;-fno-builtin-stpcpy;-fno-builtin-strncpy
Id flags: -c 

The output was:
Не удается найти указанный файл


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: xtensa-esp32-elf-gcc 
Build flags: -mlongcalls;-Wno-frame-address;;-fno-builtin-memcpy;-fno-builtin-memset;-fno-builtin-bzero;-fno-builtin-stpcpy;-fno-builtin-strncpy
Id flags: -Aa 

The output was:
Не удается найти указанный файл


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: xtensa-esp32-elf-gcc 
Build flags: -mlongcalls;-Wno-frame-address;;-fno-builtin-memcpy;-fno-builtin-memset;-fno-builtin-bzero;-fno-builtin-stpcpy;-fno-builtin-strncpy
Id flags: -D__CLASSIC_C__ 

The output was:
Не удается найти указанный файл


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: xtensa-esp32-elf-gcc 
Build flags: -mlongcalls;-Wno-frame-address;;-fno-builtin-memcpy;-fno-builtin-memset;-fno-builtin-bzero;-fno-builtin-stpcpy;-fno-builtin-strncpy
Id flags: --target=arm-arm-none-eabi;-mcpu=cortex-m3 

The output was:
Не удается найти указанный файл


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: xtensa-esp32-elf-gcc 
Build flags: -mlongcalls;-Wno-frame-address;;-fno-builtin-memcpy;-fno-builtin-memset;-fno-builtin-bzero;-fno-builtin-stpcpy;-fno-builtin-strncpy
Id flags: -c;-I__does_not_exist__ 

The output was:
Не удается найти указанный файл


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: xtensa-esp32-elf-gcc 
Build flags: 
Id flags:  

The output was:
Не удается найти указанный файл


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: xtensa-esp32-elf-gcc 
Build flags: 
Id flags: -c 

The output was:
Не удается найти указанный файл


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: xtensa-esp32-elf-gcc 
Build flags: 
Id flags: -Aa 

The output was:
Не удается найти указанный файл


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: xtensa-esp32-elf-gcc 
Build flags: 
Id flags: -D__CLASSIC_C__ 

The output was:
Не удается найти указанный файл


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: xtensa-esp32-elf-gcc 
Build flags: 
Id flags: --target=arm-arm-none-eabi;-mcpu=cortex-m3 

The output was:
Не удается найти указанный файл


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: xtensa-esp32-elf-gcc 
Build flags: 
Id flags: -c;-I__does_not_exist__ 

The output was:
Не удается найти указанный файл


Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: xtensa-esp32-elf-g++ 
Build flags: -mlongcalls;-Wno-frame-address;;-fno-builtin-memcpy;-fno-builtin-memset;-fno-builtin-bzero;-fno-builtin-stpcpy;-fno-builtin-strncpy
Id flags:  

The output was:
Не удается найти указанный файл


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: xtensa-esp32-elf-g++ 
Build flags: -mlongcalls;-Wno-frame-address;;-fno-builtin-memcpy;-fno-builtin-memset;-fno-builtin-bzero;-fno-builtin-stpcpy;-fno-builtin-strncpy
Id flags: -c 

The output was:
Не удается найти указанный файл


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: xtensa-esp32-elf-g++ 
Build flags: -mlongcalls;-Wno-frame-address;;-fno-builtin-memcpy;-fno-builtin-memset;-fno-builtin-bzero;-fno-builtin-stpcpy;-fno-builtin-strncpy
Id flags: --c++ 

The output was:
Не удается найти указанный файл


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: xtensa-esp32-elf-g++ 
Build flags: -mlongcalls;-Wno-frame-address;;-fno-builtin-memcpy;-fno-builtin-memset;-fno-builtin-bzero;-fno-builtin-stpcpy;-fno-builtin-strncpy
Id flags: --ec++ 

The output was:
Не удается найти указанный файл


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: xtensa-esp32-elf-g++ 
Build flags: -mlongcalls;-Wno-frame-address;;-fno-builtin-memcpy;-fno-builtin-memset;-fno-builtin-bzero;-fno-builtin-stpcpy;-fno-builtin-strncpy
Id flags: --target=arm-arm-none-eabi;-mcpu=cortex-m3 

The output was:
Не удается найти указанный файл


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: xtensa-esp32-elf-g++ 
Build flags: -mlongcalls;-Wno-frame-address;;-fno-builtin-memcpy;-fno-builtin-memset;-fno-builtin-bzero;-fno-builtin-stpcpy;-fno-builtin-strncpy
Id flags: -c;-I__does_not_exist__ 

The output was:
Не удается найти указанный файл


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: xtensa-esp32-elf-g++ 
Build flags: 
Id flags:  

The output was:
Не удается найти указанный файл


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: xtensa-esp32-elf-g++ 
Build flags: 
Id flags: -c 

The output was:
Не удается найти указанный файл


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: xtensa-esp32-elf-g++ 
Build flags: 
Id flags: --c++ 

The output was:
Не удается найти указанный файл


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: xtensa-esp32-elf-g++ 
Build flags: 
Id flags: --ec++ 

The output was:
Не удается найти указанный файл


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: xtensa-esp32-elf-g++ 
Build flags: 
Id flags: --target=arm-arm-none-eabi;-mcpu=cortex-m3 

The output was:
Не удается найти указанный файл


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: xtensa-esp32-elf-g++ 
Build flags: 
Id flags: -c;-I__does_not_exist__ 

The output was:
Не удается найти указанный файл


Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
Checking whether the ASM compiler is Clang using "--version" did not match "(clang version)":
Checking whether the ASM compiler is AppleClang using "--version" did not match "(Apple LLVM version)":
Checking whether the ASM compiler is ARMClang using "--version" did not match "armclang":
Checking whether the ASM compiler is HP using "-V" did not match "HP C":
Checking whether the ASM compiler is Intel using "--version" did not match "(ICC)":
Checking whether the ASM compiler is IntelLLVM using "--version" did not match "(Intel[^
]+oneAPI)":
Checking whether the ASM compiler is SunPro using "-V" did not match "Sun C":
Checking whether the ASM compiler is XL using "-qversion" did not match "XL C":
Checking whether the ASM compiler is MSVC using "-?" did not match "Microsoft":
Checking whether the ASM compiler is TI using "-h" did not match "Texas Instruments":
Checking whether the ASM compiler is IAR using "" did not match "IAR Assembler":
Checking whether the ASM compiler is ARMCC using "" did not match "(ARM Compiler)|(ARM Assembler)|(Arm Compiler)":
Checking whether the ASM compiler is NASM using "-v" did not match "(NASM version)":
Checking whether the ASM compiler is YASM using "--version" did not match "(yasm)":
Checking whether the ASM compiler is ADSP using "-version" did not match "Analog Devices":
Checking whether the ASM compiler is QCC using "-V" did not match "gcc_nto":

@kumekay
Copy link
Collaborator

kumekay commented Aug 19, 2024

Hi @Oleg-Perevyshin

It looks like this issue is not related to the component manager, but something is wrong with your installation. @brianignacio5 Could you please take a look?

@brianignacio5
Copy link

I would suggest to delete the build directory entirely and try again.

To check if the esp-idf vscode extension is ok please share the ESP-IDF: Doctor Command output as described in https://github.com/espressif/vscode-esp-idf-extension/blob/master/README.md#Troubleshooting

You can add an item IDF_COMPONENT_VERIFY_SSL and set value to 0 in the vscode settings UI Idf: Custom Extra Vars so that the build task can pick this value.

@Oleg-Perevyshin
Copy link
Author

I completely reinstalled the extension and all packages. I deleted everything beforehand.
I tried the ESP-IDF command: Doctor Command

report.txt
---------------------------------------------- ESP-IDF Extension for Visual Studio Code report ---------------------------------------------
OS win32 x64 10.0.22621 
System environment variable IDF_PYTHON_ENV_PATH 
 undefined 
System environment variable PATH 
 C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft VS Code\bin;C:<HOMEPATH>\esp\v5.3\esp-idf\tools;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:<HOMEPATH>\.espressif\tools\ninja\1.11.1;C:<HOMEPATH>\AppData\Local\GitHubDesktop\bin;C:<HOMEPATH>\AppData\Roaming\npm;C:<HOMEPATH>\.espressif\tools\cmake\3.24.0\bin; 
System environment variable PYTHON 
 undefined 
Visual Studio Code version 1.92.2 
Visual Studio Code language ru 
Visual Studio Code shell C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe 
ESP-IDF Extension version 1.8.0 
Workspace folder e:\ESP-Basic 
---------------------------------------------------- Extension configuration settings ------------------------------------------------------
ESP-ADF Path (idf.espAdfPath) ${env:ADF_PATH}
ESP-IDF Path (idf.espIdfPath) C:<HOMEPATH>\esp\v5.3\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:<HOMEPATH>\.espressif\tools\xtensa-esp-elf-gdb\14.2_20240403\xtensa-esp-elf-gdb\bin;C:<HOMEPATH>\.espressif\tools\riscv32-esp-elf-gdb\14.2_20240403\riscv32-esp-elf-gdb\bin;C:<HOMEPATH>\.espressif\tools\xtensa-esp-elf\esp-13.2.0_20240530\xtensa-esp-elf\bin;C:<HOMEPATH>\.espressif\tools\riscv32-esp-elf\esp-13.2.0_20240530\riscv32-esp-elf\bin;C:<HOMEPATH>\.espressif\tools\esp32ulp-elf\2.38_20240113\esp32ulp-elf\bin;C:<HOMEPATH>\.espressif\tools\cmake\3.24.0\bin;C:<HOMEPATH>\.espressif\tools\openocd-esp32\v0.12.0-esp32-20240318\openocd-esp32\bin;C:<HOMEPATH>\.espressif\tools\ninja\1.11.1;C:<HOMEPATH>\.espressif\tools\idf-exe\1.0.3;C:<HOMEPATH>\.espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64;C:<HOMEPATH>\.espressif\tools\dfu-util\0.11\dfu-util-0.11-win64;C:<HOMEPATH>\.espressif\tools\esp-rom-elfs\20240305
Custom extra vars (idf.customExtraVars)
    OPENOCD_SCRIPTS: C:<HOMEPATH>\.espressif\tools\openocd-esp32\v0.12.0-esp32-20240318/openocd-esp32/share/openocd/scripts
    IDF_CCACHE_ENABLE: 1
    ESP_ROM_ELF_DIR: C:<HOMEPATH>\.espressif\tools\esp-rom-elfs\20240305/
Virtual env Python Path (idf.pythonBinPath) C:<HOMEPATH>\.espressif\python_env\idf5.3_py3.11_env\Scripts\python.exe
Serial port (idf.port) COM8
OpenOCD Configs (idf.openOcdConfigs) interface/ftdi/esp32_devkitj_v1.cfg,target/esp32.cfg
ESP-IDF Tools Path (idf.toolsPath) C:<HOMEPATH>\.espressif
Git Path (idf.gitPath) C:<HOMEPATH>\.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:<HOMEPATH>\.espressif\tools\xtensa-esp-elf-gdb\14.2_20240403\xtensa-esp-elf-gdb\bin: true
Access to C:<HOMEPATH>\.espressif\tools\riscv32-esp-elf-gdb\14.2_20240403\riscv32-esp-elf-gdb\bin: true
Access to C:<HOMEPATH>\.espressif\tools\xtensa-esp-elf\esp-13.2.0_20240530\xtensa-esp-elf\bin: true
Access to C:<HOMEPATH>\.espressif\tools\riscv32-esp-elf\esp-13.2.0_20240530\riscv32-esp-elf\bin: true
Access to C:<HOMEPATH>\.espressif\tools\esp32ulp-elf\2.38_20240113\esp32ulp-elf\bin: true
Access to C:<HOMEPATH>\.espressif\tools\cmake\3.24.0\bin: true
Access to C:<HOMEPATH>\.espressif\tools\openocd-esp32\v0.12.0-esp32-20240318\openocd-esp32\bin: true
Access to C:<HOMEPATH>\.espressif\tools\ninja\1.11.1: true
Access to C:<HOMEPATH>\.espressif\tools\idf-exe\1.0.3: true
Access to C:<HOMEPATH>\.espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64: true
Access to C:<HOMEPATH>\.espressif\tools\dfu-util\0.11\dfu-util-0.11-win64: true
Access to C:<HOMEPATH>\.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:<HOMEPATH>\.espressif\tools\xtensa-esp-elf-gdb\14.2_20240403\xtensa-esp-elf-gdb\bin: false
Spaces in C:<HOMEPATH>\.espressif\tools\riscv32-esp-elf-gdb\14.2_20240403\riscv32-esp-elf-gdb\bin: false
Spaces in C:<HOMEPATH>\.espressif\tools\xtensa-esp-elf\esp-13.2.0_20240530\xtensa-esp-elf\bin: false
Spaces in C:<HOMEPATH>\.espressif\tools\riscv32-esp-elf\esp-13.2.0_20240530\riscv32-esp-elf\bin: false
Spaces in C:<HOMEPATH>\.espressif\tools\esp32ulp-elf\2.38_20240113\esp32ulp-elf\bin: false
Spaces in C:<HOMEPATH>\.espressif\tools\cmake\3.24.0\bin: false
Spaces in C:<HOMEPATH>\.espressif\tools\openocd-esp32\v0.12.0-esp32-20240318\openocd-esp32\bin: false
Spaces in C:<HOMEPATH>\.espressif\tools\ninja\1.11.1: false
Spaces in C:<HOMEPATH>\.espressif\tools\idf-exe\1.0.3: false
Spaces in C:<HOMEPATH>\.espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64: false
Spaces in C:<HOMEPATH>\.espressif\tools\dfu-util\0.11\dfu-util-0.11-win64: false
Spaces in C:<HOMEPATH>\.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.0
Python version 3.11.2
Python's pip version 24.2
-------------------------------------------------- Project configuration settings ----------------------------------------------------------
-------------------------------------------------- Python packages in idf.pythonBinPath ----------------------------------------------------
bitarray version: 2.9.2
bitstring version: 4.2.3
CacheControl version: 0.14.0
certifi version: 2024.7.4
cffi version: 1.17.0
charset-normalizer version: 3.3.2
click version: 8.1.7
colorama version: 0.4.6
construct version: 2.10.70
contextlib2 version: 21.6.0
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.4.0
esp_idf_nvs_partition_gen version: 0.1.2
esp-idf-panic-decoder version: 1.1.0
esp-idf-size version: 1.5.0
esptool version: 4.8.dev4
filelock version: 3.15.4
freertos-gdb version: 1.0.3
idf-component-manager version: 1.5.3
idna version: 3.7
intelhex version: 2.3.0
markdown-it-py version: 3.0.0
mdurl version: 0.1.2
msgpack version: 1.0.8
packaging version: 24.1
pip version: 24.2
pyclang version: 0.4.2
pycparser version: 2.22
pyelftools version: 0.31
pygdbmi version: 0.11.0.0
Pygments version: 2.18.0
pyparsing version: 3.1.2
pyserial version: 3.5
PyYAML version: 6.0.2
reedsolo version: 1.7.0
requests version: 2.32.3
requests-file version: 1.5.1
requests-toolbelt version: 1.0.0
rich version: 13.7.1
schema version: 0.7.5
setuptools version: 71.0.0
six version: 1.16.0
tqdm version: 4.66.5
urllib3 version: 1.26.19
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
----------------------------------------------------------- Latest error -----------------------------------------------------------------
{
  "errno": -4058,
  "code": "ENOENT",
  "syscall": "open",
  "path": "e:\\ESP-Basic\\.vscode\\launch.json"
}
--------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------- Logfile -----------------------------------------------------------------
{"message":"Updating files:   1% (268/14814)\rUpdating files:   2% (297/14814)\rUpdating files:   2% (378/14814)\rUpdating files:   2% (379/14814)\rUpdating files:   2% (380/14814)\rUpdating files:   2% (381/14814)\rUpdating files:   2% (382/14814)\rUpdating files:   3% (445/14814)\rUpdating files:   3% (551/14814)\rUpdating files:   4% (593/14814)\rUpdating files:   5% (741/14814)\rUpdating files:   6% (889/14814)\rUpdating files:   7% (1037/14814)\rUpdating files:   7% (1085/14814)\rUpdating files:   7% (1178/14814)\rUpdating files:   8% (1186/14814)\rUpdating files:   8% (1299/14814)\rUpdating files:   9% (1334/14814)\rUpdating files:  10% (1482/14814)\rUpdating files:  11% (1630/14814)\rUpdating files:  11% (1729/14814)\rUpdating files:  12% (1778/14814)\rUpdating files:  13% (1926/14814)\rUpdating files:  14% (2074/14814)\rUpdating files:  15% (2223/14814)\rUpdating files:  16% (2371/14814)\rUpdating files:  17% (2519/14814)\rUpdating files:  18% (2667/14814)\rUpdating files:  19% (2815/14814)\rUpdating files:  20% (2963/14814)\rUpdating files:  21% (3111/14814)\rUpdating files:  22% (3260/14814)\rUpdating files:  23% (3408/14814)\rUpdating files:  23% (3451/14814)\rUpdating files:  24% (3556/14814)\rUpdating files:  25% (3704/14814)\rUpdating files:  26% (3852/14814)\rUpdating files:  27% (4000/14814)\rUpdating files:  28% (4148/14814)\rUpdating files:  28% (4199/14814)\rUpdating files:  29% (4297/14814)\rUpdating files:  29% (4365/14814)\rUpdating files:  30% (4445/14814)\rUpdating files:  31% (4593/14814)\rUpdating files:  32% (4741/14814)\rUpdating files:  33% (4889/14814)\rUpdating files:  34% (5037/14814)\rUpdating files:  35% (5185/14814)\rUpdating files:  36% (5334/14814)\rUpdating files:  37% (5482/14814)\rUpdating files:  37% (5617/14814)\rUpdating files:  38% (5630/14814)\rUpdating files:  38% (5659/14814)\rUpdating files:  38% (5725/14814)\rUpdating files:  39% (5778/14814)\rUpdating files:  39% (5780/14814)\rUpdating files:  39% (5908/14814)\rUpdating files:  40% (5926/14814)\rUpdating files:  41% (6074/14814)\rUpdating files:  41% (6140/14814)\rUpdating files:  41% (6142/14814)\rUpdating files:  42% (6222/14814)\rUpdating files:  42% (6229/14814)\rUpdating files:  43% (6371/14814)\rUpdating files:  44% (6519/14814)\rUpdating files:  45% (6667/14814)\rUpdating files:  46% (6815/14814)\rUpdating files:  47% (6963/14814)\rUpdating files:  48% (7111/14814)\rUpdating files:  49% (7259/14814)\rUpdating files:  50% (7407/14814)\rUpdating files:  51% (7556/14814)\rUpdating files:  52% (7704/14814)\rUpdating files:  53% (7852/14814)\rUpdating files:  53% (7887/14814)\rUpdating files:  54% (8000/14814)\rUpdating files:  55% (8148/14814)\rUpdating files:  55% (8281/14814)\rUpdating files:  56% (8296/14814)\rUpdating files:  57% (8444/14814)\rUpdating files:  57% (8496/14814)\rUpdating files:  58% (8593/14814)\rUpdating files:  59% (8741/14814)\rUpdating files:  60% (8889/14814)\rUpdating files:  61% (9037/14814)\rUpdating files:  62% (9185/14814)\rUpdating files:  63% (9333/14814)\rUpdating files:  64% (9481/14814)\rUpdating files:  65% (9630/14814)\rUpdating files:  66% (9778/14814)\rUpdating files:  67% (9926/14814)\rUpdating files:  67% (9943/14814)\rUpdating files:  68% (10074/14814)\rUpdating files:  69% (10222/14814)\rUpdating files:  70% (10370/14814)\rUpdating files:  71% (10518/14814)\rUpdating files:  72% (10667/14814)\rUpdating files:  73% (10815/14814)\rUpdating files:  74% (10963/14814)\rUpdating files:  75% (11111/14814)\rUpdating files:  76% (11259/14814)\rUpdating files:  77% (11407/14814)\rUpdating files:  78% (11555/14814)\rUpdating files:  79% (11704/14814)\rUpdating files:  80% (11852/14814)\rUpdating files:  81% (12000/14814)\rUpdating files:  82% (12148/14814)\rUpdating files:  82% (12246/14814)\rUpdating files:  83% (12296/14814)\rUpdating files:  84% (12444/14814)\rUpdating files:  85% (12592/14814)\rUpdating files:  86% (12741/14814)\rUpdating files:  87% (12889/14814)\rUpdating files:  88% (13037/14814)\rUpdating files:  89% (13185/14814)\rUpdating files:  90% (13333/14814)\rUpdating files:  91% (13481/14814)\rUpdating files:  92% (13629/14814)\rUpdating files:  93% (13778/14814)\rUpdating files:  94% (13926/14814)\rUpdating files:  95% (14074/14814)\rUpdating files:  96% (14222/14814)\rUpdating files:  97% (14370/14814)\rUpdating files:  98% (14518/14814)\rUpdating files:  98% (14537/14814)\rUpdating files:  99% (14666/14814)\rUpdating files: 100% (14814/14814)\rUpdating files: 100% (14814/14814), done.\n","stack":"Error: Updating files:   1% (268/14814)\rUpdating files:   2% (297/14814)\rUpdating files:   2% (378/14814)\rUpdating files:   2% (379/14814)\rUpdating files:   2% (380/14814)\rUpdating files:   2% (381/14814)\rUpdating files:   2% (382/14814)\rUpdating files:   3% (445/14814)\rUpdating files:   3% (551/14814)\rUpdating files:   4% (593/14814)\rUpdating files:   5% (741/14814)\rUpdating files:   6% (889/14814)\rUpdating files:   7% (1037/14814)\rUpdating files:   7% (1085/14814)\rUpdating files:   7% (1178/14814)\rUpdating files:   8% (1186/14814)\rUpdating files:   8% (1299/14814)\rUpdating files:   9% (1334/14814)\rUpdating files:  10% (1482/14814)\rUpdating files:  11% (1630/14814)\rUpdating files:  11% (1729/14814)\rUpdating files:  12% (1778/14814)\rUpdating files:  13% (1926/14814)\rUpdating files:  14% (2074/14814)\rUpdating files:  15% (2223/14814)\rUpdating files:  16% (2371/14814)\rUpdating files:  17% (2519/14814)\rUpdating files:  18% (2667/14814)\rUpdating files:  19% (2815/14814)\rUpdating files:  20% (2963/14814)\rUpdating files:  21% (3111/14814)\rUpdating files:  22% (3260/14814)\rUpdating files:  23% (3408/14814)\rUpdating files:  23% (3451/14814)\rUpdating files:  24% (3556/14814)\rUpdating files:  25% (3704/14814)\rUpdating files:  26% (3852/14814)\rUpdating files:  27% (4000/14814)\rUpdating files:  28% (4148/14814)\rUpdating files:  28% (4199/14814)\rUpdating files:  29% (4297/14814)\rUpdating files:  29% (4365/14814)\rUpdating files:  30% (4445/14814)\rUpdating files:  31% (4593/14814)\rUpdating files:  32% (4741/14814)\rUpdating files:  33% (4889/14814)\rUpdating files:  34% (5037/14814)\rUpdating files:  35% (5185/14814)\rUpdating files:  36% (5334/14814)\rUpdating files:  37% (5482/14814)\rUpdating files:  37% (5617/14814)\rUpdating files:  38% (5630/14814)\rUpdating files:  38% (5659/14814)\rUpdating files:  38% (5725/14814)\rUpdating files:  39% (5778/14814)\rUpdating files:  39% (5780/14814)\rUpdating files:  39% (5908/14814)\rUpdating files:  40% (5926/14814)\rUpdating files:  41% (6074/14814)\rUpdating files:  41% (6140/14814)\rUpdating files:  41% (6142/14814)\rUpdating files:  42% (6222/14814)\rUpdating files:  42% (6229/14814)\rUpdating files:  43% (6371/14814)\rUpdating files:  44% (6519/14814)\rUpdating files:  45% (6667/14814)\rUpdating files:  46% (6815/14814)\rUpdating files:  47% (6963/14814)\rUpdating files:  48% (7111/14814)\rUpdating files:  49% (7259/14814)\rUpdating files:  50% (7407/14814)\rUpdating files:  51% (7556/14814)\rUpdating files:  52% (7704/14814)\rUpdating files:  53% (7852/14814)\rUpdating files:  53% (7887/14814)\rUpdating files:  54% (8000/14814)\rUpdating files:  55% (8148/14814)\rUpdating files:  55% (8281/14814)\rUpdating files:  56% (8296/14814)\rUpdating files:  57% (8444/14814)\rUpdating files:  57% (8496/14814)\rUpdating files:  58% (8593/14814)\rUpdating files:  59% (8741/14814)\rUpdating files:  60% (8889/14814)\rUpdating files:  61% (9037/14814)\rUpdating files:  62% (9185/14814)\rUpdating files:  63% (9333/14814)\rUpdating files:  64% (9481/14814)\rUpdating files:  65% (9630/14814)\rUpdating files:  66% (9778/14814)\rUpdating files:  67% (9926/14814)\rUpdating files:  67% (9943/14814)\rUpdating files:  68% (10074/14814)\rUpdating files:  69% (10222/14814)\rUpdating files:  70% (10370/14814)\rUpdating files:  71% (10518/14814)\rUpdating files:  72% (10667/14814)\rUpdating files:  73% (10815/14814)\rUpdating files:  74% (10963/14814)\rUpdating files:  75% (11111/14814)\rUpdating files:  76% (11259/14814)\rUpdating files:  77% (11407/14814)\rUpdating files:  78% (11555/14814)\rUpdating files:  79% (11704/14814)\rUpdating files:  80% (11852/14814)\rUpdating files:  81% (12000/14814)\rUpdating files:  82% (12148/14814)\rUpdating files:  82% (12246/14814)\rUpdating files:  83% (12296/14814)\rUpdating files:  84% (12444/14814)\rUpdating files:  85% (12592/14814)\rUpdating files:  86% (12741/14814)\rUpdating files:  87% (12889/14814)\rUpdating files:  88% (13037/14814)\rUpdating files:  89% (13185/14814)\rUpdating files:  90% (13333/14814)\rUpdating files:  91% (13481/14814)\rUpdating files:  92% (13629/14814)\rUpdating files:  93% (13778/14814)\rUpdating files:  94% (13926/14814)\rUpdating files:  95% (14074/14814)\rUpdating files:  96% (14222/14814)\rUpdating files:  97% (14370/14814)\rUpdating files:  98% (14518/14814)\rUpdating files:  98% (14537/14814)\rUpdating files:  99% (14666/14814)\rUpdating files: 100% (14814/14814)\rUpdating files: 100% (14814/14814), done.\n\n    at \\dist\\extension.js:2:1464939\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-08-19T08:46:10.176Z"}
{"message":"spawn xtensa-esp-elf-gdb-no-python ENOENT","stack":"Error: spawn xtensa-esp-elf-gdb-no-python ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.843Z"}
{"message":"spawn riscv32-esp-elf-gdb-no-python ENOENT","stack":"Error: spawn riscv32-esp-elf-gdb-no-python ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.843Z"}
{"message":"spawn xtensa-esp-elf-gcc ENOENT","stack":"Error: spawn xtensa-esp-elf-gcc ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.843Z"}
{"message":"spawn riscv32-esp-elf-gcc ENOENT","stack":"Error: spawn riscv32-esp-elf-gcc ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.844Z"}
{"message":"spawn esp32ulp-elf-as ENOENT","stack":"Error: spawn esp32ulp-elf-as ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.845Z"}
{"message":"spawn cmake ENOENT","stack":"Error: spawn cmake ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.845Z"}
{"message":"spawn openocd ENOENT","stack":"Error: spawn openocd ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.845Z"}
{"message":"spawn ninja ENOENT","stack":"Error: spawn ninja ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.846Z"}
{"message":"spawn idf.py.exe ENOENT","stack":"Error: spawn idf.py.exe ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.846Z"}
{"message":"spawn ccache.exe ENOENT","stack":"Error: spawn ccache.exe ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.846Z"}
{"message":"spawn dfu-util ENOENT","stack":"Error: spawn dfu-util ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.847Z"}
{"message":"Error checking xtensa-esp-elf-gdb version","stack":"Error: spawn xtensa-esp-elf-gdb-no-python ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.847Z"}
{"message":"Error checking riscv32-esp-elf-gdb version","stack":"Error: spawn riscv32-esp-elf-gdb-no-python ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.848Z"}
{"message":"Error checking xtensa-esp-elf version","stack":"Error: spawn xtensa-esp-elf-gcc ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.849Z"}
{"message":"Error checking riscv32-esp-elf version","stack":"Error: spawn riscv32-esp-elf-gcc ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.849Z"}
{"message":"Error checking esp32ulp-elf version","stack":"Error: spawn esp32ulp-elf-as ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.850Z"}
{"message":"Error checking cmake version","stack":"Error: spawn cmake ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.850Z"}
{"message":"Error checking openocd-esp32 version","stack":"Error: spawn openocd ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.850Z"}
{"message":"Error checking ninja version","stack":"Error: spawn ninja ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.851Z"}
{"message":"Error checking idf-exe version","stack":"Error: spawn idf.py.exe ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.851Z"}
{"message":"Error checking ccache version","stack":"Error: spawn ccache.exe ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.852Z"}
{"message":"Error checking dfu-util version","stack":"Error: spawn dfu-util ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)","level":"error","timestamp":"2024-08-19T08:46:10.852Z"}
{"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:1464939\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.<anonymous> (node:internal/child_process:457:11)\n    at Socket.emit (node:events:519:28)\n    at Pipe.<anonymous> (node:net:338:12)","level":"error","timestamp":"2024-08-19T08:55:20.017Z"}
{"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:1464939\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.<anonymous> (node:internal/child_process:457:11)\n    at Socket.emit (node:events:519:28)\n    at Pipe.<anonymous> (node:net:338:12)","level":"error","timestamp":"2024-08-19T08:55:20.508Z"}
{"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:1464939\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.<anonymous> (node:internal/child_process:457:11)\n    at Socket.emit (node:events:519:28)\n    at Pipe.<anonymous> (node:net:338:12)","level":"error","timestamp":"2024-08-19T08:55:57.941Z"}
{"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:1464939\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.<anonymous> (node:internal/child_process:457:11)\n    at Socket.emit (node:events:519:28)\n    at Pipe.<anonymous> (node:net:338:12)","level":"error","timestamp":"2024-08-19T08:56:08.024Z"}
{"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:1464939\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.<anonymous> (node:internal/child_process:457:11)\n    at Socket.emit (node:events:519:28)\n    at Pipe.<anonymous> (node:net:338:12)","level":"error","timestamp":"2024-08-19T08:56:08.480Z"}
{"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:1590016\n    at i.value (\\out\\vs\\workbench\\api\\node\\extensionHostProcess.js:164:21003)\n    at n.B (\\out\\vs\\workbench\\api\\node\\extensionHostProcess.js:83:737)\n    at n.fire (\\out\\vs\\workbench\\api\\node\\extensionHostProcess.js:83:954)\n    at i.$onDidEndTaskProcess (\\out\\vs\\workbench\\api\\node\\extensionHostProcess.js:157:58354)","level":"error","timestamp":"2024-08-19T08:56:19.340Z"}
{"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:1590016\n    at i.value (\\out\\vs\\workbench\\api\\node\\extensionHostProcess.js:164:21003)\n    at n.B (\\out\\vs\\workbench\\api\\node\\extensionHostProcess.js:83:737)\n    at n.fire (\\out\\vs\\workbench\\api\\node\\extensionHostProcess.js:83:954)\n    at i.$onDidEndTaskProcess (\\out\\vs\\workbench\\api\\node\\extensionHostProcess.js:157:58354)","level":"error","timestamp":"2024-08-19T08:56:44.506Z"}
{"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:1461757)\n    at \\dist\\extension.js:2:1685466\n    at Fs (\\dist\\extension.js:2:1686534)\n    at \\dist\\extension.js:2:1902761","level":"error","timestamp":"2024-08-19T08:57:37.070Z"}
{"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:1461757)\n    at \\dist\\extension.js:2:1685644\n    at Fs (\\dist\\extension.js:2:1686534)\n    at \\dist\\extension.js:2:1902761","level":"error","timestamp":"2024-08-19T08:57:37.071Z"}
{"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:1461757)\n    at \\dist\\extension.js:2:1685736\n    at Fs (\\dist\\extension.js:2:1686534)\n    at \\dist\\extension.js:2:1902761","level":"error","timestamp":"2024-08-19T08:57:37.071Z"}
{"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:1461757)\n    at \\dist\\extension.js:2:1685832\n    at Fs (\\dist\\extension.js:2:1686534)\n    at \\dist\\extension.js:2:1902761","level":"error","timestamp":"2024-08-19T08:57:37.072Z"}
{"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:1464939\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.<anonymous> (node:internal/child_process:457:11)\n    at Socket.emit (node:events:519:28)\n    at Pipe.<anonymous> (node:net:338:12)","level":"error","timestamp":"2024-08-19T08:57:37.912Z"}
{"message":"ENOENT: no such file or directory, open 'e:\\ESP-Basic\\.vscode\\launch.json'","stack":"Error: ENOENT: no such file or directory, open 'e:\\ESP-Basic\\.vscode\\launch.json'","level":"error","timestamp":"2024-08-19T08:57:38.324Z"}
{"user":true,"level":"warn","message":"Отчет о конфигурации расширения скопирован в буфер обмена с ошибками.","timestamp":"2024-08-19T08:57:38.324Z"}

--------------------------------------------------------------------------------------------------------------------------------------------

@brianignacio5
Copy link

Doesn't seem to be any issue with your setup.

What is the build output? Have you tried to rebuild after deleting the build directory? Ninja seems to be found and have access as shown in doctor command. Maybe your current directory or terminal have some issue? Did you modify your vscode terminal profile in any way ? Info about vscode profiles in here: https://code.visualstudio.com/docs/terminal/profiles

@Oleg-Perevyshin
Copy link
Author

Yes, I deleted the build folder.
Now in the terminal it writes this:

 *  Выполнение задачи: C:\Users\perevyshin_oe\.espressif\tools\ninja\1.11.1\ninja.exe  

ninja: error: loading 'build.ninja': ╨Э╨╡ ╤Г╨┤╨░╨╡╤В╤Б╤П ╨╜╨░╨╣╤В╨╕ ╤Г╨║╨░╨╖╨░╨╜╨╜╤Л╨╣ ╤Д╨░╨╣╨╗.


 *  Процесс терминала "C:\Users\perevyshin_oe\.espressif\tools\ninja\1.11.1\ninja.exe" был завершен с кодом выхода 1. 

 *  Выполнение задачи: C:\Users\perevyshin_oe\.espressif\tools\ninja\1.11.1\ninja.exe  

ninja: error: loading 'build.ninja': ╨Э╨╡ ╤Г╨┤╨░╨╡╤В╤Б╤П ╨╜╨░╨╣╤В╨╕ ╤Г╨║╨░╨╖╨░╨╜╨╜╤Л╨╣ ╤Д╨░╨╣╨╗.


 *  Процесс терминала "C:\Users\perevyshin_oe\.espressif\tools\ninja\1.11.1\ninja.exe" был завершен с кодом выхода 1. 

I didn't do anything in the terminal settings.
I created a default project. Then I connected littlefs from the component manager.
I tried to build the project on one machine (mac os), the project built successfully. I saved it on Github.

Now I opened the project on Windows, but it won't build.

@Oleg-Perevyshin
Copy link
Author

After deleting the build folder, I see this in the terminal:

 *  Выполнение задачи: C:\Users\perevyshin_oe\.espressif\tools\cmake\3.24.0\bin\cmake.exe -G=Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B=e:\ESP-Basic\build -S=e:\ESP-Basic 

-- Found Git: C:/Users/perevyshin_oe/.espressif/tools/idf-git/2.39.2/cmd/git.exe (found version "2.39.2.windows.1") 
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/perevyshin_oe/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Users/perevyshin_oe/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Users/perevyshin_oe/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
HINT: Cannot establish a connection to the component registry. Skipping checks of dependency changes.
Processing 2 dependencies:
[1/2] idf (5.3.0)
[2/2] joltwallet/littlefs (1.14.8)
CMake Error at C:/Users/perevyshin_oe/esp/v5.3/esp-idf/tools/cmake/build.cmake:552 (message):
  ERROR: Some components (joltwallet/littlefs) in the "managed_components"
  directory were modified on the disk since the last run of the CMake.
  Content of this directory is managed automatically.

  If you want to keep the changes, you can move the directory with the
  component to the "components"directory of your project.

  I.E.  for "joltwallet__littlefs" run:

  mv E:\ESP-Basic\managed_components\joltwallet__littlefs
  E:\ESP-Basic\components\joltwallet__littlefs

  Or, if you want to discard the changes remove the ".component_hash" file
  from the component's directory.

  I.E.  for "joltwallet__littlefs" run:

  rm E:\ESP-Basic\managed_components\joltwallet__littlefs\.component_hash

Call Stack (most recent call first):
  C:/Users/perevyshin_oe/esp/v5.3/esp-idf/tools/cmake/project.cmake:710 (idf_build_process)
  CMakeLists.txt:8 (project)


-- Configuring incomplete, errors occurred!
See also "E:/ESP-Basic/build/CMakeFiles/CMakeOutput.log".

 *  Процесс терминала "C:\Users\perevyshin_oe\.espressif\tools\cmake\3.24.0\bin\cmake.exe '-G=Ninja', '-DPYTHON_DEPS_CHECKED=1', '-DESP_PLATFORM=1', '-B=e:\ESP-Basic\build', '-S=e:\ESP-Basic'" был завершен с кодом выхода 1. 

@Oleg-Perevyshin
Copy link
Author

Oleg-Perevyshin commented Aug 19, 2024

I entered the command
rm E:\ESP-Basic\managed_components\joltwallet__littlefs.component_hash

Deleted the build folder
In the terminal I see this:

 *  Выполнение задачи: C:\Users\perevyshin_oe\.espressif\tools\cmake\3.24.0\bin\cmake.exe -G=Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B=e:\ESP-Basic\build -S=e:\ESP-Basic 

-- Found Git: C:/Users/perevyshin_oe/.espressif/tools/idf-git/2.39.2/cmd/git.exe (found version "2.39.2.windows.1") 
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/perevyshin_oe/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Users/perevyshin_oe/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Users/perevyshin_oe/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
HINT: Cannot establish a connection to the component registry. Skipping checks of dependency changes.
Processing 2 dependencies:
[1/2] idf (5.3.0)
[2/2] joltwallet/littlefs (1.14.8)
CMake Error at C:/Users/perevyshin_oe/esp/v5.3/esp-idf/tools/cmake/build.cmake:552 (message):
  ERROR: Cannot establish a connection to the component registry.  Are you
  connected to the internet?

  URL:
  https://components-file.espressif.com/components/joltwallet/littlefs.json

Call Stack (most recent call first):
  C:/Users/perevyshin_oe/esp/v5.3/esp-idf/tools/cmake/project.cmake:710 (idf_build_process)
  CMakeLists.txt:8 (project)


-- Configuring incomplete, errors occurred!
See also "E:/ESP-Basic/build/CMakeFiles/CMakeOutput.log".

 *  Процесс терминала "C:\Users\perevyshin_oe\.espressif\tools\cmake\3.24.0\bin\cmake.exe '-G=Ninja', '-DPYTHON_DEPS_CHECKED=1', '-DESP_PLATFORM=1', '-B=e:\ESP-Basic\build', '-S=e:\ESP-Basic'" был завершен с кодом выхода 1. 

There is nothing wrong with the internet connection.
The link https://components-file.espressif.com/components/joltwallet/littlefs.json works and is accessible via browser

@kumekay
Copy link
Collaborator

kumekay commented Aug 20, 2024

@Oleg-Perevyshin While I still wasn't able to reproduce your issue, yesterday we whitelisted a new version of the component manager for ESP-IDF v5.3, where work with hash validation is and network is significantly reworked.

Could you please try to update the component manager? Please open ESP-IDF: Open ESP-IDF Terminal in VSCode and then run:

rm C:\Users\perevyshin_oe\.espressif\espidf.constraints.v5.3.txt
cd C:/Users/perevyshin_oe/esp/v5.3/esp-idf
install.ps1

Please ensure that in the log you'll have:

Downloading https://dl.espressif.com/dl/esp-idf/espidf.constraints.v5.3.txt
...
Successfully installed  idf-component-manager-2.0.1 ....

Or you can simply recreate your environment once again

@Oleg-Perevyshin
Copy link
Author

I did all this, everything is fine.
But still nothing has changed.

Apparently I have a problem with the Internet, something is blocked somewhere...

@kumekay
Copy link
Collaborator

kumekay commented Aug 21, 2024

@Oleg-Perevyshin Could you please try to run this command and provide us an error, if any?

In ESP-IDF terminal.

python -c "import requests; response = requests.get('https://components-file.espressif.com/components/joltwallet/littlefs.json'); print(response.text)"

In some configurations of Windows python may use a system set of TLS certificates, instead of supplied one.

If the previous command fails, try to access something else through python, like:

python -c "import requests; response = requests.get('https://jsonplaceholder.typicode.com/posts/1'); print(response.text)"    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants