Custom Spawner for Jupyterhub to start servers in batch scheduled systems
BSD 3-Clause "New" or "Revised" License
190
stars
134
forks
source link
`SlurmSpawner`'s default `batch_script` fails if `jupyterhub-singleuser` is not in the `PATH` #264
Closed
t20100 closed 8 months ago
Since
SlurmSpawner.batch_script
contains the following line and it's settingset -euo pipefail
, it fails ifjupyterhub-singleuser
is not in thePATH
: https://github.com/jupyterhub/batchspawner/blob/37a2e8e5012a5ac16bbdfccaa7796aefa6f9589b/batchspawner/batchspawner.py#L708This happens when setting jupyterhub's
Spawner.cmd
to an absolute path.Removing the
which
command should fix the issue.