no versions of espressif/cbor match ~0.6

A_EsP_User100
Posts: 4
Joined: Mon Jun 24, 2024 1:34 am

no versions of espressif/cbor match ~0.6

Postby A_EsP_User100 » Mon Jul 08, 2024 12:48 pm

When using the switch demo of esp rainmaker:

.CMake Error at D:/Code/ESP-IDF/Espressif/frameworks/esp-idf-v5.2.1/tools/cmake/build.cmake:544 (message):
ERROR: Because no versions of espressif/esp_insights match >1.0.1,<1.1.0

and espressif/esp_insights (1.0.1) depends on espressif/cbor (~0.6), espressif/esp_insights (>=1.0.1,<1.1.0) requires espressif/cbor (~0.6).

So, because no versions of espressif/cbor match ~0.6

and project depends on espressif/esp_insights (~1.0.1), version solving failed.

ESP-IDF V5.2.1
Windows,Vscode.

bionicBilal
Posts: 1
Joined: Tue Jul 09, 2024 12:05 pm

Re: no versions of espressif/cbor match ~0.6

Postby bionicBilal » Tue Jul 09, 2024 12:11 pm

Same problem!
I am using ESP-IDF v5.1.4
and latest rainmaker.

ESP_Piyush
Posts: 285
Joined: Wed Feb 20, 2019 7:02 am

Re: no versions of espressif/cbor match ~0.6

Postby ESP_Piyush » Wed Jul 10, 2024 8:35 am

We had experience issues with some versions of the idf component manager. Can you try specifically with v1.4.2?

Code: Select all

pip install idf-component-manager==1.4.2

A_EsP_User100
Posts: 4
Joined: Mon Jun 24, 2024 1:34 am

Re: no versions of espressif/cbor match ~0.6

Postby A_EsP_User100 » Wed Jul 10, 2024 12:37 pm

pip install idf-component-manager==1.4.2

I have used the above instructions and confirmed successful execution. However, the following issues occurred:

Dependencies lock doesn't exist, solving dependencies.
Using component placed at C:\Users\TEST\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0)(introduced by component esp_diagnostics)
-------------------------------------------------------------------------------------------------------------------------------------------------
I will omit similar prompts between them.
-------------------------------------------------------------------------------------------------------------------------------------------------

WARNING: Component "espressif/rain_maker" not found

WARNING: Component "espressif/cbor" not found

WARNING: Component "espressif/esp_secure_cert_mgr" not found

WARNING: Component "espressif/jsmn" not found

WARNING: Component "espressif/mdns" not found

WARNING: Component "espressif/jsmn" not found

WARNING: Component "espressif/cbor" not found

WARNING: Component "espressif/esp_secure_cert_mgr" not found

WARNING: Component "espressif/jsmn" not found

WARNING: Component "espressif/mdns" not found

HINT: Please check manifest file of the following component(s): json_parser

I would like to inquire about how to install these components.

ESP_Piyush
Posts: 285
Joined: Wed Feb 20, 2019 7:02 am

Re: no versions of espressif/cbor match ~0.6

Postby ESP_Piyush » Mon Jul 15, 2024 12:50 pm

Do you have any custom changes to the project? There is no component called "espressif/rain_maker" which is shown in your logs.

A_EsP_User100
Posts: 4
Joined: Mon Jun 24, 2024 1:34 am

Re: no versions of espressif/cbor match ~0.6

Postby A_EsP_User100 » Tue Jul 16, 2024 2:31 pm

ESP_Piyush wrote:
Mon Jul 15, 2024 12:50 pm
Do you have any custom changes to the project? There is no component called "espressif/rain_maker" which is shown in your logs.
I deleted the original code and retested it.

compote version
1.5.3.

Executing git clone - recursive https://github.com/espressif/esp-rainmaker.git The output is as follows

PS E:\RAINMAKER_TEST> git clone --recursive https://github.com/espressif/esp-rainmaker.git
Cloning into 'esp-rainmaker'...
remote: Enumerating objects: 4390, done.
remote: Counting objects: 100% (1349/1349), done.
remote: Compressing objects: 100% (390/390), done.
Receiving objects: 100% (4390/4390), 2.63 MiB | 98.00 KiB/s, done.sed 3041

Resolving deltas: 100% (2964/2964), done.
Submodule 'cli' ( https://github.com/espressif/esp-rainmaker-cli.git ) registered for path 'cli'
Submodule 'components/esp-insights' ( https://github.com/espressif/esp-insights.git ) registered for path 'components/esp-insights'
Submodule 'components/rmaker_common' ( https://github.com/espressif/esp-rainmaker-common.git ) registered for path 'components/rmaker_common'
Cloning into 'E:/RAINMAKER_TEST/esp-rainmaker/cli'...
remote: Enumerating objects: 385, done.
remote: Counting objects: 100% (385/385), done.
remote: Compressing objects: 100% (284/284), done.
remote: Total 385 (delta 187), reused 283 (delta 85), pack-reused 0
Receiving objects: 100% (385/385), 283.72 KiB | 968.00 KiB/s, done.
Resolving deltas: 100% (187/187), done.
Cloning into 'E:/RAINMAKER_TEST/esp-rainmaker/components/esp-insights'...
fatal: unable to access ' https://github.com/espressif/esp-insights.git/ ': Recv failure: Connection was reset
fatal: clone of ' https://github.com/espressif/esp-insights.git ' into submodule path 'E:/RAINMAKER_TEST/esp-rainmaker/components/esp-insights' failed
Failed to clone 'components/esp-insights'. Retry scheduled
Cloning into 'E:/RAINMAKER_TEST/esp-rainmaker/components/rmaker_common'...
error: RPC failed; curl 28 Recv failure: Connection was reset
fatal: expected flush after ref listing
fatal: clone of ' https://github.com/espressif/esp-rainmaker-common.git ' into submodule path 'E:/RAINMAKER_TEST/esp-rainmaker/components/rmaker_common' failed
Failed to clone 'components/rmaker_common'. Retry scheduled
Cloning into 'E:/RAINMAKER_TEST/esp-rainmaker/components/esp-insights'...
fatal: unable to access ' https://github.com/espressif/esp-insights.git/ ': Failed to connect to github.com port 443 after 21064 ms: Couldn't connect to server
fatal: clone of ' https://github.com/espressif/esp-insights.git ' into submodule path 'E:/RAINMAKER_TEST/esp-rainmaker/components/esp-insights' failed
Failed to clone 'components/esp-insights' a second time, aborting

Then I repeated 'git submodule update -- init -- recursive' until the components were completely added, downloaded cbor from the repository, decompressed it, renamed the folder to cbor, and placed it in the components directory
Finally successfully compiled and burned, thank you very much.

Who is online

Users browsing this forum: No registered users and 15 guests