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

IDF V5.0 Offline installer needs to be online? (IDFGH-8998) #10409

Closed
3 tasks done
DspDave opened this issue Dec 20, 2022 · 5 comments · Fixed by espressif/idf-installer#158
Closed
3 tasks done

IDF V5.0 Offline installer needs to be online? (IDFGH-8998) #10409

DspDave opened this issue Dec 20, 2022 · 5 comments · Fixed by espressif/idf-installer#158
Assignees
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally Type: Bug bugs in IDF

Comments

@DspDave
Copy link

DspDave commented Dec 20, 2022

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.

5.0

Operating System used.

Windows

How did you build your project?

Command line with Make

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

None

What is the expected behavior?

I expected to be able to install the V5.0 IDF in an offline development environment.

What is the actual behavior?

The installer only completes the installation if connected to the internet.

Steps to reproduce.

My normal development system is offline so I used the V5.0 offline installer which failed after ~90% of the installation had completed.

I installed the latest Eclipse installer V2.7.0 with IDF V4.4.3 (espressif-ide-setup-2.7.0-with-esp-idf-4.4.3.exe) on new machine with internet disconnected, all ok builds example project.

Repeated the V5.0 offline installation on this new new an online machine with the network connection un plugged and it fails in exactly the same way.
If the network connection is restored then the installation succeeds.

I have attached the log so you can see that the installer does not cope when it can't download xtensa-esp-elf-gdb-11.2_20220823-x86_64-w64-mingw32.zip from git hub.

Regards Dave.

Off line Setup Log 2022-12-19 #002.zip

Build or installation Logs.

Log added as zip file

More Information.

I have submitted a Forum issue, https://www.esp32.com/viewtopic.php?f=13&t=31179

@DspDave DspDave added the Type: Bug bugs in IDF label Dec 20, 2022
@espressif-bot espressif-bot added the Status: Opened Issue is new label Dec 20, 2022
@github-actions github-actions bot changed the title IDF V5.0 Offline installer needs to be online? IDF V5.0 Offline installer needs to be online? (IDFGH-8998) Dec 20, 2022
@dobairoland
Copy link
Collaborator

@georgik PTAL. Maybe the tools.json file was out of sync with the included tool in the installer?

@igrr
Copy link
Member

igrr commented Dec 20, 2022

@georgik
Copy link
Collaborator

georgik commented Dec 22, 2022

Thank you for reporting the problem. Confirmed, it's not possible to deploy all target's with Offline installer.

Offline installer is downloading tools by command (https://github.com/espressif/idf-installer/blob/main/Build-Installer.ps1#L260) :

idf_tools.py --tools-json tools/tools.json --non-interactive install

Then the installation is performed by

python.exe "C:\Espressif\frameworks\esp-idf-v5.0\tools\idf_tools.py" "--idf-path=C:\Espressif\frameworks\esp-idf-v5.0"   install --targets=esp32,esp32-c3,esp32-s3,esp32-s2

The first command does not download gdb, so it's missing in the final image (xtensa-esp-elf-gdb-11.2_20220823-x86_64-w64-mingw32.zip)

@georgik
Copy link
Collaborator

georgik commented Dec 22, 2022

The rebuild of the installer is ready.

@DspDave, please, re-download the latest version of the Offline installer. The installation should be successful.
Download: https://github.com/espressif/idf-installer/releases/tag/offline-5.0

@espressif-bot espressif-bot added Resolution: Done Issue is done internally Status: Done Issue is done internally and removed Status: Opened Issue is new labels Dec 27, 2022
@DspDave
Copy link
Author

DspDave commented Jan 4, 2023

Thanks, the offline IDF-V5.0 now works correctly, however the Eclipse plugin V2.7.0 is now working correctly.
Bug issue raised espressif/idf-eclipse-plugin#672.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally Type: Bug bugs in IDF
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants