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

使用ubuntu22.04 install.sh esp-idfv4.4.2报错 (IDFGH-8408) #9874

Closed
3 tasks done
yuandonglp opened this issue Sep 28, 2022 · 3 comments
Closed
3 tasks done

使用ubuntu22.04 install.sh esp-idfv4.4.2报错 (IDFGH-8408) #9874

yuandonglp opened this issue Sep 28, 2022 · 3 comments
Labels
Resolution: Duplicate This issue or pull request already exists Status: Done Issue is done internally Type: Bug bugs in IDF

Comments

@yuandonglp
Copy link

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.

4.4.2

Operating System used.

Linux

How did you build your project?

Command line with idf.py

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

No response

What is the expected behavior?

使用ubuntu22.04 install.sh esp-idfv4.4.2

What is the actual behavior?

无法install成功

Steps to reproduce.

  1. Step
  2. Step
  3. Step
    ...
    1、git v4.4.2分支
    2、install

Build or installation Logs.

root@yd-virtual-machine:~/esp32s3/esp-idf# ../esp-gitee-tools/install.sh 
Detecting Python interpreter
Checking "python" ...
Python 3.10.6
"python" has been detected
Installing ESP-IDF tools
Current system platform: linux-amd64
Traceback (most recent call last):
  File "/root/esp32s3/esp-idf/tools/idf_tools.py", line 1860, in <module>
    main(sys.argv[1:])
  File "/root/esp32s3/esp-idf/tools/idf_tools.py", line 1856, in main
    action_func(args)
  File "/root/esp32s3/esp-idf/tools/idf_tools.py", line 1423, in action_install
    targets = clean_targets(args.targets)
  File "/root/esp32s3/esp-idf/tools/idf_tools.py", line 1085, in clean_targets
    export_targets_to_idf_env_json(targets_from_tools_json)
  File "/root/esp32s3/esp-idf/tools/idf_tools.py", line 1053, in export_targets_to_idf_env_json
    targets = list(set(targets + get_user_defined_targets()))
  File "/root/esp32s3/esp-idf/tools/idf_tools.py", line 1099, in get_user_defined_targets
    if env == idf_env_json['idfSelectedId']:
KeyError: 'idfSelectedId'
root@yd-virtual-machine:~/esp32s3/esp-idf#

More Information.

No response

@yuandonglp yuandonglp added the Type: Bug bugs in IDF label Sep 28, 2022
@espressif-bot espressif-bot added the Status: Opened Issue is new label Sep 28, 2022
@github-actions github-actions bot changed the title 使用ubuntu22.04 install.sh esp-idfv4.4.2报错 使用ubuntu22.04 install.sh esp-idfv4.4.2报错 (IDFGH-8408) Sep 28, 2022
@AxelLin
Copy link
Contributor

AxelLin commented Sep 28, 2022

Duplicate of #9837
Fixed in v4.4 branch, 640f1c8 .

@espressif-bot espressif-bot added Resolution: Duplicate This issue or pull request already exists Status: Done Issue is done internally and removed Status: Opened Issue is new labels Sep 28, 2022
@dobairoland
Copy link
Collaborator

Please follow the linked issue. You can find temporary workaround there.

@guoxiaolong5669
Copy link

我也遇到了这个问题 不知道怎么解决

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

No branches or pull requests

5 participants