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

idf_component.yml not conform with latest esp-idf #6246

Closed
1 task done
VOMediola opened this issue Feb 7, 2022 · 7 comments
Closed
1 task done

idf_component.yml not conform with latest esp-idf #6246

VOMediola opened this issue Feb 7, 2022 · 7 comments

Comments

@VOMediola
Copy link

Board

doesn't matter

Device Description

esp32

Hardware Configuration

n/a

Version

latest master

IDE Name

esp-idf v4.4

Operating System

linux

Flash frequency

40

PSRAM enabled

no

Upload speed

115200

Description

When calling menuconfig in project with arduino as component, the new file idf_component.yml throws an error

2 problems were found in the manifest file /home/test/blink/components/arduino/idf_component.yml:
Invalid manifest format
Unknown keys: tags
CMake Error at /home/test/tools/esp-idf-v4.4/tools/cmake/build.cmake:455 (message):
Call Stack (most recent call first):
/home/test/tools/esp-idf-v4.4/tools/cmake/project.cmake:378 (idf_build_process)
CMakeLists.txt:8 (project)

When removing the file the menuconfig works

Sketch

none

Debug Message

none

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@VOMediola VOMediola added the Status: Awaiting triage Issue is waiting for triage label Feb 7, 2022
@VOMediola
Copy link
Author

@magicarm22 @kumekay I tag you as you are contributors of this file.

@magicarm22
Copy link
Contributor

magicarm22 commented Feb 7, 2022

@VOMediola What version of the idf-component-manager do you use? Did you update all python dependencies from ESP-IDF requirements.txt file?
You can use command python -m idf_component_manager -h. You need to use v1.0.0 or greater

@VOMediola
Copy link
Author

@magicarm22 I have
IDF component manager v1.0.1

I imagine requirment.txt is checked by python when I run install.sh?

@bbsan2k
Copy link
Contributor

bbsan2k commented Feb 11, 2022

I'm experiencing the same issue on idf-4.4 and arduino-esp as master.
It seems that removing the tags key in the yaml file does the trick, although this is surely just a workaround...

@kumekay
Copy link
Contributor

kumekay commented Feb 11, 2022

@VOMediola @bbsan2k Just a quick question, are you sure that you have installed in the IDF's virtual environment?

I.e. try to run (for linux/macos, for win export.ps1)

cd your/path/to/esp-idf
. ./export.sh
pip install idf-component-manager -U
python -m idf_component_manager -h

Unfortunately, ESP-IDF 4.4.0 was released with a slightly weaker requirement for component-manager, so install.sh doesn't enforce it. However, on clean installs, it should always download the latest version.

Please let me know if you have the latest version of the component manager and problem is still present.

@bbsan2k
Copy link
Contributor

bbsan2k commented Feb 11, 2022

@VOMediola @bbsan2k Just a quick question, are you sure that you have installed in the IDF's virtual environment?

I.e. try to run (for linux/macos, for win export.ps1)

cd your/path/to/esp-idf
. ./export.sh
pip install idf-component-manager -U
python -m idf_component_manager -h

Unfortunately, ESP-IDF 4.4.0 was released with a slightly weaker requirement for component-manager, so install.sh doesn't enforce it. However, on clean installs, it should always download the latest version.

Please let me know if you have the latest version of the component manager and problem is still present.

This actually fixed it. My component manager didn't have the right version as it seems, as it returned no version with the helpcommand.
Thanks!

@VojtechBartoska VojtechBartoska added Type: Question Only question and removed Status: Awaiting triage Issue is waiting for triage labels Feb 14, 2022
@VojtechBartoska
Copy link
Collaborator

Closing.

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

5 participants