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

ESP-IDF Manger - Installing IDF v5.1.5 (any other version have the same behavor) (IEP-1350) #1073

Open
huwi opened this issue Oct 31, 2024 · 7 comments

Comments

@huwi
Copy link

huwi commented Oct 31, 2024

Describe the bug

Thank you for your great work.

After installing eclipse and added esp idf plugin, the es-idf manager cant install the idf environment.
-> Espressif->ESP-IDF Manger->Add ESP-IDF
The process is running. at the end a message pops up:

Problem Occurred
Cannot invoke "String indexOf(int) because "value" is null
=> Details
Cannot invoke "String.indexOf(int)" because "value" is null
Cannot invoke "String.indexOf(int)" because "value" is null

**Espressif-IDE Product Information:
Eclipse Plugin 3.1.0.2024.100707 (From Marketplace)
ESP-IDF v1.5.1, ESP-IDF v5.3.1, ....

Eclipse Error log:
Window > Show View > Other > Search for "Error Log" (Attach as a file)

Please attach the error log as described here https://github.com/espressif/idf-eclipse-plugin#error-log
Bildschirmfoto vom 2024-10-31 08-21-35
Bildschirmfoto vom 2024-10-31 08-21-35
Bildschirmfoto vom 2024-10-31 08-23-20
Bildschirmfoto vom 2024-10-31 08-24-08

Kind Regards, Hubert

@github-actions github-actions bot changed the title ESP-IDF Manger - Installing IDF v5.1.5 (any other version have the same behavor) ESP-IDF Manger - Installing IDF v5.1.5 (any other version have the same behavor) (IEP-1350) Oct 31, 2024
@alirana01
Copy link
Collaborator

@huwi thanks for reporting this issue.

Can I please ask you to download the esp-idf required version via the IDE. This is a known issue but it was only reported for the master branch. We have the fix for that in the upcoming release. For other versions it should not report this error. Also please export and attach the logs so we can investigate the details.

@alirana01
Copy link
Collaborator

@huwi another thing I just noticed is that you are specifying the python from virtual env folder. The python needs to be the system python not from the virtual env directory. Please try to use the system python when installing tools. The virtual env python is picked up by the IDE itself when the tools are installed.

@apalazzi
Copy link

apalazzi commented Nov 19, 2024

Hi,
I'm having the same issue. Clean Eclipse install, then installed the IDF plugin via marketplace. The error occurs when installing the toolchain but also when trying to use the tools installed separately as explained here: https://docs.espressif.com/projects/esp-idf/en/v5.3.1/esp32/get-started/linux-macos-setup.html
In my case python is the system python.
Edit: the problem still occurs with the "beta" version, here is the log.
esp-idf.log

@alirana01
Copy link
Collaborator

@apalazzi the issue will be fixed with the upcoming release.

@mmrein
Copy link

mmrein commented Nov 21, 2024

@alirana01 ETA on upcoming release or is there some workaround?

Tried resatrting and using system python path, issue still exists.

@apalazzi
Copy link

@mmrein I haven't tested it deeply, but it seems to work on the latest nightly builds: https://github.com/espressif/idf-eclipse-plugin?tab=readme-ov-file#installing-idf-plugin-using-update-site-url

@mmrein
Copy link

mmrein commented Nov 21, 2024

@apalazzi Ok, seems to be working, thank you

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

No branches or pull requests

4 participants