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.

Launch GUI configuration tool and monitor from taskbar not working in VSCode (VSC-376)

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 A clear and concise description of what the bug is (current behavior).

Launching the GUI configuration tool and monitor from taskbar is not working, and reports a Python problem. This is misleading though, as both menuconfig and monitor work from the terminal, meaning all Python requirements are met. This seems to be a problem with the VSCode Extension.

The following Python requirements are not satisfied:

gdbgui>=0.13.2.0

pygdbmi<=0.9.0.2

reedsolo==1.5.3

bitstring>=3.1.6

esp-windows-curses; sys_platform == ‘win32’

To install the missing packages, please run “C:\Users\Stefan\Development\esp-idf\install.bat”

Diagnostic information:

IDF_PYTHON_ENV_PATH: .

Python interpreter used: C:\Users\Stefan\.platformio\penv\Scripts\python.exe

ESP-IDF v4.2-dev-1905-g625bd5eb1

---------------------------ERROR--------------------------

Received signal: null with code: 1 -----------------------END OF ERROR-----------------------

To Reproduce Steps to reproduce the behavior (including the full log).

Click on “ESP-IDF Monitor device” or “ESP-IDF Launch GUI configuration tool” in the taskbar, or launch from main menu.

Expected behavior A clear and concise description of what you expected to happen.

I’d expect menuconfig and monitor to launch.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS Name & Version: [e.g. MacOS X 10.14.5] Windows 10 release 2004
  • VSCode Version: [e.g. 1.35.1] latest stable
  • ESP-IDF Version: [e.g. v3.2.2] latest stable
  • Python Version: [e.g. 2.7.10] 2.8.3

Logs If applicable, please share the log file which can be obtained from

  • Windows: %USERPROFILE%\.vscode\extensions\espressif.esp-idf-extension-VERSION\esp_idf_vsc_ext.log
  • Linux & MacOSX: $HOME/.vscode/extensions/espressif.esp-idf-extension-VERSION/esp_idf_vsc_ext.log

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
Aietescommented, Jul 2, 2020

Thank you for your help! I changed the Idf: Python Bin Path Win in the VS Code preferences to:

C:\Users\MyUser\.espressif\python_env\idf4.2_py3.8_env\Scripts\python.exe

Problem solved! Thank you for the great work on the extension!

0reactions
unkperscommented, Nov 30, 2020

“idf.pythonBinPath”: “PYTHON_INTERPRETER”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio Code User Interface
A quick overview of the Visual Studio Code user interface. Learn about the editor, window management, and special UI to handle source control, ......
Read more >
Troubleshoot Terminal launch failures - Visual Studio Code
To troubleshoot Integrated Terminal launch failures in Visual Studio Code, follow these steps to diagnose issues: Check your user settings.
Read more >
User and Workspace Settings - Visual Studio Code
In this article, we'll first describe user settings as these are your personal settings for customizing VS Code. Later we'll cover Workspace settings,...
Read more >
Developing inside a Container - Visual Studio Code
This container can be used to run an application or to separate tools, libraries, or runtimes needed for working with a codebase.
Read more >
Debugging in Visual Studio Code
If you see green squiggles in your launch configuration, hover over them to learn what the problem is and try to fix them...
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