ESP IDF installation error: Unexpected end of archive

Spero1
Posts: 1
Joined: Wed Dec 04, 2019 11:27 pm

ESP IDF installation error: Unexpected end of archive

Postby Spero1 » Wed Dec 04, 2019 11:42 pm

Hi there,

I'm trying to install esp-idf-tools-setup-2.1.exe on my Windows 10, 64-bit PC running as Administrator.

During the installation process I get the following error and cannot continue:

Path = C:\Users\Spero-Colyvas\.espressif\releases\esp-idf-v3.3.zip
Type = zip
ERRORS:
Unexpected end of archive
Physical Size = 192052138
Characteristics = Local

Has anyone seen this before - any ideas what the problem could be?

Thanks,
Spero

wrybread
Posts: 10
Joined: Tue Sep 24, 2019 12:53 am

Re: ESP IDF installation error: Unexpected end of archive

Postby wrybread » Thu Feb 06, 2020 11:36 pm

I'm getting the same error. Did you ever solve it?

ESP_Angus
Posts: 2068
Joined: Sun May 08, 2016 4:11 am

Re: ESP IDF installation error: Unexpected end of archive

Postby ESP_Angus » Fri Feb 07, 2020 3:53 am

Hi,

The installer doesn't include any ESP-IDF versions, but it can optionally download ESP-IDF as part of the install - it looks like that's what it was doing in this case.

It looks like maybe the download failed part way through, "PhysicalSize = 192052138" is smaller than the 350MB size of this zip file.

It's possible we can do something in the installer to better detect download failures, but in the meantime I'd recommend trying again and seeing if the download succeeds the second time. If it still doesn't work then it's possible to skip this step in the installer and then download ESP-IDF from the Releases page on GitHub: https://github.com/espressif/esp-idf/releases/

Angus

wrybread
Posts: 10
Joined: Tue Sep 24, 2019 12:53 am

Re: ESP IDF installation error: Unexpected end of archive

Postby wrybread » Fri Feb 07, 2020 4:04 am

I think there might be something wrong with the linked version? I tried several times with the current version but it failed every time. When I selected the previous version it worked right away.

Who is online

Users browsing this forum: Bing [Bot] and 16 guests