-
Notifications
You must be signed in to change notification settings - Fork 319
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
project fails to build only with vscode-esp-idf-extension under MacOS arm64 - linux, windows, macos idf.py works fine (VSC-1337) #1175
Comments
Seems to me you have a shell configuration issue since your the build task can't find the executables from the extension appended PATH. I suspect it might be related to your configured shell I would suggest using a macOS default or make sure that the PATH configuration works. |
Assume this were the case: then both a manual build from bash, as well as a manual build from "ESP-IDF: Open ESP-IDF Terminal" of this example project should fail as well, correct? well it doesnt - those builds succeed and flash perfectly - as described above. Can I kindly ask you to try to reproduce to build the example repo on an MacOs Mx arm64 platform with the vscode-esp-idf-extension - which is the only platform where this fails? thanks in advance Michael |
I created a test user in MacOS using default zsh, and installed esp-idf, vscode, and this extension there switching my main account to zsh now, and reinstalling homebrew - let's see |
that did it for me - issue resolved thanks! |
Glad it works ! If you find the extension useful. Please leave us a review in the Visual Studio Code Marketplace |
well using zsh got me through the build/flash/run cycle you might want to clarify homebrew bash users should switch to zsh or the bug using bash should be fixed for good? I think this warrants an error halt during installation. next issue: debugging - I just filed #1177 given that is it very hard to avoid an accidential Python3.12 install with homebrew atm (many Python packages require it already and cause 3.12 to be pulled in silently) and then debug is broken as-is, I have doubts actually anybody currently has reproducible results when debugging on MacOS so a glowing review is still a bit away |
OS
MacOS
Operating System version
14.4.1
Visual Studio Code version
1.87.2
ESP-IDF version
5.2.1 release
Python version
3.12.2
Doctor command output
---------------------------------------------- ESP-IDF Extension for Visual Studio Code report ---------------------------------------------
OS darwin arm64 23.4.0
System environment variable IDF_PYTHON_ENV_PATH
undefined
System environment variable PATH
/.nvm/versions/node/v18.16.1/bin:/.cargo/bin:/go/bin:/usr/local/go/bin:/opt/homebrew/bin:/usr/local/bin:/bin:/opt/homebrew/sbin:/usr/local/sbin:/usr/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/Wireshark.app/Contents/MacOS:/Applications/Visual Studio Code.app/Contents/Resources/app/bin:/.local/bin
System environment variable PYTHON
undefined
Visual Studio Code version 1.87.2
Visual Studio Code language en
Visual Studio Code shell /opt/homebrew/bin/bash
ESP-IDF Extension version 1.7.1
Workspace folder /Ballon/src/BalloonWare/idf/esp-idf-wss-https-server
---------------------------------------------------- Extension configuration settings ------------------------------------------------------
ESP-ADF Path (idf.espAdfPath) ${env:ADF_PATH}
ESP-IDF Path (idf.espIdfPath) /esp/v5.2.1/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/12.1_20231023/xtensa-esp-elf-gdb/bin:/.espressif/tools/riscv32-esp-elf-gdb/12.1_20231023/riscv32-esp-elf-gdb/bin:/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin:/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/.espressif/tools/cmake/3.24.0/CMake.app/Contents/bin:/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/.espressif/tools/ninja/1.11.1:/.espressif/tools/esp-rom-elfs/20230320
Custom extra vars (idf.customExtraVars)
OPENOCD_SCRIPTS: /.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts
ESP_ROM_ELF_DIR: /.espressif/tools/esp-rom-elfs/20230320/
Virtual env Python Path (idf.pythonBinPath) /.espressif/python_env/idf5.2_py3.12_env/bin/python
Serial port (idf.port) /dev/cu.usbmodem11101
OpenOCD Configs (idf.openOcdConfigs) board/esp32s3-builtin.cfg
ESP-IDF Tools Path (idf.toolsPath) /.espressif
Git Path (idf.gitPath) /opt/homebrew/bin/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/12.1_20231023/xtensa-esp-elf-gdb/bin: true
Access to /.espressif/tools/riscv32-esp-elf-gdb/12.1_20231023/riscv32-esp-elf-gdb/bin: true
Access to /.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin: true
Access to /.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin: true
Access to /.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin: true
Access to /.espressif/tools/cmake/3.24.0/CMake.app/Contents/bin: false
Access to /.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin: true
Access to /.espressif/tools/ninja/1.11.1: false
Access to /.espressif/tools/esp-rom-elfs/20230320: 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/12.1_20231023/xtensa-esp-elf-gdb/bin: false
Spaces in /.espressif/tools/riscv32-esp-elf-gdb/12.1_20231023/riscv32-esp-elf-gdb/bin: false
Spaces in /.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin: false
Spaces in /.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin: false
Spaces in /.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin: false
Spaces in /.espressif/tools/cmake/3.24.0/CMake.app/Contents/bin: false
Spaces in /.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin: false
Spaces in /.espressif/tools/ninja/1.11.1: false
Spaces in /.espressif/tools/esp-rom-elfs/20230320: false
Spaces in Virtual env Python Path (idf.pythonBinPath) false
Spaces in ESP-IDF Tools Path (idf.toolsPath) false
----------------------------------------------------------- Executables Versions -----------------------------------------------------------
Git version 2.44.0
ESP-IDF version 5.2.1
Python version 3.12.2
Python's pip version 24.0
-------------------------------------------------- Project configuration settings ----------------------------------------------------------
-------------------------------------------------- Python packages in idf.pythonBinPath ----------------------------------------------------
bitarray version: 2.9.2
bitstring version: 4.1.4
CacheControl version: 0.14.0
certifi version: 2024.2.2
cffi version: 1.16.0
charset-normalizer version: 3.3.2
click version: 8.0.4
colorama version: 0.4.6
construct version: 2.10.70
contextlib2 version: 21.6.0
cryptography version: 41.0.7
ecdsa version: 0.18.0
esp-coredump version: 1.10.0
esp-debug-backend version: 1.0.3
esp-idf-kconfig version: 1.4.2
esp-idf-monitor version: 1.4.0
esp-idf-panic-decoder version: 1.0.1
esp-idf-size version: 1.2.0
esptool version: 4.7.0
filelock version: 3.13.3
freertos-gdb version: 1.0.3
idf-component-manager version: 1.5.2
idna version: 3.6
intelhex version: 2.3.0
kconfiglib version: 14.1.0
markdown-it-py version: 3.0.0
mdurl version: 0.1.2
msgpack version: 1.0.8
packaging version: 24.0
pip version: 24.0
pyclang version: 0.4.2
pycparser version: 2.22
pyelftools version: 0.31
pygdbmi version: 0.9.0.2
Pygments version: 2.17.2
pyparsing version: 3.1.2
pyserial version: 3.5
PyYAML version: 6.0.1
reedsolo version: 1.7.0
requests version: 2.31.0
requests-file version: 1.5.1
requests-toolbelt version: 1.0.0
rich version: 13.7.1
schema version: 0.7.5
setuptools version: 69.2.0
six version: 1.16.0
tqdm version: 4.66.2
urllib3 version: 1.26.18
---------------------------------------------------- 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 Python requirements are satisfied.
----------------------------------------------------------- Latest error -----------------------------------------------------------------
Latest error at Unknown error in ESP-IDF Doctor Command
Extension
{"user":true,"message":"Something went wrong while trying to build the project","stack":"Error: Task ESP-IDF Build exited with code 1\n\tat /dist/extension.js:2:1521079\n\tat w.value (/out/vs/workbench/api/node/extensionHostProcess.js:160:19733)\n\tat n.y (/out/vs/workbench/api/node/extensionHostProcess.js:80:1902)\n\tat n.fire (/out/vs/workbench/api/node/extensionHostProcess.js:80:2119)\n\tat n.$onDidEndTaskProcess (/out/vs/workbench/api/node/extensionHostProcess.js:153:55055)","level":"error","timestamp":"2024-04-02T13:07:59.003Z"}
{"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:264:3)\n\tat Object.accessSync (node:electron/js2c/node_init:2:8573)\n\tat ke (/dist/extension.js:2:1394272)\n\tat /dist/extension.js:2:1740942\n\tat /dist/extension.js:2:1742002\n\tat async /dist/extension.js:2:1739263","level":"error","timestamp":"2024-04-02T13:08:55.156Z"}
{"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:264:3)\n\tat Object.accessSync (node:electron/js2c/node_init:2:8573)\n\tat ke (/dist/extension.js:2:1394272)\n\tat /dist/extension.js:2:1741120\n\tat /dist/extension.js:2:1742002\n\tat async /dist/extension.js:2:1739263","level":"error","timestamp":"2024-04-02T13:08:55.157Z"}
{"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:264:3)\n\tat Object.accessSync (node:electron/js2c/node_init:2:8573)\n\tat ke (/dist/extension.js:2:1394272)\n\tat /dist/extension.js:2:1741212\n\tat /dist/extension.js:2:1742002\n\tat async /dist/extension.js:2:1739263","level":"error","timestamp":"2024-04-02T13:08:55.157Z"}
{"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:264:3)\n\tat Object.accessSync (node:electron/js2c/node_init:2:8573)\n\tat ke (/dist/extension.js:2:1394272)\n\tat /dist/extension.js:2:1741308\n\tat /dist/extension.js:2:1742002\n\tat async /dist/extension.js:2:1739263","level":"error","timestamp":"2024-04-02T13:08:55.157Z"}
{"message":"Cannot access filePath: /Users/mah/.espressif/tools/cmake/3.24.0/CMake.app/Contents/bin","stack":"Error: ENOENT: no such file or directory, access '/Users/mah/.espressif/tools/cmake/3.24.0/CMake.app/Contents/bin'\n\tat Object.accessSync (node:fs:264:3)\n\tat Object.accessSync (node:electron/js2c/node_init:2:8573)\n\tat ke (/dist/extension.js:2:1394272)\n\tat /dist/extension.js:2:1741723\n\tat /dist/extension.js:2:1742002\n\tat async /dist/extension.js:2:1739263","level":"error","timestamp":"2024-04-02T13:08:55.158Z"}
{"message":"Cannot access filePath: /Users/mah/.espressif/tools/ninja/1.11.1","stack":"Error: ENOENT: no such file or directory, access '/Users/mah/.espressif/tools/ninja/1.11.1'\n\tat Object.accessSync (node:fs:264:3)\n\tat Object.accessSync (node:electron/js2c/node_init:2:8573)\n\tat ke (/dist/extension.js:2:1394272)\n\tat /dist/extension.js:2:1741723\n\tat /dist/extension.js:2:1742002\n\tat async /dist/extension.js:2:1739263","level":"error","timestamp":"2024-04-02T13:08:55.158Z"}
{"message":"Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:27)\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-20230921 (2023-09-21-13:27)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /dist/extension.js:2:1397153\n\tat ChildProcess.exithandler (node:child_process:412:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1091:16)\n\tat Socket. (node:internal/child_process:449:11)\n\tat Socket.emit (node:events:514:28)\n\tat Pipe. (node:net:323:12)\n\tat Pipe.callbackTrampoline (node:internal/async_hooks:130:17)","level":"error","timestamp":"2024-04-02T13:08:55.634Z"}
{"message":"ENOENT: no such file or directory, open '/Users/mah/Ballon/src/BalloonWare/idf/esp-idf-wss-https-server/.vscode/launch.json'","stack":"Error: ENOENT: no such file or directory, open '/Users/mah/Ballon/src/BalloonWare/idf/esp-idf-wss-https-server/.vscode/launch.json'","level":"error","timestamp":"2024-04-02T13:08:55.844Z"}
{"user":true,"level":"warn","message":"Extension configuration report has been copied to clipboard with errors","timestamp":"2024-04-02T13:08:55.844Z"}
{"tag":"DOCTOR COMMAND","user":true,"level":"warn","message":"{"configurationSettings":{"espAdfPath":"${env:ADF_PATH}","espIdfPath":"/esp/v5.2.1/esp-idf","espMdfPath":"${env:MDF_PATH}","espMatterPath":"${env:ESP_MATTER_PATH}","espHomeKitPath":"${env:HOMEKIT_PATH}","customTerminalExecutable":"","customTerminalExecutableArgs":[],"customExtraPaths":"/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin:/.espressif/tools/riscv32-esp-elf-gdb/12.1_20231023/riscv32-esp-elf-gdb/bin:/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin:/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/.espressif/tools/cmake/3.24.0/CMake.app/Contents/bin:/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/.espressif/tools/ninja/1.11.1:/.espressif/tools/esp-rom-elfs/20230320","customExtraVars":{"OPENOCD_SCRIPTS":"/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts","ESP_ROM_ELF_DIR":"/.espressif/tools/esp-rom-elfs/20230320/"},"notificationMode":"All","pythonBinPath":"/.espressif/python_env/idf5.2_py3.12_env/bin/python","pythonPackages":[{"name":"bitarray","version":"2.9.2"},{"name":"bitstring","version":"4.1.4"},{"name":"CacheControl","version":"0.14.0"},{"name":"certifi","version":"2024.2.2"},{"name":"cffi","version":"1.16.0"},{"name":"charset-normalizer","version":"3.3.2"},{"name":"click","version":"8.0.4"},{"name":"colorama","version":"0.4.6"},{"name":"construct","version":"2.10.70"},{"name":"contextlib2","version":"21.6.0"},{"name":"cryptography","version":"41.0.7"},{"name":"ecdsa","version":"0.18.0"},{"name":"esp-coredump","version":"1.10.0"},{"name":"esp-debug-backend","version":"1.0.3"},{"name":"esp-idf-kconfig","version":"1.4.2"},{"name":"esp-idf-monitor","version":"1.4.0"},{"name":"esp-idf-panic-decoder","version":"1.0.1"},{"name":"esp-idf-size","version":"1.2.0"},{"name":"esptool","version":"4.7.0"},{"name":"filelock","version":"3.13.3"},{"name":"freertos-gdb","version":"1.0.3"},{"name":"idf-component-manager","version":"1.5.2"},{"name":"idna","version":"3.6"},{"name":"intelhex","version":"2.3.0"},{"name":"kconfiglib","version":"14.1.0"},{"name":"markdown-it-py","version":"3.0.0"},{"name":"mdurl","version":"0.1.2"},{"name":"msgpack","version":"1.0.8"},{"name":"packaging","version":"24.0"},{"name":"pip","version":"24.0"},{"name":"pyclang","version":"0.4.2"},{"name":"pycparser","version":"2.22"},{"name":"pyelftools","version":"0.31"},{"name":"pygdbmi","version":"0.9.0.2"},{"name":"Pygments","version":"2.17.2"},{"name":"pyparsing","version":"3.1.2"},{"name":"pyserial","version":"3.5"},{"name":"PyYAML","version":"6.0.1"},{"name":"reedsolo","version":"1.7.0"},{"name":"requests","version":"2.31.0"},{"name":"requests-file","version":"1.5.1"},{"name":"requests-toolbelt","version":"1.0.0"},{"name":"rich","version":"13.7.1"},{"name":"schema","version":"0.7.5"},{"name":"setuptools","version":"69.2.0"},{"name":"six","version":"1.16.0"},{"name":"tqdm","version":"4.66.2"},{"name":"urllib3","version":"1.26.18"}],"serialPort":"/dev/cu.usbmodem11101","openOcdConfigs":["board/esp32s3-builtin.cfg"],"toolsPath":"/.espressif","systemEnvPath":"/.nvm/versions/node/v18.16.1/bin:/.cargo/bin:/go/bin:/usr/local/go/bin:/opt/homebrew/bin:/usr/local/bin:/bin:/opt/homebrew/sbin:/usr/local/sbin:/usr/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/Wireshark.app/Contents/MacOS:/Applications/Visual Studio Code.app/Contents/Resources/app/bin:/.local/bin","gitPath":"/opt/homebrew/bin/git"},"configurationAccess":{"espIdfPath":true,"espAdfPath":false,"espMdfPath":false,"espMatterPath":false,"espHomeKitPath":false,"espIdfToolsPaths":{"/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin":true,"/.espressif/tools/riscv32-esp-elf-gdb/12.1_20231023/riscv32-esp-elf-gdb/bin":true,"/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin":true,"/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin":true,"/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin":true,"/.espressif/tools/cmake/3.24.0/CMake.app/Contents/bin":false,"/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin":true,"/.espressif/tools/ninja/1.11.1":false,"/.espressif/tools/esp-rom-elfs/20230320":true},"pythonBinPath":true,"cmakeInEnv":true,"ninjaInEnv":true,"toolsPath":true},"configurationSpacesValidation":{"customExtraPaths":{"/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin":false,"/.espressif/tools/riscv32-esp-elf-gdb/12.1_20231023/riscv32-esp-elf-gdb/bin":false,"/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin":false,"/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin":false,"/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin":false,"/.espressif/tools/cmake/3.24.0/CMake.app/Contents/bin":false,"/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin":false,"/.espressif/tools/ninja/1.11.1":false,"/.espressif/tools/esp-rom-elfs/20230320":false},"espAdfPath":false,"espIdfPath":false,"espMatterPath":false,"espMdfPath":false,"espHomeKitPath":false,"gitPath":false,"pythonBinPath":false,"toolsPath":false,"systemEnvPath":true},"debugAdapterRequirements":{"output":"Python requirements are satisfied.","result":"Python requirements are satisfied."},"espIdfToolsVersions":[{"actual":"12.1_20231023","description":"GDB for Xtensa","doesToolExist":true,"env":{},"expected":"12.1_20231023","hashResult":true,"hasFailed":false,"id":"xtensa-esp-elf-gdb","name":"xtensa-esp-elf-gdb","path":"/.espressif/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin","progress":"0.00%","progressDetail":""},{"actual":"12.1_20231023","description":"GDB for RISC-V","doesToolExist":true,"env":{},"expected":"12.1_20231023","hashResult":true,"hasFailed":false,"id":"riscv32-esp-elf-gdb","name":"riscv32-esp-elf-gdb","path":"/.espressif/riscv32-esp-elf-gdb/12.1_20231023/riscv32-esp-elf-gdb/bin","progress":"0.00%","progressDetail":""},{"actual":"esp-13.2.0_20230928","description":"Toolchain for 32-bit Xtensa based on GCC","doesToolExist":true,"env":{},"expected":"esp-13.2.0_20230928","hashResult":true,"hasFailed":false,"id":"xtensa-esp-elf","name":"xtensa-esp-elf","path":"/.espressif/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin","progress":"0.00%","progressDetail":""},{"actual":"esp-13.2.0_20230928","description":"Toolchain for 32-bit RISC-V based on GCC","doesToolExist":true,"env":{},"expected":"esp-13.2.0_20230928","hashResult":true,"hasFailed":false,"id":"riscv32-esp-elf","name":"riscv32-esp-elf","path":"/.espressif/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin","progress":"0.00%","progressDetail":""},{"actual":"2.35_20220830","description":"Toolchain for ESP32 ULP coprocessor","doesToolExist":true,"env":{},"expected":"2.35_20220830","hashResult":true,"hasFailed":false,"id":"esp32ulp-elf","name":"esp32ulp-elf","path":"/.espressif/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin","progress":"0.00%","progressDetail":""},{"actual":"v0.12.0-esp32-20230921","description":"OpenOCD for ESP32","doesToolExist":true,"env":{"OPENOCD_SCRIPTS":"/.espressif/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts"},"expected":"v0.12.0-esp32-20230921","hashResult":true,"hasFailed":false,"id":"openocd-esp32","name":"openocd-esp32","path":"/.espressif/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin","progress":"0.00%","progressDetail":""},{"actual":"No command version","description":"ESP ROM ELFs","doesToolExist":true,"env":{"ESP_ROM_ELF_DIR":"/.espressif/esp-rom-elfs/20230320/"},"expected":"","hashResult":true,"hasFailed":false,"id":"esp-rom-elfs","name":"esp-rom-elfs","path":"/.espressif/esp-rom-elfs/20230320","progress":"0.00%","progressDetail":""}],"espIdfVersion":{"output":"5.2.1","result":"5.2.1"},"gitVersion":{"output":"git version 2.44.0\n","result":"2.44.0"},"idfCheckRequirements":{"output":"Python requirements are satisfied.","result":"Python requirements are satisfied."},"latestError":{"errno":-2,"code":"ENOENT","syscall":"open","path":"/Ballon/src/BalloonWare/idf/esp-idf-wss-https-server/.vscode/launch.json"},"pipVersion":{"output":"pip 24.0 from /.espressif/python_env/idf5.2_py3.12_env/lib/python3.12/site-packages/pip (python 3.12)\n","result":"24.0"},"pythonPackages":{"output":"[{\"name\": \"bitarray\", \"version\": \"2.9.2\"}, {\"name\": \"bitstring\", \"version\": \"4.1.4\"}, {\"name\": \"CacheControl\", \"version\": \"0.14.0\"}, {\"name\": \"certifi\", \"version\": \"2024.2.2\"}, {\"name\": \"cffi\", \"version\": \"1.16.0\"}, {\"name\": \"charset-normalizer\", \"version\": \"3.3.2\"}, {\"name\": \"click\", \"version\": \"8.0.4\"}, {\"name\": \"colorama\", \"version\": \"0.4.6\"}, {\"name\": \"construct\", \"version\": \"2.10.70\"}, {\"name\": \"contextlib2\", \"version\": \"21.6.0\"}, {\"name\": \"cryptography\", \"version\": \"41.0.7\"}, {\"name\": \"ecdsa\", \"version\": \"0.18.0\"}, {\"name\": \"esp-coredump\", \"version\": \"1.10.0\"}, {\"name\": \"esp-debug-backend\", \"version\": \"1.0.3\"}, {\"name\": \"esp-idf-kconfig\", \"version\": \"1.4.2\"}, {\"name\": \"esp-idf-monitor\", \"version\": \"1.4.0\"}, {\"name\": \"esp-idf-panic-decoder\", \"version\": \"1.0.1\"}, {\"name\": \"esp-idf-size\", \"version\": \"1.2.0\"}, {\"name\": \"esptool\", \"version\": \"4.7.0\"}, {\"name\": \"filelock\", \"version\": \"3.13.3\"}, {\"name\": \"freertos-gdb\", \"version\": \"1.0.3\"}, {\"name\": \"idf-component-manager\", \"version\": \"1.5.2\"}, {\"name\": \"idna\", \"version\": \"3.6\"}, {\"name\": \"intelhex\", \"version\": \"2.3.0\"}, {\"name\": \"kconfiglib\", \"version\": \"14.1.0\"}, {\"name\": \"markdown-it-py\", \"version\": \"3.0.0\"}, {\"name\": \"mdurl\", \"version\": \"0.1.2\"}, {\"name\": \"msgpack\", \"version\": \"1.0.8\"}, {\"name\": \"packaging\", \"version\": \"24.0\"}, {\"name\": \"pip\", \"version\": \"24.0\"}, {\"name\": \"pyclang\", \"version\": \"0.4.2\"}, {\"name\": \"pycparser\", \"version\": \"2.22\"}, {\"name\": \"pyelftools\", \"version\": \"0.31\"}, {\"name\": \"pygdbmi\", \"version\": \"0.9.0.2\"}, {\"name\": \"Pygments\", \"version\": \"2.17.2\"}, {\"name\": \"pyparsing\", \"version\": \"3.1.2\"}, {\"name\": \"pyserial\", \"version\": \"3.5\"}, {\"name\": \"PyYAML\", \"version\": \"6.0.1\"}, {\"name\": \"reedsolo\", \"version\": \"1.7.0\"}, {\"name\": \"requests\", \"version\": \"2.31.0\"}, {\"name\": \"requests-file\", \"version\": \"1.5.1\"}, {\"name\": \"requests-toolbelt\", \"version\": \"1.0.0\"}, {\"name\": \"rich\", \"version\": \"13.7.1\"}, {\"name\": \"schema\", \"version\": \"0.7.5\"}, {\"name\": \"setuptools\", \"version\": \"69.2.0\"}, {\"name\": \"six\", \"version\": \"1.16.0\"}, {\"name\": \"tqdm\", \"version\": \"4.66.2\"}, {\"name\": \"urllib3\", \"version\": \"1.26.18\"}]\n","result":"[{\"name\": \"bitarray\", \"version\": \"2.9.2\"}, {\"name\": \"bitstring\", \"version\": \"4.1.4\"}, {\"name\": \"CacheControl\", \"version\": \"0.14.0\"}, {\"name\": \"certifi\", \"version\": \"2024.2.2\"}, {\"name\": \"cffi\", \"version\": \"1.16.0\"}, {\"name\": \"charset-normalizer\", \"version\": \"3.3.2\"}, {\"name\": \"click\", \"version\": \"8.0.4\"}, {\"name\": \"colorama\", \"version\": \"0.4.6\"}, {\"name\": \"construct\", \"version\": \"2.10.70\"}, {\"name\": \"contextlib2\", \"version\": \"21.6.0\"}, {\"name\": \"cryptography\", \"version\": \"41.0.7\"}, {\"name\": \"ecdsa\", \"version\": \"0.18.0\"}, {\"name\": \"esp-coredump\", \"version\": \"1.10.0\"}, {\"name\": \"esp-debug-backend\", \"version\": \"1.0.3\"}, {\"name\": \"esp-idf-kconfig\", \"version\": \"1.4.2\"}, {\"name\": \"esp-idf-monitor\", \"version\": \"1.4.0\"}, {\"name\": \"esp-idf-panic-decoder\", \"version\": \"1.0.1\"}, {\"name\": \"esp-idf-size\", \"version\": \"1.2.0\"}, {\"name\": \"esptool\", \"version\": \"4.7.0\"}, {\"name\": \"filelock\", \"version\": \"3.13.3\"}, {\"name\": \"freertos-gdb\", \"version\": \"1.0.3\"}, {\"name\": \"idf-component-manager\", \"version\": \"1.5.2\"}, {\"name\": \"idna\", \"version\": \"3.6\"}, {\"name\": \"intelhex\", \"version\": \"2.3.0\"}, {\"name\": \"kconfiglib\", \"version\": \"14.1.0\"}, {\"name\": \"markdown-it-py\", \"version\": \"3.0.0\"}, {\"name\": \"mdurl\", \"version\": \"0.1.2\"}, {\"name\": \"msgpack\", \"version\": \"1.0.8\"}, {\"name\": \"packaging\", \"version\": \"24.0\"}, {\"name\": \"pip\", \"version\": \"24.0\"}, {\"name\": \"pyclang\", \"version\": \"0.4.2\"}, {\"name\": \"pycparser\", \"version\": \"2.22\"}, {\"name\": \"pyelftools\", \"version\": \"0.31\"}, {\"name\": \"pygdbmi\", \"version\": \"0.9.0.2\"}, {\"name\": \"Pygments\", \"version\": \"2.17.2\"}, {\"name\": \"pyparsing\", \"version\": \"3.1.2\"}, {\"name\": \"pyserial\", \"version\": \"3.5\"}, {\"name\": \"PyYAML\", \"version\": \"6.0.1\"}, {\"name\": \"reedsolo\", \"version\": \"1.7.0\"}, {\"name\": \"requests\", \"version\": \"2.31.0\"}, {\"name\": \"requests-file\", \"version\": \"1.5.1\"}, {\"name\": \"requests-toolbelt\", \"version\": \"1.0.0\"}, {\"name\": \"rich\", \"version\": \"13.7.1\"}, {\"name\": \"schema\", \"version\": \"0.7.5\"}, {\"name\": \"setuptools\", \"version\": \"69.2.0\"}, {\"name\": \"six\", \"version\": \"1.16.0\"}, {\"name\": \"tqdm\", \"version\": \"4.66.2\"}, {\"name\": \"urllib3\", \"version\": \"1.26.18\"}]\n"},"pythonVersion":{"output":"Python 3.12.2\n","result":"3.12.2"},"systemInfo":{"architecture":"arm64","envPath":"/.nvm/versions/node/v18.16.1/bin:/.cargo/bin:/go/bin:/usr/local/go/bin:/opt/homebrew/bin:/usr/local/bin:/bin:/opt/homebrew/sbin:/usr/local/sbin:/usr/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/Wireshark.app/Contents/MacOS:/Applications/Visual Studio Code.app/Contents/Resources/app/bin:/.local/bin","extensionVersion":"1.7.1","language":"en","shell":"/opt/homebrew/bin/bash","platform":"darwin","systemName":"23.4.0","vscodeVersion":"1.87.2"},"workspaceFolder":"/Ballon/src/BalloonWare/idf/esp-idf-wss-https-server","projectConfigurations":{}}","timestamp":"2024-04-02T13:08:55.846Z"}
Description
working on this project: https://github.com/mhaberler/esp-idf-wss-https-server/
builds fine on:
windows10 using vscode-esp-idf-extension
linux debian using vscode-esp-idf-extension or bash/idf.py , log: build-linux.txt
macOS: builds fine with bash/idf.py
macOS breaks build with vscode-esp-idf-extension per below build log:
build-macos.txt
Debug Message
Other Steps to Reproduce
clone https://github.com/mhaberler/esp-idf-wss-https-server/
open in VSCode MacOS Mx (arm)
build witth vscode-esp-idf-extension
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: