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

V2.7.0 doesn't correctly install IDF-V5.0 offline tools (IEP-845) #672

Open
DspDave opened this issue Jan 3, 2023 · 4 comments
Open

V2.7.0 doesn't correctly install IDF-V5.0 offline tools (IEP-845) #672

DspDave opened this issue Jan 3, 2023 · 4 comments
Assignees

Comments

@DspDave
Copy link

DspDave commented Jan 3, 2023

Describe the bug
In Windows 10 using the Eclipse IDE, If the offline use of IDF-V4.4.3 is updated to the offline IDF-V5.0 the tools are not correctly installed.

To Reproduce
.1 Download the new ESP-IDF V5.0 installer (esp-idf-tools-setup-offline-5.0.exe) and the espressif-ide-setup-2.7.0-with-esp-idf-4.4.3.exe.
.2 Disconnect the internet connection.
.3 Run espressif-ide-setup-2.7.0-with-esp-idf-4.4.3.exe to install Eclipse IDE & ESP-IDF V4.4.3 tools, can now build 'blink' project OK.
.4 Run new esp-idf-tools-setup-offline-5.0.exe which completes by running idf-command-init.bat & install.sh without issue.
.5 Using the Espressif->Download and Configure IDF & selecting the 'C:\Espressif\frameworks\esp-idf-v5.0'
.6 Close Eclipse & re-open Eclipse, to be sure...
.7 Delete Build Folder & rebuild project
.8 Project fails to build with following errors (see BuildFails001.txt)
.9 Use the Espressif->ESP-IDF Tools Manager->Install Tool option to update the IDF & tools launches the same 'Install tools' dialog and ends in the same result.
.10 Use the Espressif->ESP-IDF Tools Manager->Tools Installation Wizard to update the IDF & tools shows all of the V5.0 tools as uninstalled & generates the following log (see InstallToolsWizard.txt).

Eclipse Error Logs have been captured whilst using the different plugin IDF update methods.

Expected behavior
The active IDF & Tool chain tool chain should use IDF-V5.0.

Unexpected Behaviour
Again if the internet is connected this works, however the values configured in 'espidf.constraints.v5.0.txt' seem incorrect as the IDF actually has library scripts in it that are too new?

The line in the build log 'Are you connected to the internet?' seems suspicious for off-line operation.

Attempting to list installed tools launches the dialog asking for tool installation again?

Screenshots
ErrorInfo.zip
MissingTools

Espressif-IDE Product Information:
EspressifProductInfo.txt

Eclipse Error log:
ErrorLogs.zip

@github-actions github-actions bot changed the title V2.7.0 doesn't correctly install IDF-V5.0 offline tools V2.7.0 doesn't correctly install IDF-V5.0 offline tools (IEP-845) Jan 3, 2023
@kolipakakondal
Copy link
Collaborator

Hi @DspDave Thanks for reporting and sharing the logs. Will take a look.

@kolipakakondal
Copy link
Collaborator

Hi @AndriiFilippov Could we try to reproduce this locally?

@AndriiFilippov
Copy link
Collaborator

@kolipakakondal hi !
I was able to reproduce this one.

@alirana01
Copy link
Collaborator

@DspDave thank you for reporting the issue we are working on a solution for this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants