vscode-esp-idf-extension: [Bug Report]: Cannot load examples (VSC-639)
Pre Bug Report Checklist Before reporting any bug please make sure of these points.
- [ X ] Make sure you have searched for existing bugs and features request before you post an issue.
- [ X ] This is a bug report for the ESP-IDF Visual Studio Code extension and not an ESP-IDF bug report.
- [ X ] I’ve read the docs and found no information that could have helped solving the issue.
Describe the bug Cannot open examples with the ESP-IDF: Show Example Projects command
To Reproduce Install in VS Code, fresh start
Expected behavior The examples page to open
Screenshots


Environment (please complete the following information):
- OS Name & Version: [MacOS Catalina 10.15.7]
- VSCode Version: [1.55.2]
- ESP-IDF Version: [1.0.2]
- Python Version: [3.9.4]
Logs Everything ok with doctor command:
---------------------------------------------- ESP-IDF Extension for Visual Studio Code report --------------------------------------------- OS darwin x64 19.6.0 System environment variable PATH /Users/tomascharad/.rvm/gems/ruby-2.3.1/bin:/Users/tomascharad/.rvm/gems/ruby-2.3.1@global/bin:/Users/tomascharad/.rvm/rubies/ruby-2.3.1/bin:/Users/tomascharad/google-cloud-sdk/bin:/usr/local/opt/nvm/versions/node/v14.16.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/usr/local/git/bin:/Users/tomascharad/.rvm/bin Visual Studio Code version 1.0.2 Visual Studio Code language en Visual Studio Code shell /bin/zsh ESP-IDF Extension version 1.55.2 ---------------------------------------------------- Extension configuration settings ------------------------------------------------------ ESP-IDF Path (idf.espIdfPath) /Users/tomascharad/esp/esp-idf Custom extra paths (idf.customExtraPaths) /Users/tomascharad/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin:/Users/tomascharad/.espressif/tools/xtensa-esp32s2-elf/esp-2020r3-8.4.0/xtensa-esp32s2-elf/bin:/Users/tomascharad/.espressif/tools/esp32ulp-elf/2.28.51-esp-20191205/esp32ulp-elf-binutils/bin:/Users/tomascharad/.espressif/tools/esp32s2ulp-elf/2.28.51-esp-20191205/esp32s2ulp-elf-binutils/bin:/Users/tomascharad/.espressif/tools/openocd-esp32/v0.10.0-esp32-20200709/openocd-esp32/bin Custom extra vars (idf.customExtraVars) {“OPENOCD_SCRIPTS”:“/Users/tomascharad/.espressif/tools/openocd-esp32/v0.10.0-esp32-20200709/openocd-esp32/share/openocd/scripts”} Virtual env Python Path (idf.pythonBinPath) /Users/tomascharad/.espressif/python_env/idf4.2_py3.9_env/bin/python Serial port (idf.port) /dev/ttyUSB1 OpenOCD Configs (idf.openOcdConfigs) interface/ftdi/esp32_devkitj_v1.cfg,board/esp32-wrover.cfg ESP-IDF Tools Path (idf.toolsPath) ${env:IDF_TOOLS_PATH} -------------------------------------------------------- Configurations access ------------------------------------------------------------- Access to ESP-IDF Path (idf.espIdfPath) true Access to ESP-IDF Custom extra paths Access to /Users/tomascharad/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin: true Access to /Users/tomascharad/.espressif/tools/xtensa-esp32s2-elf/esp-2020r3-8.4.0/xtensa-esp32s2-elf/bin: true Access to /Users/tomascharad/.espressif/tools/esp32ulp-elf/2.28.51-esp-20191205/esp32ulp-elf-binutils/bin: true Access to /Users/tomascharad/.espressif/tools/esp32s2ulp-elf/2.28.51-esp-20191205/esp32s2ulp-elf-binutils/bin: true Access to /Users/tomascharad/.espressif/tools/openocd-esp32/v0.10.0-esp32-20200709/openocd-esp32/bin: true Access to Virtual env Python Path (idf.pythonBinPath) true Access to CMake in environment PATH true Access to Ninja in environment PATH true Access to ESP-IDF Tools Path (idf.toolsPath) false ----------------------------------------------------------- Executables Versions ----------------------------------------------------------- Git version 2.10.0 ESP-IDF version 4.2 Python version 3.9.4 Python’s pip version 21.0.1 -------------------------------------------------- Python packages in idf.pythonBinPath ---------------------------------------------------- bidict version: 0.21.2 bitstring version: 3.1.7 Brotli version: 1.0.9 certifi version: 2020.12.5 cffi version: 1.14.5 chardet version: 4.0.0 click version: 7.1.2 cryptography version: 3.4.7 ecdsa version: 0.16.1 Flask version: 0.12.5 Flask-Compress version: 1.9.0 Flask-SocketIO version: 2.9.6 future version: 0.18.2 gcovr version: 4.2 gdbgui version: 0.13.2.0 gevent version: 1.5.0 greenlet version: 1.0.0 idna version: 2.10 itsdangerous version: 1.1.0 Jinja2 version: 2.11.3 lxml version: 4.6.3 MarkupSafe version: 1.1.1 pip version: 21.0.1 psutil version: 5.8.0 pycparser version: 2.20 pyelftools version: 0.27 pygdbmi version: 0.9.0.2 Pygments version: 2.8.1 pyparsing version: 2.3.1 pyserial version: 3.5 python-engineio version: 4.1.0 python-socketio version: 5.2.1 reedsolo version: 1.5.4 requests version: 2.25.1 setuptools version: 54.2.0 six version: 1.15.0 urllib3 version: 1.26.4 websocket-client version: 0.58.0 Werkzeug version: 0.16.1 wheel version: 0.36.2 xmlrunner version: 1.7.7 ---------------------------------------------------- Check ESP-IDF python requirements.txt ------------------------------------------------- Check ESP-IDF Python packages Python requirements from /Users/tomascharad/esp/esp-idf/requirements.txt are satisfied. ---------------------------------------------------- Check extension requirements.txt ------------------------------------------------------ Check Extension Python packages Python requirements from /Users/tomascharad/.vscode/extensions/espressif.esp-idf-extension-1.0.2/requirements.txt are satisfied. ---------------------------------------------------- Check ESP-IDF debug adapter requirements.txt ------------------------------------------ Check Debug AdapterPython packages Python requirements from /Users/tomascharad/.vscode/extensions/espressif.esp-idf-extension-1.0.2/esp_debug_adapter/requirements.txt are satisfied. ---------------------------------------------------- Visual Studio Code launch.json -------------------------------------------------------- { “configurations”: [ { “name”: “(lldb) Attach”, “type”: “cppdbg”, “request”: “attach”, “program”: “enter program name, for example ${workspaceFolder}/a.out”, “processId”: “${command:pickProcess}”, “MIMode”: “lldb” } ] }
- Linux & MacOSX:
$HOME/.vscode/extensions/espressif.esp-idf-extension-VERSION/esp_idf_vsc_ext.log
It doesn’t write logs when triggering the command
Additional context I’m a beginner on ESP32
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19
ESP-IDF installed version pip for python in VSCode works incorrectly. It’s solved this problem for me: %USERPROFILE%\.espressif\python_env\idf4.3_py3.8_env\Scripts\python.exe -m pip install --upgrade pip