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

IDE installation error (IEP-1188) #919

Open
ertekinsener opened this issue Mar 21, 2024 · 3 comments
Open

IDE installation error (IEP-1188) #919

ertekinsener opened this issue Mar 21, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@ertekinsener
Copy link

I followed the steps in this video, but IDE could not correctly installed.

Issue video: https://www.youtube.com/watch?v=mp-FvgQa78E

The IDE had to create a new project, but it give errors

product_information.txt

error_log.log

@github-actions github-actions bot changed the title IDE installation error IDE installation error (IEP-1188) Mar 21, 2024
@sigmaaa
Copy link
Collaborator

sigmaaa commented Mar 21, 2024

Hi @ertekinsener,

Thank you for reporting this issue. I've noticed from the error log that tools.json location is incorrect "C:\Espressif\frameworks\esp-idf-v5.1.1\tools" when you are using different esp-idf. Maybe there is some conflict in the PATH.
Could you please try this:

  1. In the IDE go to Preferences -> C/C++ -> Build -> Environment and click "Restore Defaults" button and then Apply:
    image
  2. After this, once again try to install tools via Espressif -> ESP-IDF Tools Manager -> Install Tools. (Since tools are already installed, the installation will be skipped and only environment variables inside the IDE will be updated.

@kolipakakondal
Copy link
Collaborator

kolipakakondal commented Mar 21, 2024

Hello,

Looking at the log, your system is configured with IDF_PATH=C:\Espressif\frameworks\esp-idf-v5.1.1
Could you please remove this variable and restart the eclipse, and see if that helps?

We will work on the fix for this.

@kolipakakondal kolipakakondal added the bug Something isn't working label Mar 22, 2024
@ertekinsener
Copy link
Author

Hello @sigmaaa and @kolipakakondal,

I attempted to resolve the issue by removing IDF_PATH=C:\Espressif\frameworks\esp-idf-v5.1.1 from the environment variables and restarting my PC. However, this did not resolve the error. Subsequently, I uninstalled both Espressif IDE and IDF components that came with the IDE. Afterward, I reinstalled Espressif IDE.

Upon attempting to create a new IDF project, I encountered an error prompting me to install tools. I proceeded to reinstall the tools. Notably, none of the tools were skipped during the reinstallation process, and they were all installed in different directory. @sigmaaa

I will attach the error logs once again. Thank you for your assistance.

IDF Tools Console:
Installing tools...
This can take a while. Please be patient.
Executing C:\Espressif_IDE\tools\idf-python\3.11.2\python.exe C:\Espressif_IDE\frameworks\esp-idf-v5.1.2\tools\idf_tools.py install all
Current system platform: win64
Updating C:\Users\Ertekin.espressif\idf-env.json
Selected targets are: esp32, esp32s3, esp32c3, esp32h2, esp32c2, esp32c6, esp32s2
Installing tools: xtensa-esp-elf-gdb, riscv32-esp-elf-gdb, xtensa-esp32-elf, xtensa-esp32s2-elf, xtensa-esp32s3-elf, esp-clang, riscv32-esp-elf, esp32ulp-elf, cmake, openocd-esp32, ninja, idf-exe, ccache, dfu-util, esp-rom-elfs
Installing [email protected]_20221002
Downloading https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v12.1_20221002/xtensa-esp-elf-gdb-12.1_20221002-x86_64-w64-mingw32.zip
Destination: C:\Users\Ertekin.espressif\dist\xtensa-esp-elf-gdb-12.1_20221002-x86_64-w64-mingw32.zip.tmp

[==================================================] 100%Done
Extracting C:\Users\Ertekin.espressif\dist\xtensa-esp-elf-gdb-12.1_20221002-x86_64-w64-mingw32.zip to C:\Users\Ertekin.espressif\tools\xtensa-esp-elf-gdb\12.1_20221002
Installing [email protected]_20221002
Downloading https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v12.1_20221002/riscv32-esp-elf-gdb-12.1_20221002-x86_64-w64-mingw32.zip
Destination: C:\Users\Ertekin.espressif\dist\riscv32-esp-elf-gdb-12.1_20221002-x86_64-w64-mingw32.zip.tmp

[==================================================] 100%Done
Extracting C:\Users\Ertekin.espressif\dist\riscv32-esp-elf-gdb-12.1_20221002-x86_64-w64-mingw32.zip to C:\Users\Ertekin.espressif\tools\riscv32-esp-elf-gdb\12.1_20221002
Installing [email protected]_20230208
Downloading https://github.com/espressif/crosstool-NG/releases/download/esp-12.2.0_20230208/xtensa-esp32-elf-12.2.0_20230208-x86_64-w64-mingw32.zip
Destination: C:\Users\Ertekin.espressif\dist\xtensa-esp32-elf-12.2.0_20230208-x86_64-w64-mingw32.zip.tmp

[==================================================] 100%Done
Extracting C:\Users\Ertekin.espressif\dist\xtensa-esp32-elf-12.2.0_20230208-x86_64-w64-mingw32.zip to C:\Users\Ertekin.espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208
Installing [email protected]_20230208
Downloading https://github.com/espressif/crosstool-NG/releases/download/esp-12.2.0_20230208/xtensa-esp32s2-elf-12.2.0_20230208-x86_64-w64-mingw32.zip
Destination: C:\Users\Ertekin.espressif\dist\xtensa-esp32s2-elf-12.2.0_20230208-x86_64-w64-mingw32.zip.tmp

[==================================================] 100%Done
Extracting C:\Users\Ertekin.espressif\dist\xtensa-esp32s2-elf-12.2.0_20230208-x86_64-w64-mingw32.zip to C:\Users\Ertekin.espressif\tools\xtensa-esp32s2-elf\esp-12.2.0_20230208
Installing [email protected]_20230208
Downloading https://github.com/espressif/crosstool-NG/releases/download/esp-12.2.0_20230208/xtensa-esp32s3-elf-12.2.0_20230208-x86_64-w64-mingw32.zip
Destination: C:\Users\Ertekin.espressif\dist\xtensa-esp32s3-elf-12.2.0_20230208-x86_64-w64-mingw32.zip.tmp

[==================================================] 100%Done
Extracting C:\Users\Ertekin.espressif\dist\xtensa-esp32s3-elf-12.2.0_20230208-x86_64-w64-mingw32.zip to C:\Users\Ertekin.espressif\tools\xtensa-esp32s3-elf\esp-12.2.0_20230208
Installing [email protected]
Downloading https://github.com/espressif/llvm-project/releases/download/esp-15.0.0-20221201/llvm-esp-15.0.0-20221201-win64.tar.xz
Destination: C:\Users\Ertekin.espressif\dist\llvm-esp-15.0.0-20221201-win64.tar.xz.tmp

[==================================================] 100%Done
Extracting C:\Users\Ertekin.espressif\dist\llvm-esp-15.0.0-20221201-win64.tar.xz to C:\Users\Ertekin.espressif\tools\esp-clang\15.0.0-23786128ae
Installing [email protected]_20230208
Downloading https://github.com/espressif/crosstool-NG/releases/download/esp-12.2.0_20230208/riscv32-esp-elf-12.2.0_20230208-x86_64-w64-mingw32.zip
Destination: C:\Users\Ertekin.espressif\dist\riscv32-esp-elf-12.2.0_20230208-x86_64-w64-mingw32.zip.tmp

[==================================================] 100%Done
Extracting C:\Users\Ertekin.espressif\dist\riscv32-esp-elf-12.2.0_20230208-x86_64-w64-mingw32.zip to C:\Users\Ertekin.espressif\tools\riscv32-esp-elf\esp-12.2.0_20230208
Installing [email protected]_20220830
Downloading https://github.com/espressif/binutils-gdb/releases/download/esp32ulp-elf-v2.35_20220830/esp32ulp-elf-2.35_20220830-win64.zip
Destination: C:\Users\Ertekin.espressif\dist\esp32ulp-elf-2.35_20220830-win64.zip.tmp

[==================================================] 100%Done
Extracting C:\Users\Ertekin.espressif\dist\esp32ulp-elf-2.35_20220830-win64.zip to C:\Users\Ertekin.espressif\tools\esp32ulp-elf\2.35_20220830
Installing [email protected]
Downloading https://github.com/Kitware/CMake/releases/download/v3.24.0/cmake-3.24.0-windows-x86_64.zip
Destination: C:\Users\Ertekin.espressif\dist\cmake-3.24.0-windows-x86_64.zip.tmp

[==================================================] 100%Done
Extracting C:\Users\Ertekin.espressif\dist\cmake-3.24.0-windows-x86_64.zip to C:\Users\Ertekin.espressif\tools\cmake\3.24.0
Installing [email protected]
Downloading https://github.com/espressif/openocd-esp32/releases/download/v0.12.0-esp32-20230921/openocd-esp32-win32-0.12.0-esp32-20230921.zip
Destination: C:\Users\Ertekin.espressif\dist\openocd-esp32-win32-0.12.0-esp32-20230921.zip.tmp

[==================================================] 100%Done
Extracting C:\Users\Ertekin.espressif\dist\openocd-esp32-win32-0.12.0-esp32-20230921.zip to C:\Users\Ertekin.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921
Installing [email protected]
Downloading https://dl.espressif.com/dl/ninja-1.10.2-win64.zip
Destination: C:\Users\Ertekin.espressif\dist\ninja-1.10.2-win64.zip.tmp

[==================================================] 100%Done
Extracting C:\Users\Ertekin.espressif\dist\ninja-1.10.2-win64.zip to C:\Users\Ertekin.espressif\tools\ninja\1.10.2
Installing [email protected]
Downloading https://github.com/espressif/idf_py_exe_tool/releases/download/v1.0.3/idf-exe-v1.0.3.zip
Destination: C:\Users\Ertekin.espressif\dist\idf-exe-v1.0.3.zip.tmp

[==================================================] 100%Done
Extracting C:\Users\Ertekin.espressif\dist\idf-exe-v1.0.3.zip to C:\Users\Ertekin.espressif\tools\idf-exe\1.0.3
Installing [email protected]
Downloading https://github.com/ccache/ccache/releases/download/v4.8/ccache-4.8-windows-x86_64.zip
Destination: C:\Users\Ertekin.espressif\dist\ccache-4.8-windows-x86_64.zip.tmp

[==================================================] 100%Done
Extracting C:\Users\Ertekin.espressif\dist\ccache-4.8-windows-x86_64.zip to C:\Users\Ertekin.espressif\tools\ccache\4.8
Installing [email protected]
Downloading https://dl.espressif.com/dl/dfu-util-0.11-win64.zip
Destination: C:\Users\Ertekin.espressif\dist\dfu-util-0.11-win64.zip.tmp

[==================================================] 100%Done
Extracting C:\Users\Ertekin.espressif\dist\dfu-util-0.11-win64.zip to C:\Users\Ertekin.espressif\tools\dfu-util\0.11
Installing esp-rom-elfs@20230320
Downloading https://github.com/espressif/esp-rom-elfs/releases/download/20230320/esp-rom-elfs-20230320.tar.gz
Destination: C:\Users\Ertekin.espressif\dist\esp-rom-elfs-20230320.tar.gz.tmp

[==================================================] 100%Done
Extracting C:\Users\Ertekin.espressif\dist\esp-rom-elfs-20230320.tar.gz to C:\Users\Ertekin.espressif\tools\esp-rom-elfs\20230320
OK

Executing C:\Espressif_IDE\tools\idf-python\3.11.2\python.exe C:\Espressif_IDE\frameworks\esp-idf-v5.1.2\tools\idf_tools.py install-python-env
Creating a new Python environment in C:\Users\Ertekin.espressif\python_env\idf5.1_py3.11_env
Downloading https://dl.espressif.com/dl/esp-idf/espidf.constraints.v5.1.txt
Destination: C:\Users\Ertekin.espressif\espidf.constraints.v5.1.txt.tmp

[==================================================] 100%Done
Installing Python packages
Constraint file: C:\Users\Ertekin.espressif\espidf.constraints.v5.1.txt
Requirement files:

Executing C:\Espressif_IDE\tools\idf-python\3.11.2\python.exe C:\Espressif_IDE\frameworks\esp-idf-v5.1.2\tools\idf_tools.py export --format=key-value
OPENOCD_SCRIPTS=C:\Users\Ertekin.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\share\openocd\scripts
IDF_CCACHE_ENABLE=1
ESP_ROM_ELF_DIR=C:\Users\Ertekin.espressif\tools\esp-rom-elfs\20230320
IDF_PYTHON_ENV_PATH=C:\Users\Ertekin.espressif\python_env\idf5.1_py3.11_env
ESP_IDF_VERSION=5.1
PATH=C:\Users\Ertekin.espressif\tools\xtensa-esp-elf-gdb\12.1_20221002\xtensa-esp-elf-gdb\bin;C:\Users\Ertekin.espressif\tools\riscv32-esp-elf-gdb\12.1_20221002\riscv32-esp-elf-gdb\bin;C:\Users\Ertekin.espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin;C:\Users\Ertekin.espressif\tools\xtensa-esp32s2-elf\esp-12.2.0_20230208\xtensa-esp32s2-elf\bin;C:\Users\Ertekin.espressif\tools\xtensa-esp32s3-elf\esp-12.2.0_20230208\xtensa-esp32s3-elf\bin;C:\Users\Ertekin.espressif\tools\esp-clang\15.0.0-23786128ae\esp-clang\bin;C:\Users\Ertekin.espressif\tools\riscv32-esp-elf\esp-12.2.0_20230208\riscv32-esp-elf\bin;C:\Users\Ertekin.espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin;C:\Users\Ertekin.espressif\tools\cmake\3.24.0\bin;C:\Users\Ertekin.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin;C:\Users\Ertekin.espressif\tools\ninja\1.10.2;C:\Users\Ertekin.espressif\tools\idf-exe\1.0.3;C:\Users\Ertekin.espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64;C:\Users\Ertekin.espressif\tools\dfu-util\0.11\dfu-util-0.11-win64;C:\Users\Ertekin.espressif\python_env\idf5.1_py3.11_env\Scripts;C:\Espressif_IDE\frameworks\esp-idf-v5.1.2\tools;%PATH%
IDF_DEACTIVATE_FILE_PATH=C:\Users\Ertekin\AppData\Local\Temp\tmptleuj666idf_22596
Configured CDT Build Environment variables. You can check Preferences > C/C++ > Build > Environment
Executing C:\Users\Ertekin.espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe -m pip list
Collecting websocket-client
Downloading websocket_client-1.7.0-py3-none-any.whl.metadata (7.9 kB)
Downloading websocket_client-1.7.0-py3-none-any.whl (58 kB)
---------------------------------------- 58.5/58.5 kB 518.5 kB/s eta 0:00:00
Installing collected packages: websocket-client
Successfully installed websocket-client-1.7.0
Configured CMake toolchain. You can check Preferences > C/C++ > CMake
Install tools completed.

error_logs.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants