Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't launch monitor within VSCode (M1 Mac, MacOS Sequoia) (VSC-1498) #1323

Open
1 task done
brodendan opened this issue Oct 1, 2024 · 1 comment
Open
1 task done
Assignees
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)

Comments

@brodendan
Copy link

OS

Windows

Operating System version

15.0

Visual Studio Code version

1.93.1

ESP-IDF version

5.3

Python version

3.12.6

Doctor command output

---------------------------------------------- ESP-IDF Extension for Visual Studio Code report ---------------------------------------------
OS darwin arm64 24.0.0
System environment variable IDF_PYTHON_ENV_PATH
undefined
System environment variable PATH
/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/TeX/texbin:/Applications/VMware Fusion Tech Preview.app/Contents/Public
System environment variable PYTHON
undefined
Visual Studio Code version 1.93.1
Visual Studio Code language en
Visual Studio Code shell /usr/local/bin/bash
ESP-IDF Extension version 1.8.1
Workspace folder /hello_world
---------------------------------------------------- Extension configuration settings ------------------------------------------------------
ESP-ADF Path (idf.espAdfPath) ${env:ADF_PATH}
ESP-IDF Path (idf.espIdfPath) /esp/esp-idf
ESP-MDF Path (idf.espMdfPath) ${env:MDF_PATH}
ESP-Matter Path (idf.espMatterPath) ${env:ESP_MATTER_PATH}
ESP-HomeKit-SDK Path (idf.espHomeKitSdkPath) ${env:HOMEKIT_PATH}
Custom extra paths (idf.customExtraPaths) /.espressif/tools/xtensa-esp-elf-gdb/14.2_20240403/xtensa-esp-elf-gdb/bin:/.espressif/tools/riscv32-esp-elf-gdb/14.2_20240403/riscv32-esp-elf-gdb/bin:/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin:/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin:/.espressif/tools/esp32ulp-elf/2.38_20240113/esp32ulp-elf/bin:/.espressif/tools/openocd-esp32/v0.12.0-esp32-20240318/openocd-esp32/bin:/.espressif/tools/esp-rom-elfs/20240305
Custom extra vars (idf.customExtraVars)
OPENOCD_SCRIPTS: /.espressif/tools/openocd-esp32/v0.12.0-esp32-20240318/openocd-esp32/share/openocd/scripts
ESP_ROM_ELF_DIR: /.espressif/tools/esp-rom-elfs/20240305/
Virtual env Python Path (idf.pythonBinPath) /.espressif/python_env/idf5.3_py3.12_env/bin/python
Serial port (idf.port) /dev/tty.SLAB_USBtoUART
OpenOCD Configs (idf.openOcdConfigs) board/esp32s3-builtin.cfg
ESP-IDF Tools Path (idf.toolsPath) /.espressif
Git Path (idf.gitPath) git
Notification Mode (idf.notificationMode) All
-------------------------------------------------------- Configurations access -------------------------------------------------------------
Access to ESP-ADF Path (idf.espAdfPath) false
Access to ESP-IDF Path (idf.espIdfPath) true
Access to ESP-MDF Path (idf.espMdfPath) false
Access to ESP-Matter Path (idf.espMatterPath) false
Access to ESP-HomeKit Path (idf.espHomeKitSdkPath) false
Access to ESP-IDF Custom extra paths
Access to /.espressif/tools/xtensa-esp-elf-gdb/14.2_20240403/xtensa-esp-elf-gdb/bin: true
Access to /.espressif/tools/riscv32-esp-elf-gdb/14.2_20240403/riscv32-esp-elf-gdb/bin: true
Access to /.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin: true
Access to /.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin: true
Access to /.espressif/tools/esp32ulp-elf/2.38_20240113/esp32ulp-elf/bin: true
Access to /.espressif/tools/openocd-esp32/v0.12.0-esp32-20240318/openocd-esp32/bin: true
Access to /.espressif/tools/esp-rom-elfs/20240305: 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) true
-------------------------------------------------------- Configurations has spaces -------------------------------------------------------------
Spaces in system environment Path true
Spaces in ESP-ADF Path (idf.espAdfPath) false
Spaces in ESP-IDF Path (idf.espIdfPath) false
Spaces in ESP-MDF Path (idf.espMdfPath) false
Spaces in ESP-Matter Path (idf.espMatterPath) false
Spaces in ESP-HomeKit-SDK Path (idf.espHomeKitSdkPath) false
Spaces in ESP-IDF Custom extra paths
Spaces in /.espressif/tools/xtensa-esp-elf-gdb/14.2_20240403/xtensa-esp-elf-gdb/bin: false
Spaces in /.espressif/tools/riscv32-esp-elf-gdb/14.2_20240403/riscv32-esp-elf-gdb/bin: false
Spaces in /.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin: false
Spaces in /.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin: false
Spaces in /.espressif/tools/esp32ulp-elf/2.38_20240113/esp32ulp-elf/bin: false
Spaces in /.espressif/tools/openocd-esp32/v0.12.0-esp32-20240318/openocd-esp32/bin: false
Spaces in /.espressif/tools/esp-rom-elfs/20240305: false
Spaces in Virtual env Python Path (idf.pythonBinPath) false
Spaces in ESP-IDF Tools Path (idf.toolsPath) false
----------------------------------------------------------- Executables Versions -----------------------------------------------------------
Git version 2.7.1
ESP-IDF version 5.3.1
Python version 3.12.6
Python's pip version 24.2
-------------------------------------------------- Project configuration settings ----------------------------------------------------------
-------------------------------------------------- Python packages in idf.pythonBinPath ----------------------------------------------------
annotated-types version: 0.7.0
argcomplete version: 3.5.0
bitarray version: 2.9.2
bitstring version: 4.2.3
certifi version: 2024.8.30
cffi version: 1.17.1
charset-normalizer version: 3.3.2
click version: 8.1.7
colorama version: 0.4.6
construct version: 2.10.70
cryptography version: 42.0.8
ecdsa version: 0.19.0
esp-coredump version: 1.11.0
esp-idf-kconfig version: 2.3.0
esp-idf-monitor version: 1.5.0
esp_idf_nvs_partition_gen version: 0.1.3
esp-idf-panic-decoder version: 1.2.1
esp-idf-size version: 1.6.0
esptool version: 4.8.0
freertos-gdb version: 1.0.3
idf-component-manager version: 2.0.3
idna version: 3.10
intelhex version: 2.3.0
jsonref version: 1.1.0
markdown-it-py version: 3.0.0
mdurl version: 0.1.2
packaging version: 24.1
pip version: 24.2
pyclang version: 0.5.0
pycparser version: 2.22
pydantic version: 2.9.2
pydantic_core version: 2.23.4
pydantic-settings version: 2.5.2
pyelftools version: 0.31
pygdbmi version: 0.11.0.0
Pygments version: 2.18.0
pyparsing version: 3.1.4
pyserial version: 3.5
python-dotenv version: 1.0.1
PyYAML version: 6.0.2
reedsolo version: 1.7.0
requests version: 2.32.3
requests-file version: 2.1.0
requests-toolbelt version: 1.0.0
rich version: 13.8.1
setuptools version: 71.0.0
six version: 1.16.0
tqdm version: 4.66.5
typing_extensions version: 4.12.2
urllib3 version: 1.26.20
---------------------------------------------------- Check ESP-IDF python requirements.txt -------------------------------------------------
Check ESP-IDF Python packages Python requirements are satisfied.
---------------------------------------------------- Check ESP-IDF debug adapter requirements.txt ------------------------------------------
Check Debug AdapterPython packages Error
---------------------------------------------------- Visual Studio Code launch.json --------------------------------------------------------
{
"version": "0.2.0",
"configurations": [
{
"type": "gdbtarget",
"request": "attach",
"name": "Eclipse CDT GDB Adapter"
},
{
"type": "espidf",
"name": "Launch",
"request": "launch"
}
]
}
---------------------------------------------------- Visual Studio Code c_cpp_properties.json ----------------------------------------------
{
"configurations": [
{
"name": "ESP-IDF",
"compilerPath": "${config:idf.toolsPath}/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc",
"compileCommands": "${config:idf.buildPath}/compile_commands.json",
"includePath": [
"${config:idf.espIdfPath}/components/",
"${config:idf.espIdfPathWin}/components/
",
"${workspaceFolder}/**"
],
"browse": {
"path": [
"${config:idf.espIdfPath}/components",
"${config:idf.espIdfPathWin}/components",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true
}
}
],
"version": 4
}

----------------------------------------------------------- Latest error -----------------------------------------------------------------
{
"code": 1,
"killed": false,
"signal": null,
"cmd": "/.espressif/python_env/idf5.3_py3.12_env/bin/python /esp/esp-idf/tools/check_python_dependencies.py -r /.vscode/extensions/espressif.esp-idf-extension-1.8.1/esp_debug_adapter/requirements.txt"
}

----------------------------------------------------------- Logfile -----------------------------------------------------------------
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T15:54:02.335Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T15:54:03.338Z"}
{"message":"Command failed: which -a python\n","stack":"Error: Command failed: which -a python\n\n\tat genericNodeError (node:internal/errors:984:15)\n\tat wrappedFn (node:internal/errors:538:14)\n\tat ChildProcess.exithandler (node:child_process:423:12)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T15:54:10.114Z"}
{"message":"Error finding python versions","stack":"Error: Command failed: which -a python\n\n\tat genericNodeError (node:internal/errors:984:15)\n\tat wrappedFn (node:internal/errors:538:14)\n\tat ChildProcess.exithandler (node:child_process:423:12)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","code":1,"killed":false,"signal":null,"cmd":"which -a python","level":"warn","timestamp":"2024-09-24T15:54:10.114Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T15:54:10.166Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T15:55:28.683Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T15:55:36.336Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T15:55:37.262Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T15:56:10.823Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T15:56:11.913Z"}
{"message":"non zero exit code 2\n\nesptool.py v4.8.0\nSerial port /dev/tty.SLAB_USBtoUART\n\nA fatal error occurred: Could not open /dev/tty.SLAB_USBtoUART, the port is busy or doesn't exist.\n([Errno 16] could not open port /dev/tty.SLAB_USBtoUART: [Errno 16] Resource busy: '/dev/tty.SLAB_USBtoUART')\n\n","stack":"Error: non zero exit code 2\n\nesptool.py v4.8.0\nSerial port /dev/tty.SLAB_USBtoUART\n\nA fatal error occurred: Could not open /dev/tty.SLAB_USBtoUART, the port is busy or doesn't exist.\n([Errno 16] could not open port /dev/tty.SLAB_USBtoUART: [Errno 16] Resource busy: '/dev/tty.SLAB_USBtoUART')\n\n\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-24T15:56:30.796Z"}
{"message":"non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.debug-console\nConnecting........","stack":"Error: non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.debug-console\nConnecting........\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-24T15:56:31.918Z"}
{"message":"non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.usbserial-21120\nConnecting...","stack":"Error: non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.usbserial-21120\nConnecting...\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-24T15:56:31.918Z"}
{"message":"non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.UEBOOM\nConnecting...","stack":"Error: non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.UEBOOM\nConnecting...\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-24T15:56:31.919Z"}
{"message":"non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.JabraHeadsetAdelaide\nConnecting...","stack":"Error: non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.JabraHeadsetAdelaide\nConnecting...\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-24T15:56:31.921Z"}
{"message":"non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.Bluetooth-Incoming-Port\nConnecting...","stack":"Error: non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.Bluetooth-Incoming-Port\nConnecting...\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-24T15:56:31.923Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:05:09.968Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:05:10.969Z"}
{"message":"non zero exit code 2\n\nesptool.py v4.8.0\nSerial port /dev/tty.usbserial-21120\n\nA fatal error occurred: Could not open /dev/tty.usbserial-21120, the port is busy or doesn't exist.\n([Errno 16] could not open port /dev/tty.usbserial-21120: [Errno 16] Resource busy: '/dev/tty.usbserial-21120')\n\n","stack":"Error: non zero exit code 2\n\nesptool.py v4.8.0\nSerial port /dev/tty.usbserial-21120\n\nA fatal error occurred: Could not open /dev/tty.usbserial-21120, the port is busy or doesn't exist.\n([Errno 16] could not open port /dev/tty.usbserial-21120: [Errno 16] Resource busy: '/dev/tty.usbserial-21120')\n\n\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-24T16:05:26.547Z"}
{"message":"non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.debug-console\nConnecting.........","stack":"Error: non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.debug-console\nConnecting.........\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-24T16:05:28.278Z"}
{"message":"non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.SLAB_USBtoUART\nConnecting....","stack":"Error: non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.SLAB_USBtoUART\nConnecting....\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-24T16:05:28.278Z"}
{"message":"non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.UEBOOM\nConnecting....","stack":"Error: non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.UEBOOM\nConnecting....\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-24T16:05:28.278Z"}
{"message":"non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.JabraHeadsetAdelaide\nConnecting....","stack":"Error: non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.JabraHeadsetAdelaide\nConnecting....\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-24T16:05:28.279Z"}
{"message":"non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.Bluetooth-Incoming-Port\nConnecting....","stack":"Error: non zero exit code null\n\nesptool.py v4.8.0\nSerial port /dev/tty.Bluetooth-Incoming-Port\nConnecting....\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-09-24T16:05:28.279Z"}
{"message":"OpenOCD server failed to start because of Error: esp_usb_jtag: could not find or open device!\n❌ Error: esp_usb_jtag: could not find or open device!\n","stack":"Error: OpenOCD server failed to start because of Error: esp_usb_jtag: could not find or open device!\n\tat Socket. (/dist/extension.js:2:1452853)\n\tat Socket.emit (node:events:519:28)\n\tat addChunk (node:internal/streams/readable:559:12)\n\tat readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n\tat Readable.push (node:internal/streams/readable:390:5)\n\tat Pipe.onStreamRead (node:internal/stream_base_commons:191:23)","level":"error","timestamp":"2024-09-24T16:06:59.817Z"}
{"message":"OpenOCD server failed to start because of Error: \n❌ /Users/XXX/.espressif/tools/openocd-esp32/v0.12.0-esp32-20240318/openocd-esp32/share/openocd/scripts/target/esp_common.cfg:9: Error: \nat file "/Users/XXX/.espressif/tools/openocd-esp32/v0.12.0-esp32-20240318/openocd-esp32/share/openocd/scripts/target/esp_common.cfg", line 9\n","stack":"Error: OpenOCD server failed to start because of Error: \n\tat Socket. (/dist/extension.js:2:1452853)\n\tat Socket.emit (node:events:519:28)\n\tat addChunk (node:internal/streams/readable:559:12)\n\tat readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n\tat Readable.push (node:internal/streams/readable:390:5)\n\tat Pipe.onStreamRead (node:internal/stream_base_commons:191:23)","level":"error","timestamp":"2024-09-24T16:06:59.817Z"}
{"message":"OpenOCD Exit with non-zero error code 1","stack":"Error: Spawn exit with non-zero1\n\tat ChildProcess. (/dist/extension.js:2:1453522)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-09-24T16:06:59.820Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:11:40.050Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:11:40.988Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:12:20.523Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:12:21.515Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:12:47.546Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:12:48.355Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:14:16.919Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:14:17.983Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:18:56.486Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:18:58.138Z"}
{"message":"Command failed: which -a python\n","stack":"Error: Command failed: which -a python\n\n\tat genericNodeError (node:internal/errors:984:15)\n\tat wrappedFn (node:internal/errors:538:14)\n\tat ChildProcess.exithandler (node:child_process:423:12)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:19:18.844Z"}
{"message":"Error finding python versions","stack":"Error: Command failed: which -a python\n\n\tat genericNodeError (node:internal/errors:984:15)\n\tat wrappedFn (node:internal/errors:538:14)\n\tat ChildProcess.exithandler (node:child_process:423:12)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","code":1,"killed":false,"signal":null,"cmd":"which -a python","level":"warn","timestamp":"2024-09-24T16:19:18.844Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:19:18.893Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:20:36.809Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:20:44.953Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:20:45.895Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:21:05.754Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-24T16:21:06.908Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-25T01:27:05.030Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-25T01:27:09.593Z"}
{"message":"Command failed: which -a python\n","stack":"Error: Command failed: which -a python\n\n\tat genericNodeError (node:internal/errors:984:15)\n\tat wrappedFn (node:internal/errors:538:14)\n\tat ChildProcess.exithandler (node:child_process:423:12)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-09-25T03:31:39.251Z"}
{"message":"Error finding python versions","stack":"Error: Command failed: which -a python\n\n\tat genericNodeError (node:internal/errors:984:15)\n\tat wrappedFn (node:internal/errors:538:14)\n\tat ChildProcess.exithandler (node:child_process:423:12)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","code":1,"killed":false,"signal":null,"cmd":"which -a python","level":"warn","timestamp":"2024-09-25T03:31:39.251Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-25T03:31:39.391Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-25T03:31:40.644Z"}
{"message":"Cannot access filePath: ${env:ADF_PATH}","stack":"Error: ENOENT: no such file or directory, access '${env:ADF_PATH}'\n\tat Object.accessSync (node:fs:246:11)\n\tat t.accessSync (node:electron/js2c/node_init:2:9017)\n\tat Se (/dist/extension.js:2:1421806)\n\tat /dist/extension.js:2:1650824\n\tat ua (/dist/extension.js:2:1651892)\n\tat async /dist/extension.js:2:1868405","level":"error","timestamp":"2024-09-25T03:35:18.402Z"}
{"message":"Cannot access filePath: ${env:MDF_PATH}","stack":"Error: ENOENT: no such file or directory, access '${env:MDF_PATH}'\n\tat Object.accessSync (node:fs:246:11)\n\tat t.accessSync (node:electron/js2c/node_init:2:9017)\n\tat Se (/dist/extension.js:2:1421806)\n\tat /dist/extension.js:2:1651002\n\tat ua (/dist/extension.js:2:1651892)\n\tat async /dist/extension.js:2:1868405","level":"error","timestamp":"2024-09-25T03:35:18.402Z"}
{"message":"Cannot access filePath: ${env:ESP_MATTER_PATH}","stack":"Error: ENOENT: no such file or directory, access '${env:ESP_MATTER_PATH}'\n\tat Object.accessSync (node:fs:246:11)\n\tat t.accessSync (node:electron/js2c/node_init:2:9017)\n\tat Se (/dist/extension.js:2:1421806)\n\tat /dist/extension.js:2:1651094\n\tat ua (/dist/extension.js:2:1651892)\n\tat async /dist/extension.js:2:1868405","level":"error","timestamp":"2024-09-25T03:35:18.403Z"}
{"message":"Cannot access filePath: ${env:HOMEKIT_PATH}","stack":"Error: ENOENT: no such file or directory, access '${env:HOMEKIT_PATH}'\n\tat Object.accessSync (node:fs:246:11)\n\tat t.accessSync (node:electron/js2c/node_init:2:9017)\n\tat Se (/dist/extension.js:2:1421806)\n\tat /dist/extension.js:2:1651190\n\tat ua (/dist/extension.js:2:1651892)\n\tat async /dist/extension.js:2:1868405","level":"error","timestamp":"2024-09-25T03:35:18.403Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-09-25T03:35:19.437Z"}


Extension

{"message":"Command failed: which -a python\n","stack":"Error: Command failed: which -a python\n\n\tat genericNodeError (node:internal/errors:984:15)\n\tat wrappedFn (node:internal/errors:538:14)\n\tat ChildProcess.exithandler (node:child_process:423:12)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-10-01T04:35:15.126Z"}
{"message":"Error finding python versions","stack":"Error: Command failed: which -a python\n\n\tat genericNodeError (node:internal/errors:984:15)\n\tat wrappedFn (node:internal/errors:538:14)\n\tat ChildProcess.exithandler (node:child_process:423:12)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","code":1,"killed":false,"signal":null,"cmd":"which -a python","level":"warn","timestamp":"2024-10-01T04:35:15.126Z"}
{"message":"Command failed: which -a python\n","stack":"Error: Command failed: which -a python\n\n\tat genericNodeError (node:internal/errors:984:15)\n\tat wrappedFn (node:internal/errors:538:14)\n\tat ChildProcess.exithandler (node:child_process:423:12)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-10-01T04:35:15.126Z"}
{"message":"Error finding python versions","stack":"Error: Command failed: which -a python\n\n\tat genericNodeError (node:internal/errors:984:15)\n\tat wrappedFn (node:internal/errors:538:14)\n\tat ChildProcess.exithandler (node:child_process:423:12)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","code":1,"killed":false,"signal":null,"cmd":"which -a python","level":"warn","timestamp":"2024-10-01T04:35:15.126Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-10-01T04:35:15.292Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-10-01T04:35:15.292Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-10-01T04:35:16.376Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-10-01T04:35:16.378Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-10-01T04:35:19.483Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-10-01T04:35:20.408Z"}
{"message":"Command failed: which -a python\n","stack":"Error: Command failed: which -a python\n\n\tat genericNodeError (node:internal/errors:984:15)\n\tat wrappedFn (node:internal/errors:538:14)\n\tat ChildProcess.exithandler (node:child_process:423:12)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-10-01T04:35:25.836Z"}
{"message":"Error finding python versions","stack":"Error: Command failed: which -a python\n\n\tat genericNodeError (node:internal/errors:984:15)\n\tat wrappedFn (node:internal/errors:538:14)\n\tat ChildProcess.exithandler (node:child_process:423:12)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","code":1,"killed":false,"signal":null,"cmd":"which -a python","level":"warn","timestamp":"2024-10-01T04:35:25.836Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-10-01T04:35:25.891Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-10-01T04:35:26.820Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-10-01T04:35:41.229Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-10-01T04:35:51.744Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:24)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1424988\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:519:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:519:28)\n\tat Pipe. (node:net:338:12)","level":"error","timestamp":"2024-10-01T04:35:52.701Z"}
{"user":true,"message":"Failed to flash because of some unusual error. Check Terminal for more details","stack":"Error: Task ESP-IDF Flash exited with code 2\n\tat /dist/extension.js:2:1554509\n\tat i.value (/out/vs/workbench/api/node/extensionHostProcess.js:171:28704)\n\tat r.B (/out/vs/workbench/api/node/extensionHostProcess.js:90:732)\n\tat r.fire (/out/vs/workbench/api/node/extensionHostProcess.js:90:949)\n\tat i.$onDidEndTaskProcess (/out/vs/workbench/api/node/extensionHostProcess.js:164:61587)","level":"error","timestamp":"2024-10-01T04:36:20.662Z"}
{"message":"non zero exit code 2\n\nesptool.py v4.8.1\nSerial port /dev/tty.usbserial-21120\n\nA fatal error occurred: Could not open /dev/tty.usbserial-21120, the port is busy or doesn't exist.\n([Errno 16] could not open port /dev/tty.usbserial-21120: [Errno 16] Resource busy: '/dev/tty.usbserial-21120')\n\n","stack":"Error: non zero exit code 2\n\nesptool.py v4.8.1\nSerial port /dev/tty.usbserial-21120\n\nA fatal error occurred: Could not open /dev/tty.usbserial-21120, the port is busy or doesn't exist.\n([Errno 16] could not open port /dev/tty.usbserial-21120: [Errno 16] Resource busy: '/dev/tty.usbserial-21120')\n\n\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-10-01T04:36:22.649Z"}
{"message":"non zero exit code null\n\nesptool.py v4.8.1\nSerial port /dev/tty.Bluetooth-Incoming-Port\nConnecting....","stack":"Error: non zero exit code null\n\nesptool.py v4.8.1\nSerial port /dev/tty.Bluetooth-Incoming-Port\nConnecting....\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-10-01T04:36:24.379Z"}
{"message":"non zero exit code null\n\nesptool.py v4.8.1\nSerial port /dev/tty.debug-console\nConnecting.........","stack":"Error: non zero exit code null\n\nesptool.py v4.8.1\nSerial port /dev/tty.debug-console\nConnecting.........\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-10-01T04:36:24.380Z"}
{"message":"non zero exit code null\n\nesptool.py v4.8.1\nSerial port /dev/tty.UEBOOM\nConnecting....","stack":"Error: non zero exit code null\n\nesptool.py v4.8.1\nSerial port /dev/tty.UEBOOM\nConnecting....\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-10-01T04:36:24.380Z"}
{"message":"non zero exit code null\n\nesptool.py v4.8.1\nSerial port /dev/tty.JabraHeadsetAdelaide\nConnecting....","stack":"Error: non zero exit code null\n\nesptool.py v4.8.1\nSerial port /dev/tty.JabraHeadsetAdelaide\nConnecting....\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-10-01T04:36:24.380Z"}
{"message":"non zero exit code null\n\nesptool.py v4.8.1\nSerial port /dev/tty.SLAB_USBtoUART\nConnecting....","stack":"Error: non zero exit code null\n\nesptool.py v4.8.1\nSerial port /dev/tty.SLAB_USBtoUART\nConnecting....\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-10-01T04:36:24.380Z"}
{"message":"non zero exit code 2\n\nesptool.py v4.8.1\nSerial port /dev/tty.usbserial-21120\n\nA fatal error occurred: Could not open /dev/tty.usbserial-21120, the port is busy or doesn't exist.\n([Errno 16] could not open port /dev/tty.usbserial-21120: [Errno 16] Resource busy: '/dev/tty.usbserial-21120')\n\n","stack":"Error: non zero exit code 2\n\nesptool.py v4.8.1\nSerial port /dev/tty.usbserial-21120\n\nA fatal error occurred: Could not open /dev/tty.usbserial-21120, the port is busy or doesn't exist.\n([Errno 16] could not open port /dev/tty.usbserial-21120: [Errno 16] Resource busy: '/dev/tty.usbserial-21120')\n\n\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-10-01T04:36:42.098Z"}
{"message":"non zero exit code 2\n\nesptool.py v4.8.1\nSerial port /dev/tty.SLAB_USBtoUART\n\nA fatal error occurred: Could not open /dev/tty.SLAB_USBtoUART, the port is busy or doesn't exist.\n([Errno 35] Could not exclusively lock port /dev/tty.SLAB_USBtoUART: [Errno 35] Resource temporarily unavailable)\n\n","stack":"Error: non zero exit code 2\n\nesptool.py v4.8.1\nSerial port /dev/tty.SLAB_USBtoUART\n\nA fatal error occurred: Could not open /dev/tty.SLAB_USBtoUART, the port is busy or doesn't exist.\n([Errno 35] Could not exclusively lock port /dev/tty.SLAB_USBtoUART: [Errno 35] Resource temporarily unavailable)\n\n\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-10-01T04:36:42.514Z"}
{"message":"non zero exit code null\n\n","stack":"Error: non zero exit code null\n\n\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-10-01T04:36:43.808Z"}
{"message":"non zero exit code null\n\nesptool.py v4.8.1\nSerial port /dev/tty.debug-console\nConnecting.........","stack":"Error: non zero exit code null\n\nesptool.py v4.8.1\nSerial port /dev/tty.debug-console\nConnecting.........\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-10-01T04:36:43.808Z"}
{"message":"non zero exit code null\n\n","stack":"Error: non zero exit code null\n\n\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-10-01T04:36:43.809Z"}
{"message":"non zero exit code null\n\n","stack":"Error: non zero exit code null\n\n\n\tat ChildProcess. (/dist/extension.js:2:1421636)\n\tat ChildProcess.emit (node:events:519:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-10-01T04:36:43.810Z"}

Description

After upgrading to MacOS Sequoia, ESP-IDF extension having issues.

When trying to launch the monitor it appears to hang on the debug message.

I am able to run it outside of VSCode using 'idf.py monitor' with the standard '. ./export.sh' approach found here - https://docs.espressif.com/projects/esp ... setup.html

Version Details:
OS: Mac OS Sequoia 15.0
VSCode: 1.93.1
ESP-IDF Framework: 5.3
Python: 3.12.6
ESP-IDF Extension: v1.8.1

Debug Message

export IDF_PATH='/Users/XXX/esp/esp-idf'
'/Users/XXX/.espressif/python_env/idf5.3_py3.12_env/bin/python' '/Users/XXX/esp/esp-idf/tools/idf_monitor.py' -p /dev/tty.SLAB_USBtoUART -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 '/Users/XXX/hello_world/build/hello_world.elf'

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@brodendan brodendan added the bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue) label Oct 1, 2024
@github-actions github-actions bot changed the title Can't launch monitor within VSCode (M1 Mac, MacOS Sequoia) Can't launch monitor within VSCode (M1 Mac, MacOS Sequoia) (VSC-1498) Oct 1, 2024
@radurentea radurentea self-assigned this Oct 1, 2024
@radurentea
Copy link
Collaborator

Hi @brodendan,

I've had a look over the logs, they don't suggest that there is a problem with the monitor. I can see the following errors:

One related to flashing:
Error: Task ESP-IDF Flash exited with code 2

And the other one with the serial port which is either busy or doesn't exist
Serial port /dev/tty.usbserial-21120\n\nA fatal error occurred: Could not open /dev/tty.usbserial-21120, the port is busy or doesn't exist

Please make the sure to follow the uninstall steps I've told you about in the forum, I will paste them again here:

I would suggest to make a clean install of the extension. Uninstall it first following these steps: https://github.com/espressif/vscode-esp ... the-plugin. Sometimes there might be some esp-idf settings left overs in the settings.json both of your workspace and vs code user's settings. You can open both by using the command palette (CMD + shift + P) and just type "settings.json" (see screenshot) and remove any properties starting with "idf."

After you've reinstalled the extension, try to build, flash and monitor again. If the issue persists, run the "ESP-IDF: Doctor Command" once again and paste the output in your next reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
Projects
None yet
Development

No branches or pull requests

2 participants