Closed loadnabox closed 5 years ago
I have the exact same issue. Any luck getting this figured out?
Does it have anything to do with the 10s timeout for the spawner? I'm not sure how it maintains the tree information internally.
[W 2019-02-01 13:23:11.100 JupyterHub base:714] User USER is slow to start (timeout=10)
More infomation:
Same issue with master branch on both JupyterHub 0.9.4 and 0.8.1 with the master batchspawner master (0.9dev)
I got my system working using JupyterHub 0.8.1 and batchspawner tag 0.8.1.
I got the same problem. What would be the correct API call? Any ideas how to fix this?
I found the root cause of this: The problem is that the API handler never gets loaded since "batchspawner.api" never was imported.
The best solution to this is to add the following line in your jupyterhub_config.py:
c.JupyterHub.extra_handlers = [(r"/api/batchspawner", 'batchspawner.api.BatchSpawnerAPIHandler')]
See also https://github.com/jupyterhub/batchspawner/issues/126
I think this is updated in the current README now, with a solution of import batchspawrer
, which is a bit more generic and works even if the API handling gets changed. Please let us know if more is needed.
Apologies if this is the wrong place,struggling through the documentation and hit a brick wall, this was my best guess for help
Scenario:
Problem: I got batchspawner working on it's own first. I later added in lines for wrapspawner After adding wrapspawner options I now get the below errors:
Slurm output:
From JupyterHub side:
Config file:
TYIA, help is greatly appreciated