Skip to content

Remote installation of the soma-workflow server is incompletely configured #56

Open
@ylep

Description

@ylep

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:

  1. The export PYTHONPATH=... line is never added to my ~/.bashrc
  2. 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 through paramiko (similarly with ssh 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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions