Espressif IDF 1.3.0 hung at "ESP-IDF: Menuconfig: Configuring server"

rozzie
Posts: 12
Joined: Sat Sep 05, 2020 4:57 pm

Espressif IDF 1.3.0 hung at "ESP-IDF: Menuconfig: Configuring server"

Postby rozzie » Sat Feb 12, 2022 9:05 pm

Hello. I am new to using vscode, and esp-idf under vscode, so I thank you in advance for your patience.

By way of background, I'm using a Macbook Pro M1 Max.

Today I did a clean install of vscode (1.64.2 Universal), and added extensions for PlatformIO (2.4.2) and Espressif IDF (1.3.0).

I created a project, and within it a main.c with your "hello world" example.

The very first thing i need to do is to identify the target, and presumably do other things as necessitated by idf's menuconfig tool.

So I pressed F1 and selected "ESP-IDF: SDK Configuration editor (menuconfig)" to bring up the gui menu config tool.

What I got is a small pop-up in the lower right corner of the window saying:

ESP-IDF: Menuconfig: Configuring server
Source: Espressif IDF (Extensioni)

Below it is a progress bar that is stuck at about 25%. I have left it for an hour and it never completes.

I've tried restarting VS Code, but to no avail.

I see that others who have had problems tend to attach a "doctor" output, so it's attached.

Your help would be greatly appreciated; I'm stuck and need to make progress on this project. Thanks much.
Attachments
Screen Shot 2022-02-13 at 7.48.20 AM.png
Screen Shot 2022-02-13 at 7.48.20 AM.png (1.34 MiB) Viewed 3594 times
doctor.txt
(32.94 KiB) Downloaded 256 times
Last edited by rozzie on Sun Feb 13, 2022 1:40 pm, edited 1 time in total.

rozzie
Posts: 12
Joined: Sat Sep 05, 2020 4:57 pm

No module named click

Postby rozzie » Sun Feb 13, 2022 1:27 pm

In case it helps to debug, when I do F1 "ESP-IDF: Monitor your device", the terminal displays:

bash-3.2$ python /Users/rozzie/esp/esp-idf/tools/idf.py -p /dev/ttyUSB1 monitor
Traceback (most recent call last):
File "/Users/rozzie/esp/esp-idf/tools/idf.py", line 36, in <module>
from idf_py_actions.tools import executable_exists, idf_version, merge_action_lists, realpath # noqa: E402
File "/Users/rozzie/esp/esp-idf/tools/idf_py_actions/tools.py", line 7, in <module>
import click
ImportError: No module named click

ESP_bignacio
Posts: 229
Joined: Wed May 02, 2018 12:12 pm

Re: Espressif IDF 1.3.0 hung at "ESP-IDF: Menuconfig: Configuring server"

Postby ESP_bignacio » Tue Mar 15, 2022 6:33 am

This happens because as shown in the doctor output your extension is not properly configured.

Run the Configure ESP-IDF extension command.

Who is online

Users browsing this forum: No registered users and 20 guests