Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SlurmSpawner's default batch_script fails if jupyterhub-singleuser is not in the PATH #264

Closed
t20100 opened this issue Feb 28, 2023 · 0 comments · Fixed by #265
Closed

Comments

@t20100
Copy link
Contributor

t20100 commented Feb 28, 2023

SinceSlurmSpawner.batch_script contains the following line and it's setting set -euo pipefail, it fails if jupyterhub-singleuser is not in the PATH:

which jupyterhub-singleuser

This happens when setting jupyterhub's Spawner.cmd to an absolute path.

Removing the which command should fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant