Setup ESP-IDF Tools 2.3 ended up with error code 128

Cristishor
Posts: 2
Joined: Fri Jan 22, 2021 12:49 pm

Setup ESP-IDF Tools 2.3 ended up with error code 128

Postby Cristishor » Fri Jan 22, 2021 1:02 pm

When I try to install esp-idf and tools for my windows 7 64bit verssion, I get this error: Installation has failed with exit code 128
Image

Here is a part of the log...

Code: Select all

ing 'components/bootloader/subproject/components/micro-ecc/micro-ecc
                          HEAD is now at d037ec8 Add note that uECC_VLI_NATIVE_LITTLE_ENDIAN affects key compatiblit
                          Entering 'components/bt/controller/lib
                          HEAD is now at 238fc04 Fix ble disconnect due to instant of channel map update is too small(219866f
                          Entering 'components/bt/host/nimble/nimble
                          HEAD is now at fead24e5 Merge branch 'nimble/log_level_filtering' into 'nimble-1.2.0-idf
                          Entering 'components/cbor/tinycbor
                          HEAD is now at d2dd95c Fix compilation error in the documentatio
                          Entering 'components/coap/libcoap
                          error: unable to create symlink README: Permission denie
                          error: unable to create symlink examples/contiki/coap_config.h: Permission denie
                          error: unable to create symlink examples/lwip/coap_config.h: Permission denie
                          fatal: Could not reset index file to revision 'HEAD'
                          fatal: run_command returned non-zero status for components/coap/libcoa
                          
                          
2021-01-22 13:43:56.589   --------
2021-01-22 13:43:56.589   Message box (OK):
                          Installation has failed with exit code 128
2021-01-22 14:55:39.090   User chose OK.
2021-01-22 14:55:39.094   Message box (Yes/No):
                          Installation log has been created, it may contain more information about the problem.
                          Display the installation log now?
2021-01-22 14:55:41.155   User chose Yes.
2021-01-22 14:55:41.186   CurStepChanged raised an exception.
2021-01-22 14:55:41.213   Need to restart Windows? No
2021-01-22 14:55:41.221   Exception message:
2021-01-22 14:55:41.221   Message box (OK):
                          Out Of Range.
2021-01-22 14:55:41.258   User chose OK.
2021-01-22 14:55:41.260   Deinitializing Setup.
What does it means ? it installed corectly or not ?

PS: I tried with both V4.1 and V3.3 realeased versions of esp-idf, but with same ending.

PS2: firstly I tried on stackoverflow : https://stackoverflow.com/questions/658 ... r-code-128

manurp
Posts: 2
Joined: Thu Feb 11, 2021 1:20 am

Re: Setup ESP-IDF Tools 2.3 ended up with error code 128

Postby manurp » Thu Feb 11, 2021 1:29 am

Hi, I am having the exact same issue trying to run the ESP-IDF tools setup V2.4. (https://dl.espressif.com/dl/esp-idf-tools-setup-2.4.exe)

Did you find an answer to your problem? Thanks!

manurp
Posts: 2
Joined: Thu Feb 11, 2021 1:20 am

Re: Setup ESP-IDF Tools 2.3 ended up with error code 128

Postby manurp » Thu Feb 11, 2021 1:58 am

I had the same problem when installing the Toolchain on Windows 10 and was able to fix this by launching the installer with admin privilege.

Cristishor
Posts: 2
Joined: Fri Jan 22, 2021 12:49 pm

Re: Setup ESP-IDF Tools 2.3 ended up with error code 128

Postby Cristishor » Thu Feb 11, 2021 11:02 am

manurp wrote:
Thu Feb 11, 2021 1:29 am
Hi, I am having the exact same issue trying to run the ESP-IDF tools setup V2.4. (https://dl.espressif.com/dl/esp-idf-tools-setup-2.4.exe)

Did you find an answer to your problem? Thanks!
It seems that the tools setup works only for version 4.0 and above of esp-idf, as it runs on cmd directly.

In the control panel, try to uninstall the esp-idf tools entry (if you have any previously). After did that and removing the whole both folders of esp-idf and tools (just in case), you should installed it smotly.

PS: I tried with the master (develop) version of esp-idf and it worked.

benedito821
Posts: 12
Joined: Fri Mar 19, 2021 9:58 pm

Re: Setup ESP-IDF Tools 2.3 ended up with error code 128

Postby benedito821 » Fri Feb 03, 2023 5:31 pm

Running the installer using administrator rights solved the issue.

Who is online

Users browsing this forum: No registered users and 118 guests