GithubHelp home page GithubHelp logo

Comments (2)

igrr avatar igrr commented on June 16, 2024

Sorry, at the moment the plugin supports IDF 4.x. We will update IDF 3.3.x to include features required by the plugin in the future.

https://github.com/espressif/idf-eclipse-plugin/blob/master/README.md#prerequisites

from idf-eclipse-plugin.

robcazzaro avatar robcazzaro commented on June 16, 2024

******** Please disregard. It turns out that the subprocess lib I installed was then causing a problem. Once I remove it with "pip uninstall subprocess.run" I could relaunch the tools install and this time completed properly. Apologies for the waste of time ***********

************** disregard *******************

Thanks for the prompt answer, but there is still the same problem even with 4.0. As I said, I copied all the relevant files from 4.0, but still had errors.

Anyway, I downloaded 4.0-beta1, the officially suggested 4.0 build, rerun on a clean slate. Same missing module in Python (which is something many users without that module will face; the module is not installed by default in Python Windows)

And same error at the end (I removed all the download % from the console), see below

I'd be happy enough to enter the environment settings by hand, if needed, but while some names re listed, there's no details on how to set them

Installing tools...
This can take a while. Please be patient.
Executing C:\Program Files\Python37\python.exe C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py install all
Installing tools: xtensa-esp32-elf, esp32ulp-elf, cmake, openocd-esp32, mconf, ninja, idf-exe, ccache
Installing [email protected]
Downloading xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-win32.zip to C:\Users\Roberto.espressif\dist\xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-win32.zip.tmp
0%
100%
Done
Extracting C:\Users\Roberto.espressif\dist\xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-win32.zip to C:\Users\Roberto.espressif\tools\xtensa-esp32-elf\esp32-2019r1-8.2.0
Installing [email protected]
Downloading binutils-esp32ulp-win32-2.28.51-esp32ulp-20180809.zip to C:\Users\Roberto.espressif\dist\binutils-esp32ulp-win32-2.28.51-esp32ulp-20180809.zip.tmp
0%
100%
Done
Extracting C:\Users\Roberto.espressif\dist\binutils-esp32ulp-win32-2.28.51-esp32ulp-20180809.zip to C:\Users\Roberto.espressif\tools\esp32ulp-elf\2.28.51.20170517
Installing [email protected]
Downloading cmake-3.13.4-win64-x64.zip to C:\Users\Roberto.espressif\dist\cmake-3.13.4-win64-x64.zip.tmp
0%
100%
Done
Extracting C:\Users\Roberto.espressif\dist\cmake-3.13.4-win64-x64.zip to C:\Users\Roberto.espressif\tools\cmake\3.13.4
Installing [email protected]
Downloading openocd-esp32-win32-0.10.0-esp32-20190313.zip to C:\Users\Roberto.espressif\dist\openocd-esp32-win32-0.10.0-esp32-20190313.zip.tmp
0%
100%
Done
Extracting C:\Users\Roberto.espressif\dist\openocd-esp32-win32-0.10.0-esp32-20190313.zip to C:\Users\Roberto.espressif\tools\openocd-esp32\v0.10.0-esp32-20190313
Installing [email protected]
Downloading mconf-v4.6.0.0-idf-20190628-win32.zip to C:\Users\Roberto.espressif\dist\mconf-v4.6.0.0-idf-20190628-win32.zip.tmp
0%
100%
Done
Extracting C:\Users\Roberto.espressif\dist\mconf-v4.6.0.0-idf-20190628-win32.zip to C:\Users\Roberto.espressif\tools\mconf\v4.6.0.0-idf-20190628
Installing [email protected]
Downloading ninja-1.9.0-win64.zip to C:\Users\Roberto.espressif\dist\ninja-1.9.0-win64.zip.tmp
0%
100%
Done
Extracting C:\Users\Roberto.espressif\dist\ninja-1.9.0-win64.zip to C:\Users\Roberto.espressif\tools\ninja\1.9.0
Installing [email protected]
Downloading idf-exe-v1.0.1.zip to C:\Users\Roberto.espressif\dist\idf-exe-v1.0.1.zip.tmp
0%
100%
Done
Extracting C:\Users\Roberto.espressif\dist\idf-exe-v1.0.1.zip to C:\Users\Roberto.espressif\tools\idf-exe\1.0.1
Installing [email protected]
Downloading ccache-3.7-w64.zip to C:\Users\Roberto.espressif\dist\ccache-3.7-w64.zip.tmp
0%
97%
100%
Done
Extracting C:\Users\Roberto.espressif\dist\ccache-3.7-w64.zip to C:\Users\Roberto.espressif\tools\ccache\3.7

Executing C:\Program Files\Python37\python.exe C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py install-python-env
Traceback (most recent call last):
File "C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py", line 1317, in
main(sys.argv[1:])
File "C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py", line 1313, in main
action_func(args)
File "C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py", line 1112, in action_install_python_env
idf_python_env_path, , virtualenv_python = get_python_env_path()
File "C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py", line 813, in get_python_env_path
idf_version_str = subprocess.check_output(['git', '-C', global_idf_path, 'describe', '--tags'], cwd=global_idf_path, env=os.environ).decode()
File "C:\Program Files\Python37\lib\subprocess.py", line 395, in check_output
**kwargs).stdout
File "C:\Program Files\Python37\lib\site-packages\run_init
.py", line 145, in new
process = cls.create_process(command, stdin, cwd=cwd, env=env, shell=shell)
File "C:\Program Files\Python37\lib\site-packages\run_init_.py", line 121, in create_process
shlex.split(command),
File "C:\Program Files\Python37\lib\shlex.py", line 305, in split
return list(lex)
File "C:\Program Files\Python37\lib\shlex.py", line 295, in next
token = self.get_token()
File "C:\Program Files\Python37\lib\shlex.py", line 105, in get_token
raw = self.read_token()
File "C:\Program Files\Python37\lib\shlex.py", line 136, in read_token
nextchar = self.instream.read(1)
AttributeError: 'list' object has no attribute 'read'

Executing C:\Program Files\Python37\python.exe C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py export --format=key-value
Traceback (most recent call last):
File "C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py", line 1317, in
main(sys.argv[1:])
File "C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py", line 1313, in main
action_func(args)
File "C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py", line 953, in action_export
idf_python_env_path, idf_python_export_path, virtualenv_python = get_python_env_path()
File "C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py", line 813, in get_python_env_path
idf_version_str = subprocess.check_output(['git', '-C', global_idf_path, 'describe', '--tags'], cwd=global_idf_path, env=os.environ).decode()
File "C:\Program Files\Python37\lib\subprocess.py", line 395, in check_output
**kwargs).stdout
File "C:\Program Files\Python37\lib\site-packages\run_init_.py", line 145, in new
process = cls.create_process(command, stdin, cwd=cwd, env=env, shell=shell)
File "C:\Program Files\Python37\lib\site-packages\run_init_.py", line 121, in create_process
shlex.split(command),
File "C:\Program Files\Python37\lib\shlex.py", line 305, in split
return list(lex)
File "C:\Program Files\Python37\lib\shlex.py", line 295, in next
token = self.get_token()
File "C:\Program Files\Python37\lib\shlex.py", line 105, in get_token
raw = self.read_token()
File "C:\Program Files\Python37\lib\shlex.py", line 136, in read_token
nextchar = self.instream.read(1)
AttributeError: 'list' object has no attribute 'read'

from idf-eclipse-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.