-
Notifications
You must be signed in to change notification settings - Fork 18
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.py fullclean shows ERROR in remove_managed_components (.gitignore support for hash calculations) (IDFGH-9024) (PACMAN-544) #15
Comments
Hi @AxelLin could you please provide more details about your environment to help us reproduce this problem:
Do you experience the problem only with this component or with other too? |
|
I only use littlefs, so I'm not sure if other components have issue or not.
|
@AxelLin thank you so much, Could you please also share the content of |
$ cat managed_components/joltwallet__littlefs/.component_hash BTW, everytime I execute "idf.py menuconfig" it will show message to ask I delete it, then execute "idf.py menuconfig". It will generate exactly the same content again: |
It was working with v5.1-dev-2356-gedd815af2e, and fails after upgrade to v5.1-dev-2495-ge5926d1b1b. Downloading https://dl.espressif.com/pypi/idf-component-manager/idf_component_manager-1.2.1-py3-none-any.whl (116 kB) |
@AxelLin Thank you so much. We were able to reproduce the problem. While a proper solution is on its way, could you please stick to an older version of the component manager by running
in your ESP-IDF environment (after We will move this issue to http://github.com/espressif/idf-component-manager project. |
Hi @kumekay
main.py: error: argument --interface_version: invalid choice: 2 (choose Call Stack (most recent call first): -- Configuring incomplete, errors occurred! |
@AxelLin Yes, unfortunately, after espressif/esp-idf@17224f3 master branch requires component-manager 1.2+ You can use the commit of ESP-IDF before this. The solution to the problem is not trivial and takes time. We will release it by next week. |
A problem in espressif/idf-flash-vendor-patches#1 (comment) is probably related to this one, so I'm mentioning the comment. |
@kumekay |
@AxelLin, I apologize for the delay in addressing this issue. We are committed to releasing a solution by tomorrow. Update: 1.2.2 release is planned for Friday, 13.01 |
Before we release, would you mind trying the version of the component manager from the branch You can install it with this command:
|
I apologize for not mentioning it in my previous comment, but before installing from git, it is necessary to remove the previous version from PyPI. However, I am pleased to inform you that a new bugfix release has been made available on PyPI. You can update to v1.2.2 either by running |
Hi @kumekay |
I'm using v5.1.1-1-gd3c99ed3b8 to build for esp32c3. $ idf.py fullclean build But I didn't touch anything in managed_components folder. |
@kumekay |
Hello @AxelLin We are still looking for the best approach to dealing with this problem maintaining guarantees on reproducibility that component manager promises. We will address it in the coming release |
Hello @AxelLin the files that littlefs generates during build are already gitignored and can be excluded to resolve the problem. Unfortunately, we can only do it for coming ESP-IDF version 5.2. For existing versions of IDF, we can exclude filters to the idf_component.yml of the littlefs. So for this particular component, will do our best to fix it next week. |
Hi @kumekay This is probably off-topic from the origianl issue, I'm wondering if you can help to answer it: While debugging, sometimes I would like to add some debug code in the managed component files, |
Hi @AxelLin |
related to 193974b |
Version 2.0.0 has been released, and I think 193974b solves your original problem. closing the issue. |
Answers checklist.
IDF version.
v5.1-dev-2509-gcfef24863f
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.
None
Development Kit.
ESP32C3DevKit-M1
Power Supply used.
USB
What is the expected behavior?
"idf.py fullclean" should work without any error.
What is the actual behavior?
After upgrade to v5.1-dev-2509-gcfef24863f, now everytime executing "idf.py fullclean" shows below error:
I didn't change anythin in managed_components folder, and this error does not happen before upgrading esp-idf.
$ idf.py fullclean
Executing action: fullclean
Executing action: remove_managed_components
ERROR:
Some components (joltwallet__littlefs) in the "managed_components" directory were modified on the disk since the last run of the CMake. Content of this directory is managed automatically.
Steps to reproduce.
idf.py build ; idf.py fullclean
Debug Logs.
No response
More Information.
No response
The text was updated successfully, but these errors were encountered: