Eclipse Plugin, Error Message

AlexESP32
Posts: 65
Joined: Thu Oct 03, 2019 9:41 am

Eclipse Plugin, Error Message

Postby AlexESP32 » Fri Jan 10, 2020 5:01 pm

Hello everyone,

I want to need the plugin (https://github.com/espressif/idf-eclipse-plugin), so i can program the esp with eclipse. Unfortunately i got this error message:

Installing tools...
This can take a while. Please be patient.
Executing C:\Users\alex\AppData\Local\Programs\Python\Python37\python.exe C:\Users\alex\Desktop\esp-idf\tools\idf_tools.py install all
Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, esp32ulp-elf, esp32s2ulp-elf, cmake, openocd-esp32, ninja, idf-exe, ccache
Skipping xtensa-esp32-elf@esp-2019r2-8.2.0 (already installed)
Skipping xtensa-esp32s2-elf@esp-2019r2-8.2.0 (already installed)
Skipping esp32ulp-elf@2.28.51-esp-20191205 (already installed)
Skipping esp32s2ulp-elf@2.28.51-esp-20191205 (already installed)
Skipping cmake@3.13.4 (already installed)
Skipping openocd-esp32@v0.10.0-esp32-20191114 (already installed)
Skipping ninja@1.9.0 (already installed)
Skipping idf-exe@1.0.1 (already installed)
Skipping ccache@3.7 (already installed)

Executing C:\Users\alex\AppData\Local\Programs\Python\Python37\python.exe C:\Users\alex\Desktop\esp-idf\tools\idf_tools.py install-python-env
Traceback (most recent call last):
File "C:\Users\alex\Desktop\esp-idf\tools\idf_tools.py", line 1387, in <module>
main(sys.argv[1:])
File "C:\Users\alex\Desktop\esp-idf\tools\idf_tools.py", line 1383, in main
action_func(args)
File "C:\Users\alex\Desktop\esp-idf\tools\idf_tools.py", line 1172, in action_install_python_env
idf_python_env_path, _, virtualenv_python = get_python_env_path()
File "C:\Users\alex\Desktop\esp-idf\tools\idf_tools.py", line 847, in get_python_env_path
cwd=global_idf_path, env=os.environ).decode()
File "C:\Users\alex\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 395, in check_output
**kwargs).stdout
File "C:\Users\alex\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 472, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\alex\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "C:\Users\alex\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden


Executing C:\Users\alex\AppData\Local\Programs\Python\Python37\python.exe C:\Users\alex\Desktop\esp-idf\tools\idf_tools.py export --format=key-value
Traceback (most recent call last):
File "C:\Users\alex\Desktop\esp-idf\tools\idf_tools.py", line 1387, in <module>
main(sys.argv[1:])
File "C:\Users\alex\Desktop\esp-idf\tools\idf_tools.py", line 1383, in main
action_func(args)
File "C:\Users\alex\Desktop\esp-idf\tools\idf_tools.py", line 1008, in action_export
idf_python_env_path, idf_python_export_path, virtualenv_python = get_python_env_path()
File "C:\Users\alex\Desktop\esp-idf\tools\idf_tools.py", line 847, in get_python_env_path
cwd=global_idf_path, env=os.environ).decode()
File "C:\Users\alex\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 395, in check_output
**kwargs).stdout
File "C:\Users\alex\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 472, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\alex\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "C:\Users\alex\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden


Maybe someone can help me with this issue?

Thank you :)

ESP_Sprite
Posts: 9709
Joined: Thu Nov 26, 2015 4:08 am

Re: Eclipse Plugin, Error Message

Postby ESP_Sprite » Mon Jan 13, 2020 8:56 pm

Moving to the IDE subforum.

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: Eclipse Plugin, Error Message

Postby ESP_kondalkolipaka » Mon Jan 20, 2020 5:34 am

I remebered this was happening when git was not part of the system environment PATH.
https://gist.github.com/kolipakakondal/ ... 0fc9cd47c2

However, if you're installing the tools from eclipse, it captures the git executable path as well. This option is available in the latest release - beta4
https://github.com/espressif/idf-eclips ... -idf-tools

AlexESP32
Posts: 65
Joined: Thu Oct 03, 2019 9:41 am

Re: Eclipse Plugin, Error Message

Postby AlexESP32 » Wed Jan 22, 2020 7:21 pm

Okay...

Who is online

Users browsing this forum: No registered users and 39 guests