OS Console remote terminal won't start

I have a remote project (Raspbian host) set up that is working well (WxPython development) but the Terminal under OS Console gets an error: Process failed to start: which() got an unexpected keyword argument 'env'

Is opening a terminal on a remote host supported?

Bill Waggoner's avatar
145
Bill Waggoner
asked 2020-03-07 13:43:09 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2020-03-12 09:11:55 -0500
edit flag offensive 0 remove flag close merge delete

Comments

What is the Python Executable set to in your remote host configuration? I'm guessing either this is an issue with using the "Activated Env" option or possibly a result of using a shell other than the default on the remote host.

Wingware Support's avatar Wingware Support (2020-03-07 20:53:06 -0500) edit

It is set to Use Default but I do have pyenv installed on the remote so which python3 shows /home/pi/.pyenv/shims/python3

However, I changed the executable to /usr/bin/python3 but that did not fix it.

Bill Waggoner's avatar Bill Waggoner (2020-03-07 22:20:32 -0500) edit

Does running 'bash -norc' work on the remote host? The solution may be to edit the OS Command that New Terminal creates and change the command line to something else.

Wingware Support's avatar Wingware Support (2020-03-09 08:40:34 -0500) edit

yes, bash -norc runs fine. I changed the command to zsh -f as that is my preferred shell and I get the same error.

Bill Waggoner's avatar Bill Waggoner (2020-03-09 17:25:32 -0500) edit

I can configure a command like ls -AlF which works fine. /usr/bin/zsh -f still gets the above error.

Bill Waggoner's avatar Bill Waggoner (2020-03-09 20:28:20 -0500) edit
add a comment see more comments