jupyterlab-hub
jupyterlab-hub copied to clipboard
(Bug?) Unable to create multiple workspaces for the same user
Describe the bug A user first logs in to his jupyterlab-hub account. His server is spawned successfully and he is able to use it without error. If that same user attempts to open a different tab to jupyterhub-lab, he is as expected greeted with:
Please use a different workspace.
This workspace is already in use in another JupyterLab window. Please enter another workspace name.
This turns out to be an infinite loop; entering any workspace name and clicking on Switch Workspace
redirects the user to the same page.
To Reproduce Steps to reproduce the behavior:
- Log in to a user in jupyterlab.
- Log in to the same user in another webpage.
Expected behavior The expected behavior is that a new workspace would be created for the user.
Desktop (please complete the following information):
- OS: Ubuntu 18.04.1
- Browser: Firefox 64.0
- JupyterLab:
jupyter_client 5.2.4 py_0 conda-forge
jupyter_core 4.4.0 py_0 conda-forge
jupyterhub 0.9.4 py36_1000 conda-forge
jupyterlab 0.35.4 py36_0 conda-forge
jupyterlab_launcher 0.13.1 py_2 conda-forge
jupyterlab_server 0.2.0 py_0 conda-forge
Additional context Add any other context about the problem here.
If available, please include the following details:
Troubleshoot Output
$PATH: /opt/anaconda3/bin /home/[]/.local/bin /usr/local/cuda-10.0/bin /opt/anaconda3/bin /usr/local/bin /usr/bin /bin /usr/local/games /usr/games /snap/binsys.path: /opt/anaconda3/bin /opt/anaconda3/lib/python36.zip /opt/anaconda3/lib/python3.6 /opt/anaconda3/lib/python3.6/lib-dynload /home/[]/.local/lib/python3.6/site-packages /opt/anaconda3/lib/python3.6/site-packages
sys.executable: /opt/anaconda3/bin/python3.6
sys.version: 3.6.7 | packaged by conda-forge | (default, Nov 21 2018, 02:32:25) [GCC 4.8.2 20140120 (Red Hat 4.8.2-15)]
platform.platform(): Linux-4.15.0-43-generic-x86_64-with-debian-buster-sid
which -a jupyter: /opt/anaconda3/bin/jupyter /opt/anaconda3/bin/jupyter
pip list: Package Version
-------------------- ----------- affine 2.2.1
alembic 0.9.9
asn1crypto 0.24.0
async-generator 1.10
attrs 18.2.0
backcall 0.1.0
bleach 3.0.2
certifi 2018.11.29 cffi 1.11.5
chardet 3.0.4
click 6.7
click-plugins 1.0.4
cligj 0.5.0
conda 4.5.12
configobj 5.0.6
cryptography 2.2.1
cryptography-vectors 2.4.2
cycler 0.10.0
decorator 4.3.0
entrypoints 0.2.3
everett 0.9
h5py 2.7.1
html5lib 1.0.1
idna 2.8
imageio 2.3.0
ipykernel 5.1.0
ipython 7.2.0
ipython-genutils 0.2.0
jedi 0.13.2
Jinja2 2.10
jsonschema 3.0.0a3
jupyter-client 5.2.4
jupyter-core 4.4.0
jupyterhub 0.9.4
jupyterlab 0.35.4
jupyterlab-launcher 0.13.1
jupyterlab-server 0.2.0
lxml 4.2.5
Mako 1.0.7
MarkupSafe 1.1.0
matplotlib 2.1.2
mistune 0.8.4
nb-conda 2.2.1
nb-conda-kernels 2.2.0
nbconvert 5.3.1
nbformat 4.4.0
networkx 2.1
notebook 5.7.4
npstreams 1.4.0
numpy 1.15.4
pamela 0.3.0
pandocfilters 1.4.2
parso 0.3.1
pexpect 4.6.0
pickleshare 0.7.5
Pillow 5.0.0
pip 18.1
pluginbase 0.7
prometheus-client 0.5.0
prompt-toolkit 2.0.7
protobuf 3.6.1
ptyprocess 0.6.0
pycosat 0.6.3
pycparser 2.19
pycurl 7.43.0.2
Pygments 2.3.1
pyOpenSSL 18.0.0
pyparsing 2.3.0
pyproj 1.9.5.1
pyrsistent 0.14.8
PySocks 1.6.8
python-dateutil 2.7.5
python-editor 1.0.3
python-oauth2 1.0.1
pytz 2018.7
pyzmq 17.1.2
rasterio 1.0.7
rastervision 0.8.1
requests 2.21.0
ruamel-yaml 0.15.71
scikit-learn 0.19.2
scipy 1.1.0
Send2Trash 1.5.0
setuptools 40.6.3
Shapely 1.6.4.post2 simplegeneric 0.8.1
six 1.12.0
snuggs 1.4.2
SQLAlchemy 1.2.15
terminado 0.8.1
testpath 0.4.2
tornado 5.1.1
traitlets 4.3.2
urllib3 1.24.1
wcwidth 0.1.7
webencodings 0.5.1
wheel 0.32.3conda list: # packages in environment at /opt/anaconda3: # # Name Version Build Channel alembic 0.9.9 py_0 conda-forge asn1crypto 0.24.0 py36_1003 conda-forge async_generator 1.10 py_0 conda-forge attrs 18.2.0 py_0 conda-forge backcall 0.1.0 py_0 conda-forge bleach 3.0.2 py_1 conda-forge bzip2 1.0.6 h470a237_2 conda-forge ca-certificates 2018.11.29 ha4d7672_0 conda-forge certifi 2018.11.29 py36_1000 conda-forge cffi 1.11.5 py36h5e8e0c9_1 conda-forge chardet 3.0.4 py36_1003 conda-forge conda 4.5.12 py36_1000 conda-forge conda-env 2.6.0 1 conda-forge configurable-http-proxy 3.1.0 node8_1 conda-forge cryptography 2.2.1 py36hdffb7b8_1 conda-forge cryptography-vectors 2.4.2 py_1000 conda-forge curl 7.63.0 h74213dd_0 conda-forge decorator 4.3.0 py_0 conda-forge entrypoints 0.2.3 py36_1002 conda-forge gmp 6.1.2 hfc679d8_0 conda-forge html5lib 1.0.1 py_0 conda-forge idna 2.8 py36_1000 conda-forge ipykernel 5.1.0 py36h24bf2e0_1001 conda-forge ipython 7.2.0 py36h24bf2e0_1000 conda-forge ipython_genutils 0.2.0 py_1 conda-forge jedi 0.13.2 py36_1000 conda-forge jinja2 2.10 py_1 conda-forge jsonschema 3.0.0a3 py36_1000 conda-forge jupyter_client 5.2.4 py_0 conda-forge jupyter_core 4.4.0 py_0 conda-forge jupyterhub 0.9.4 py36_1000 conda-forge jupyterlab 0.35.4 py36_0 conda-forge jupyterlab_launcher 0.13.1 py_2 conda-forge jupyterlab_server 0.2.0 py_0 conda-forge krb5 1.16.2 hbb41f41_0 conda-forge libcurl 7.63.0 hbdb9355_0 conda-forge libedit 3.1.20170329 haf1bffa_1 conda-forge libffi 3.2.1 hfc679d8_5 conda-forge libgcc 7.2.0 h69d50b8_2 conda-forge libgcc-ng 7.2.0 hdf63c60_3 conda-forge libsodium 1.0.16 h470a237_1 conda-forge libssh2 1.8.0 h5b517e9_3 conda-forge libstdcxx-ng 7.2.0 hdf63c60_3 conda-forge mako 1.0.7 py_1 conda-forge markupsafe 1.1.0 py36h470a237_0 conda-forge mistune 0.8.4 py36h470a237_0 conda-forge nb_conda 2.2.1 py36_0 conda-forge nb_conda_kernels 2.2.0 py36_1000 conda-forge nbconvert 5.3.1 py_1 conda-forge nbformat 4.4.0 py_1 conda-forge ncurses 6.1 hfc679d8_2 conda-forge nodejs 8.10.0 0 conda-forge notebook 5.7.4 py36_1000 conda-forge openssl 1.0.2p h470a237_2 conda-forge pamela 0.3.0 py_1001 conda-forge pandoc 2.5 0 conda-forge pandocfilters 1.4.2 py_1 conda-forge parso 0.3.1 py_0 conda-forge pexpect 4.6.0 py36_1000 conda-forge pickleshare 0.7.5 py36_1000 conda-forge pip 18.1 py36_1000 conda-forge prometheus_client 0.5.0 py_0 conda-forge prompt_toolkit 2.0.7 py_0 conda-forge ptyprocess 0.6.0 py36_1000 conda-forge pycosat 0.6.3 py36h470a237_1 conda-forge pycparser 2.19 py_0 conda-forge pycurl 7.43.0.2 py36hb7f436b_0
pygments 2.3.1 py_0 conda-forge pyopenssl 18.0.0 py36_1000 conda-forge pyrsistent 0.14.8 py36h470a237_0 conda-forge pysocks 1.6.8 py36_1002 conda-forge python 3.6.7 h5001a0f_1 conda-forge python-dateutil 2.7.5 py_0 conda-forge python-editor 1.0.3 py_0 conda-forge python-oauth2 1.0.1 py36_0 conda-forge pyzmq 17.1.2 py36hae99301_1 conda-forge readline 7.0 haf1bffa_1 conda-forge requests 2.21.0 py36_1000 conda-forge ruamel_yaml 0.15.71 py36h470a237_0 conda-forge send2trash 1.5.0 py_0 conda-forge setuptools 40.6.3 py36_0 conda-forge simplegeneric 0.8.1 py_1 conda-forge six 1.12.0 py36_1000 conda-forge sqlalchemy 1.2.15 py36h470a237_0 conda-forge sqlite 3.26.0 hb1c47c0_0 conda-forge terminado 0.8.1 py36_1001 conda-forge testpath 0.4.2 py36_1000 conda-forge tk 8.6.9 ha92aebf_0 conda-forge tornado 5.1.1 py36h470a237_0 conda-forge traitlets 4.3.2 py36_1000 conda-forge urllib3 1.24.1 py36_1000 conda-forge wcwidth 0.1.7 py_1 conda-forge webencodings 0.5.1 py_1 conda-forge wheel 0.32.3 py36_0 conda-forge xz 5.2.4 h470a237_1 conda-forge yaml 0.1.7 h470a237_1 conda-forge zeromq 4.2.5 hfc679d8_6 conda-forge zlib 1.2.11 h470a237_3 conda-forge