Skip to content

Launching jupyter lab fails silently #146

@andersy005

Description

@andersy005

When verifying the existing of jupyter in user's environment, we rely on this command:

check_jupyter_status = 'which jupyter'

However, this command isn't robust enough because having jupyter install doesn't necessary mean that jupyterlab is also installed.

Due to this, when user's have jupyter installed and jupyterlab is not installed, this command

command = rf'jupyter lab --no-browser --ip={self._get_hostname()}'

when combined with the file redirection fails silently

/bin/bash -c "source activate environment && jupyter lab --no-browser --ip=casper-login1 > None/.jupyter_forward/log_2022-03-11T15-36-40.txt 2>&1"

We should look into more robust ways to check that jupyter lab is installed and not just jupyter

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions