Package Details: jupyterhub 4.1.5-1

Git Clone URL: https://aur.archlinux.org/jupyterhub.git (read-only, click to copy)
Package Base: jupyterhub
Description: Multi-user server for Jupyter notebooks
Upstream URL: https://jupyter.org/hub
Licenses: BSD-3-Clause
Submitter: xantares
Maintainer: bcb
Last Packager: bcb
Votes: 9
Popularity: 0.000002
First Submitted: 2015-03-12 14:00 (UTC)
Last Updated: 2024-04-14 11:23 (UTC)

Pinned Comments

bcb commented on 2021-12-05 16:27 (UTC)

Note that version upgrades may require you to upgrade the database before the new version will start. Always check the documentation, in particular the changelog before upgrading.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

tinux commented on 2023-08-02 08:14 (UTC)

@lahwaacz: Thanks for your response. I managed to test this again, and it kind of works with the default c.Spawner.cmd = ['jupyterhub-singleuser'], but c.Spawner.default_url = '/lab' has no effect. I start in {main_url}/user/{user}/tree no matter what I set. If I then click on "View > Open JupyterLab" I do end up in a working jupyterlab environment ({main_url}/user/{user}/lab) though, just not from the beginning.

I honestly do not remember where I got jupyter-labhub from. I set this up quite a while ago and it has only just stopped working with the recent update to notebook 7.

lahwaacz commented on 2023-07-28 16:05 (UTC) (edited on 2023-07-28 16:06 (UTC) by lahwaacz)

@tinux: I found this issue for JupyterHub starting Notebook instead of Lab by default: https://github.com/jupyterhub/jupyterhub/issues/4510

As for jupyter-labhub, which project is providing this spawner? It was probably not updated to support JupyterHub 4 yet...

tinux commented on 2023-07-28 12:46 (UTC) (edited on 2023-07-28 12:46 (UTC) by tinux)

Since the update to notebook 7, jupyterhub is not working anymore when I use c.Spawner.cmd = ["jupyter-labhub"]. Currently, I have to use the default c.Spawner.cmd = ["jupyterhub-singleuser"]. I still get notebook 7, but just the notebook, and not the lab interface.

The issue is that the session is not spawned. Here is some output from systemd:

File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 1042, in >
Jul 28 14:32:22 ultrafast jupyterhub[13536]:     app.initialize(argv)
Jul 28 14:32:22 ultrafast jupyterhub[13536]:   File "/usr/lib/python3.11/site-packages/jupyterhub/singleuser/mixins.py", line 954, in i>
Jul 28 14:32:22 ultrafast jupyterhub[13536]:     _patch_app_base_handlers(self)
Jul 28 14:32:22 ultrafast jupyterhub[13536]:   File "/usr/lib/python3.11/site-packages/jupyterhub/singleuser/mixins.py", line 865, in _>
Jul 28 14:32:22 ultrafast jupyterhub[13536]:     base_handlers.append(import_item(base_handler_name))
Jul 28 14:32:22 ultrafast jupyterhub[13536]:                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 28 14:32:22 ultrafast jupyterhub[13536]:   File "/usr/lib/python3.11/site-packages/traitlets/utils/importstring.py", line 34, in im>
Jul 28 14:32:22 ultrafast jupyterhub[13536]:     raise ImportError("No module named %s" % obj) from e
Jul 28 14:32:22 ultrafast jupyterhub[13536]: ImportError: No module named IPythonHandler

Sorry, this is not complete. The system is used by other people, and currently I rather have it running with normal notebooks instead of not at all.

lahwaacz commented on 2023-07-20 12:45 (UTC)

I had to add yarn to makedepends to have /usr/share/jupyterhub/static/js/admin-react.js in the package. See https://github.com/jupyterhub/jupyterhub/pull/4034

But I had to build the package with --nocheck since test_token_page is failing (with as well as without yarn, maybe due to the JupyterLab 4 or Jupyter Notebook 7 update).

lahwaacz commented on 2023-07-20 07:54 (UTC)

I'm getting this error on jupyterhub-4.0.1-1:

 [E 2023-07-20 09:50:52.728 JupyterHub web:3025] Could not open static file '/usr/share/jupyterhub/static/js/admin-react.js'

The file /usr/share/jupyterhub/static/js/admin-react.js is missing in the package.

pedestrianlove commented on 2023-05-15 03:54 (UTC)

Sorry but is there any plan on bumping the version?

leuko commented on 2023-01-26 18:21 (UTC)

Tests require python-selenium

FirstAirBender commented on 2022-04-20 20:28 (UTC) (edited on 2022-04-20 20:29 (UTC) by FirstAirBender)

Tests are failing for jupyterhub/tests/test_singleuser.py::test_singleuser_auth.

The error I get is: requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://127.0.0.1:50879/@/space%20word/user/nandy/tree

bcb commented on 2022-02-18 18:07 (UTC)

@leuko -- I've made that change in the latest version, thanks for reporting it.