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]: "ESP-IDF: New Project" wizard, show blank template screen without having an open folder. (VSC-703)

See original GitHub issue

Pre Bug Report Checklist Before reporting any bug please make sure of these points.

  • Make sure you have searched for existing bugs and features request before you post an issue.
  • This is a bug report for the ESP-IDF Visual Studio Code extension and not an ESP-IDF bug report.
  • I’ve read the docs and found no information that could have helped solving the issue.

Describe the bug Cannot use “ESP-IDF: New Project” wizard, without having a folder open.

To Reproduce

  1. In VSCode, select “File > Close Folder [Ctrl+K F]” from the menu
  2. Press F1
  3. Select “ESP-IDF: New Project”
  4. Fill in the template information.
  5. Select “Choose Template”.

Expected behavior The list of templates would appear as intended.

Screenshots image

Environment (please complete the following information):

---------------------------------------------- ESP-IDF Extension for Visual Studio Code report --------------------------------------------- OS linux x64 5.11.0-7620-generic System environment variable PATH /home/zak/.local/bin:/home/zak/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin Visual Studio Code version 1.57.1 Visual Studio Code language en Visual Studio Code shell bash ESP-IDF Extension version 1.1.0 ---------------------------------------------------- Extension configuration settings ------------------------------------------------------ ESP-ADF Path (idf.espAdfPath) ${env:ADF_PATH} ESP-IDF Path (idf.espIdfPath) ${env:IDF_PATH} ESP-MDF Path (idf.espMdfPath) ${env:MDF_PATH} Custom extra paths (idf.customExtraPaths) Custom extra vars (idf.customExtraVars) Virtual env Python Path (idf.pythonBinPath) 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} Git Path (idf.gitPath) git -------------------------------------------------------- Configurations access ------------------------------------------------------------- Access to ESP-ADF Path (idf.espIdfPath) false Access to ESP-IDF Path (idf.espIdfPath) false Access to ESP-MDF Path (idf.espIdfPath) false Access to ESP-IDF Custom extra paths Access to Virtual env Python Path (idf.pythonBinPath) false 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.27.0 ESP-IDF version Not found Python version 3.8.10 Python’s pip version 20.1.1 -------------------------------------------------- Python packages in idf.pythonBinPath ---------------------------------------------------- adafruit-nrfutil version: 0.5.3.post13 appdirs version: 1.4.4 blinker version: 1.4 Brlapi version: 0.7.0 certifi version: 2020.4.5.1 chardet version: 3.0.4 chrome-gnome-shell version: 0.0.0 click version: 7.1.2 colorama version: 0.4.3 command-not-found version: 0.3 cryptography version: 3.0 cupshelpers version: 1.0 dbus-python version: 1.2.16 defer version: 1.0.6 distlib version: 0.3.2 distro version: 1.5.0 distro-info version: 0.23ubuntu1 ecdsa version: 0.16.1 evdev version: 1.3.0 filelock version: 3.0.12 gpg version: 1.14.0-unknown gyp version: 0.1 hidpidaemon version: 18.4.6 httplib2 version: 0.18.1 idna version: 2.10 jeepney version: 0.4.3 kernelstub version: 3.1.4 keyring version: 21.3.0 language-selector version: 0.1 launchpadlib version: 1.10.13 lazr.restfulclient version: 0.14.2 lazr.uri version: 1.0.5 louis version: 3.14.0 macaroonbakery version: 1.3.1 netifaces version: 0.10.4 oauthlib version: 3.1.0 pip version: 20.1.1 pop-transition version: 1.1.2 protobuf version: 3.12.3 pycairo version: 1.16.2 pycups version: 2.0.1 pydbus version: 0.6.0 Pygments version: 2.3.1 PyGObject version: 3.38.0 PyJWT version: 1.7.1 pymacaroons version: 0.13.0 PyNaCl version: 1.4.0 pyRFC3339 version: 1.1 pyserial version: 3.4 python-apt version: 2.1.2pop0-1587756471-20.04-cd2988e python-debian version: 0.1.37 python-xlib version: 0.27 pytz version: 2020.1 pyxdg version: 0.26 PyYAML version: 5.3.1 repolib version: 1.5.2 repoman version: 1.4.0 requests version: 2.23.0 requests-unixsocket version: 0.2.0 screen-resolution-extra version: 0.0.0 SecretStorage version: 3.1.2 sessioninstaller version: 0.0.0 setuptools version: 49.3.1 simplejson version: 3.17.0 six version: 1.15.0 system76driver version: 20.4.36 systemd-python version: 234 ubuntu-advantage-tools version: 27.0 ubuntu-drivers-common version: 0.0.0 ufw version: 0.36 urllib3 version: 1.25.9 virtualenv version: 20.4.7 wadllib version: 1.3.4 wheel version: 0.34.2 xkit version: 0.0.0 ---------------------------------------------------- Check ESP-IDF python requirements.txt ------------------------------------------------- Check ESP-IDF Python packages Error ---------------------------------------------------- Check extension requirements.txt ------------------------------------------------------ Check Extension Python packages Error ---------------------------------------------------- Check ESP-IDF debug adapter requirements.txt ------------------------------------------ Check Debug AdapterPython packages Error ----------------------------------------------------------- Latest error ----------------------------------------------------------------- Latest error at Command failed: python ${env:IDF_PATH}/tools/check_python_dependencies.py -r “/home/zak/.vscode/extensions/espressif.esp-idf-extension-1.1.0/esp_debug_adapter/requirements.txt” /bin/sh: 1: Bad substitution


NOTE: You can use the ESP-IDF: Doctor command to generate a report of your configuration.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
edouardregcommented, Jul 7, 2021

Thanks Brianignacio : fresh install and ok now.

0reactions
brianignacio5commented, Jul 8, 2021

@zfields based on your doctor command output it seems that the extension settings are not configured properly.

We have fixed many issues in extension setup but not available in the vscode marketplace yet. Can you uninstall your current extension and try installing from this vsix installer ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

vscode-esp-idf-extension/new_project_wizard.md at master
This feature allows you to create a new project using the ESP-IDF, ESP-ADF and ESP-MDF frameworks and configure the extension settings and the...
Read more >
Quick User Guide for the ESP-IDF VS Code Extension
After receiving several customer requests for an integrated solution to writing, managing and deploying ESP-IDF projects, Espressif started ...
Read more >
ESP32 - How to create your First ESP IDF project (From Scratch)
Learn how to set up your first ESP IDF project using Visual Studio Code, from scratch. We will build a simple example using...
Read more >
create-esp32-app - npm
A Simple ESP32 Starter template generator from your command line run. Latest version: 0.8.2, last published: a year ago. Start using ...
Read more >
Espressif IDF - Visual Studio Marketplace
Either open Visual Studio Code and create a workspace folder. ... Press F1 and type ESP-IDF: Show Examples Projects to create a new...
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