question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug Report]: Cannot load examples (VSC-639)

See original GitHub issue

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 image

image

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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:19

github_iconTop GitHub Comments

1reaction
EchoSystemMarkcommented, Oct 19, 2021

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

0reactions
fa-mascommented, Oct 26, 2022

Hi Brian, thanks for your reply. The Problem was resolved, sorry for not updating.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows

From: Brian A. @.> Sent: 26 October 2022 08:41 To: @.> Cc: @.>; @.> Subject: Re: [espressif/vscode-esp-idf-extension] [Bug Report]: Cannot load examples (VSC-639) (#383)

Hey @fa-mashttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffa-mas&data=05|01||a85ecffc9749455a3d3e08dab71d18fc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638023632855587198|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=lBbrfa4YWkYx6ufuEcvWYHZhRnzLA3lSSruygFSKA1M%3D&reserved=0 could you share the troubleshooting informationhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fespressif%2Fvscode-esp-idf-extension%23troubleshooting&data=05|01||a85ecffc9749455a3d3e08dab71d18fc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638023632855743414|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Nt4VjCh%2Fw0MSdRKqjiW7xCCYHD1RWFdyLMxFnxG%2Bp88%3D&reserved=0? Seems to be a setup issue in your doctor command output.

Maybe the log has more information.

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fespressif%2Fvscode-esp-idf-extension%2Fissues%2F383%23issuecomment-1291571255&data=05|01||a85ecffc9749455a3d3e08dab71d18fc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638023632855743414|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=AdfY39tEzAXYtIhcI4hYFFsbaY3QT1YDDaFwLeU8ltE%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZHQBON2LSZFPTDXIPMCRLDWFDHBFANCNFSM43UDQ6NA&data=05|01||a85ecffc9749455a3d3e08dab71d18fc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638023632855743414|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=rUzWj%2FS%2FpuqG%2FzSqc6CvpCcmQEBYYSU2OqjIw3%2BA04w%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug Report]: Cannot load examples (VSC-639) - GitHub
Visual Studio Code extension for ESP-IDF projects. Contribute to espressif/vscode-esp-idf-extension development by creating an account on GitHub.
Read more >
Capture and read bug reports - Android Developers
A bug report contains device logs, stack traces, and other diagnostic information to help you find and fix bugs in your app.
Read more >
Sample Bug Report - Software Testing Help
The Sample, Bug/Defect Report given below will give you an exact idea of how to report a Bug in the Bug Tracking Tool?...
Read more >
Ten simple rules for reporting a bug - PLOS
This is an open access article distributed under the terms of the Creative ... Mostly, people are very nice, in the bug reports...
Read more >
Bug Writing Guidelines - Mozilla
If you can't reproduce the problem, there's probably no use in reporting it, ... Open the Enter a new bug form, which will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found