PlatformIO Community

VSC Insider status bar

VSC Insider 1.37.0 macOS Catalina beta
The commands in statusbar doesn’t work, following message:
The terminal shell path “platformio” does not exist
A problem with ZSH Shell which is the new standard for Catalina?

Could you provide an output from VSCode > Help > Developer Tools > Console?

Version: 1.37.0-insider
Commit: 360e4e4dfa989135f28edc0d6f7e42df33cddf87
Date: 2019-07-10T05:29:59.244Z
Electron: 4.2.5
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Darwin x64 19.0.0
Here the console output.

[Extension Host] debugger listening on port 17443
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241 [Extension Host] [vscode-icons] v8.8.0 activated! (at activate (/Users/sstaub/.vscode-insiders/extensions/vscode-icons-team.vscode-icons-8.8.0/out/src/index.js:11:13))
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241 [Extension Host] activating extension (at realActivation (/Users/sstaub/.vscode-insiders/extensions/ms-vscode.cpptools-0.24.0/dist/main.js:6043:17))
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241 [Extension Host] starting language server (at realActivation (/Users/sstaub/.vscode-insiders/extensions/ms-vscode.cpptools-0.24.0/dist/main.js:6056:13))
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241 [Extension Host] runCommand platformio Array(1) Object (at d (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:5073))
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241 [Extension Host] Found PIO Core 4.0.0-rc.6 (at t.value (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:28079))
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241 [Extension Host] runCommand platformio Array(8) Object (at d (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:5073))
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241 [Extension Host] runCommand platformio Array(7) Object (at d (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:5073))
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241 [Extension Host] Error: at P.Promise (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:15270) at ChildProcess.h (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:5904) at ChildProcess.emit (events.js:182:13) at maybeClose (internal/child_process.js:962:16) at Socket.ChildProcess.spawn.stream.socket.on (internal/child_process.js:381:11) at Socket.emit (events.js:182:13) at Pipe.Socket._destroy._handle.close (net.js:606:12) (at Object.t.ensureServerStarted (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:14234))
t.log @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241 [Extension Host] runCommand platformio Array(7) Object (at d (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:5073))
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241 [Extension Host] Error: at P.Promise (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:15270) at ChildProcess.h (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:5904) at ChildProcess.emit (events.js:182:13) at maybeClose (internal/child_process.js:962:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5) (at Object.t.ensureServerStarted (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:14234))
t.log @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241 [Extension Host] runCommand platformio Array(7) Object (at d (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:5073))
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241 [Extension Host] Error: at P.Promise (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:15270) at ChildProcess.h (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:5904) at ChildProcess.emit (events.js:182:13) at maybeClose (internal/child_process.js:962:16) at Socket.ChildProcess.spawn.stream.socket.on (internal/child_process.js:381:11) at Socket.emit (events.js:182:13) at Pipe.Socket._destroy._handle.close (net.js:606:12) (at Object.t.ensureServerStarted (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:14234))
t.log @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241 [Extension Host] Error: at P.Promise (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:15270) at ChildProcess.h (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:5904) at ChildProcess.emit (events.js:182:13) at maybeClose (internal/child_process.js:962:16) at Socket.ChildProcess.spawn.stream.socket.on (internal/child_process.js:381:11) at Socket.emit (events.js:182:13) at Pipe.Socket._destroy._handle.close (net.js:606:12) (at Object.startPIOHome (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/dist/extension.js:1:6299))
t.log @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:241
console.ts:137 [Extension Host] runCommand /Users/sstaub/.platformio/penv/bin/python2.7 (2) ["-c", “import os, sys;assert sys.platform != “cygwin”;ass… >= (2, 7, 5);assert sys.version_info < (3, 0, 0)”] {} (at d (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:5073))
console.ts:137 [Extension Host] runCommand /Users/sstaub/.platformio/penv/bin/python2.7 (2) ["-c", “from os.path import join;from platformio import ut…rojectlib_dir(), util.get_projectlibdeps_dir()]))”] {spawnOptions: {…}} (at d (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:5073))
DevTools failed to parse SourceMap: file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/node_modules.asar/xterm/lib/xterm.js.map
console.ts:137 [Extension Host] Error: Traceback (most recent call last): File “”, line 1, in AttributeError: ‘module’ object has no attribute ‘get_home_dir’ at r.value.Promise (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:12126) at ChildProcess.h (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:5904) at ChildProcess.emit (events.js:182:13) at maybeClose (internal/child_process.js:962:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5) (at e.value (/Users/sstaub/.vscode-insiders/extensions/platformio.platformio-ide-1.7.1/node_modules/platformio-node-helpers/dist/index.js:1:11653))

some screenshots

It looks that you have multiple PIO Core in a system. See http://docs.platformio.org/en/latest/faq.html#multiple-pio-cores-in-a-system

PlatformIO IDE for VSCode tries to use own built-in PIO Core which is built in.

I have pio on vsc insider and on the stable version, that is the first time I get problems.

here another screenshot:

Could you upgrade PIO Core in all places to 4.0? I see that there is somewhere old PIO Core 3.0 with old API. See “AttributeError”.

The PIOCore was version 4.0.0, maybe it is an insider problem. I will reinstall the complete IDE.
Update: After a fresh install the problem also occurs, it seems it have to do with some changes on the VSCode Insider versions.

Yeah, they’d doing something with icon themes, which is also resulting in some… interesting… screen artifacts… new debug and extensions icons, midget platformio icon, platformio logo behind the platformio.ini file… Such is the life of an Insider user… :wink:

Insider 1.37.0 on Windows 10 as of yesterday:

1 Like