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: 12
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: 2344
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: 12
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.

mad_b747
Posts: 12
Joined: Sun Apr 12, 2020 1:26 pm

Re: ESP IDF installation error: Unexpected end of archive

Postby mad_b747 » Thu Jun 04, 2020 4:13 pm

Hi. Myself facing same install issue, I think the installer does not check correctly neither retry to download or warn the user if the esp-idf zip file is not correctly downloaded.
After check the log and find the issue and where it downloads the idf zip file, I manually downlaoded same release into that folder and rerun the installer that went well after that.

User avatar
jgustavoam
Posts: 165
Joined: Thu Feb 01, 2018 2:43 pm
Location: Belo Horizonte , Brazil
Contact:

Re: ESP IDF installation error: Unexpected end of archive

Postby jgustavoam » Tue Jun 23, 2020 1:37 am

Hi ,
The same problem ocurred to me (Windows 10).
My solution to this was to delete all files of directory "C:\Users\User_name\Desktop\esp-idf
And run the setup again.
https://dl.espressif.com/dl/esp-idf-tools-setup-2.3.exe
Retired IBM Brasil
Electronic hobbyist since 1976.

Who is online

Users browsing this forum: Google [Bot] and 250 guests