Open
Description
In the GUI, under Server management / Add Server, the “Install on Server and Client” action fails for me: while the soma-workflow code is copied successfully on the server, the PYTHONPATH
fails to be correctly configured:
- The
export PYTHONPATH=...
line is never added to my~/.bashrc
- Even if I add it manually, it still does not work because
~/.bashrc
is only parsed when a full-featured remote shell is launched, not when a remote command is executed throughparamiko
(similarly withssh user@host printenv PYTHONPATH
).
Moreover, wouldn't it make more sense to store the server’s PYTHONPATH in the client configuration, and state it explicitly with each remote command, so that it is only used by this specific client, rather than imposing it globally in ~/.bashrc
? I suspect that the ~/.bashrc
approach can very easily lead to version mismatches.
@populse/soma we need to reach an agreement on how to proceed with this issue, what are your thoughts?