jupyterhub / batchspawner

Custom Spawner for Jupyterhub to start servers in batch scheduled systems
BSD 3-Clause "New" or "Revised" License
190 stars 134 forks source link

KeyError: 'runtime_dir' / PermissionError: [Errno 13] Permission denied: '/root/.local' #166

Closed statiksof closed 5 years ago

statiksof commented 5 years ago

Hi,

unset unset XDG_RUNTIME_DIR does not solve the problem. I am using jupyterhub 0.9.6.

Traceback (most recent call last):
  File "/python-3.5.4-gcc49/lib/python3.5/site-packages/traitlets/traitlets.py", line 528, in get
    value = obj._trait_values[self.name]
KeyError: 'runtime_dir'

Any idea of what causing the problem? why batchspawner trying to mkdir in /root?

Already checked #68