OS Console remote terminal won't start

asked 2020-03-07 13:43:09 -0500

Bill Waggoner gravatar image

updated 2020-03-12 09:11:55 -0500

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?

edit retag flag offensive 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 gravatar imageWingware 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 gravatar imageBill 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 gravatar imageWingware 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 gravatar imageBill 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 gravatar imageBill Waggoner ( 2020-03-09 20:28:20 -0500 )edit