- Set an invalid
pythonPath in settings.json
- Python extension does not load, instead we get an error
Extension host terminated
- Error message displayed indicates the extension host terminates with the error
SIGPIPE signal.
Unfortunately I'm no longer able to replicate this.
Note: When a SIGPIPE event is received, the process terminates.
Cause:
- Jedi process does not load (as
pythonPath is invalid)
- When attempting to write into
stdin, the host process crashes:
this.proc.stdin.write(`${JSON.stringify(payload)}\n`);
Two solutions
- Add handler for SIGPIPE signal, log the errors
- Ensure we do not instantiate jedi process if
pythonPath is invalid
Unfortunately this isn't the cause fo #342, as this is a Mac issue.
pythonPathinsettings.jsonExtension host terminatedSIGPIPEsignal.Unfortunately I'm no longer able to replicate this.
Note: When a SIGPIPE event is received, the process terminates.
Cause:
pythonPathis invalid)stdin, the host process crashes:this.proc.stdin.write(`${JSON.stringify(payload)}\n`);Two solutions
pythonPathis invalidUnfortunately this isn't the cause fo #342, as this is a Mac issue.