You are not logged in.

#1 2025-08-14 20:51:09

borgch
Member
Registered: 2017-10-10
Posts: 39

[SOLVED] Issue with GAP kernel in Jupyter Notebook

I have an error "Kernel does not exist" with GAP kernel of Jupyter on a fresh installed system.

I installed packages gap, gap-packages, jupyter with pacman and gap-jupyterkernel-install with yay. I can create ipynb file with gap-4 kernel, but nothin is happened when I try to run cells.

The log of jupyter notebook:

[boris@boris-hp ~]$ jupyter notebook --debug
[D 2025-08-15 03:36:23.487 ServerApp] Searching ['/home/boris/.jupyter', '/home/boris/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 2025-08-15 03:36:23.487 ServerApp] Looking for jupyter_config in /etc/jupyter
[D 2025-08-15 03:36:23.487 ServerApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 2025-08-15 03:36:23.487 ServerApp] Looking for jupyter_config in /usr/etc/jupyter
[D 2025-08-15 03:36:23.487 ServerApp] Looking for jupyter_config in /home/boris/.local/etc/jupyter
[D 2025-08-15 03:36:23.487 ServerApp] Looking for jupyter_config in /home/boris/.jupyter
[D 2025-08-15 03:36:23.488 ServerApp] Looking for jupyter_server_config in /etc/jupyter
[D 2025-08-15 03:36:23.488 ServerApp] Looking for jupyter_server_config in /usr/local/etc/jupyter
[D 2025-08-15 03:36:23.488 ServerApp] Looking for jupyter_server_config in /usr/etc/jupyter
[D 2025-08-15 03:36:23.488 ServerApp] Looking for jupyter_server_config in /home/boris/.local/etc/jupyter
[D 2025-08-15 03:36:23.489 ServerApp] Looking for jupyter_server_config in /home/boris/.jupyter
[D 2025-08-15 03:36:23.491 ServerApp] Paths used for configuration of jupyter_server_config: 
        /etc/jupyter/jupyter_server_config.d/jupyterlab.json
        /etc/jupyter/jupyter_server_config.d/notebook.json
        /etc/jupyter/jupyter_server_config.d/notebook_shim.json
        /etc/jupyter/jupyter_server_config.json
[D 2025-08-15 03:36:23.492 ServerApp] Paths used for configuration of jupyter_server_config: 
        /usr/local/etc/jupyter/jupyter_server_config.json
[D 2025-08-15 03:36:23.492 ServerApp] Paths used for configuration of jupyter_server_config: 
        /usr/etc/jupyter/jupyter_server_config.json
[D 2025-08-15 03:36:23.492 ServerApp] Paths used for configuration of jupyter_server_config: 
        /home/boris/.local/etc/jupyter/jupyter_server_config.json
[D 2025-08-15 03:36:23.492 ServerApp] Paths used for configuration of jupyter_server_config: 
        /home/boris/.jupyter/jupyter_server_config.json
[D 2025-08-15 03:36:23.496 ServerApp] Extension package notebook took 0.0000s to import
[D 2025-08-15 03:36:23.497 ServerApp] Extension package jupyterlab took 0.0000s to import
[D 2025-08-15 03:36:23.579 ServerApp] Paths used for configuration of page_config: 
        /usr/etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:23.580 ServerApp] Paths used for configuration of page_config: 
        /home/boris/.jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:23.581 ServerApp] Paths used for configuration of page_config: 
    
[D 2025-08-15 03:36:23.585 ServerApp] Extension package notebook_shim took 0.0000s to import
[D 2025-08-15 03:36:23.589 LabApp] Config changed: {'NotebookApp': {}, 'ServerApp': {'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue {'update': {'jupyterlab': True, 'notebook_shim': True}}>}, 'ExtensionApp': {'log_level': 'DEBUG'}}
[I 2025-08-15 03:36:23.590 ServerApp] jupyterlab | extension was successfully linked.
[D 2025-08-15 03:36:23.594 JupyterNotebookApp] Config changed: {'NotebookApp': {}, 'ServerApp': {'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue value={'notebook': True, 'jupyterlab': True, 'notebook_shim': True}>}, 'ExtensionApp': {'log_level': 'DEBUG'}}
[I 2025-08-15 03:36:23.594 ServerApp] notebook | extension was successfully linked.
[D 2025-08-15 03:36:23.789 ServerApp] Paths used for configuration of jupyter_notebook_config: 
        /home/boris/.jupyter/jupyter_notebook_config.json
[D 2025-08-15 03:36:23.789 ServerApp] Paths used for configuration of jupyter_notebook_config: 
        /etc/jupyter/jupyter_notebook_config.d/jupyterlab.json
        /etc/jupyter/jupyter_notebook_config.json
[D 2025-08-15 03:36:23.790 ServerApp] Paths used for configuration of jupyter_notebook_config: 
        /usr/local/etc/jupyter/jupyter_notebook_config.json
[D 2025-08-15 03:36:23.790 ServerApp] Paths used for configuration of jupyter_notebook_config: 
        /usr/etc/jupyter/jupyter_notebook_config.json
[D 2025-08-15 03:36:23.790 ServerApp] Paths used for configuration of jupyter_notebook_config: 
        /home/boris/.local/etc/jupyter/jupyter_notebook_config.json
[D 2025-08-15 03:36:23.790 ServerApp] Paths used for configuration of jupyter_notebook_config: 
        /home/boris/.jupyter/jupyter_notebook_config.json
[I 2025-08-15 03:36:23.790 ServerApp] notebook_shim | extension was successfully linked.
[D 2025-08-15 03:36:23.791 ServerApp] Config changed: {'ExtensionApp': {'log_level': 'DEBUG'}, 'NotebookApp': {}, 'ServerApp': {'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue value={'notebook': True, 'jupyterlab': True, 'notebook_shim': True}>}}
[D 2025-08-15 03:36:23.791 ServerApp] Raising open file limit: soft 1024->4096; hard 524288->524288
[I 2025-08-15 03:36:23.806 ServerApp] notebook_shim | extension was successfully loaded.
[D 2025-08-15 03:36:23.808 ServerApp] Paths used for configuration of page_config: 
        /etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:23.809 ServerApp] Paths used for configuration of page_config: 
        /usr/local/etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:23.809 ServerApp] Paths used for configuration of page_config: 
        /usr/etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:23.809 ServerApp] Paths used for configuration of page_config: 
        /home/boris/.local/etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:23.809 ServerApp] Paths used for configuration of page_config: 
        /home/boris/.jupyter/labconfig/page_config.json
[I 2025-08-15 03:36:23.810 LabApp] JupyterLab extension loaded from /usr/lib/python3.13/site-packages/jupyterlab
[I 2025-08-15 03:36:23.810 LabApp] JupyterLab application directory is /usr/share/jupyter/lab
[I 2025-08-15 03:36:23.810 LabApp] Extension Manager is 'pypi'.
[D 2025-08-15 03:36:23.811 LabApp] Plugins in PyPIExtensionManager will managed on the sys_prefix level
[D 2025-08-15 03:36:23.846 LabApp] Extensions list will be fetched from https://pypi.org/pypi.
[D 2025-08-15 03:36:23.846 LabApp] Plugins in PluginManager will managed on the sys_prefix level
[D 2025-08-15 03:36:23.847 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:23.848 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:23.848 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:23.848 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:23.848 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[I 2025-08-15 03:36:23.850 ServerApp] jupyterlab | extension was successfully loaded.
[D 2025-08-15 03:36:23.852 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:23.853 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:23.853 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:23.853 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:23.853 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[I 2025-08-15 03:36:23.854 ServerApp] notebook | extension was successfully loaded.
[I 2025-08-15 03:36:23.855 ServerApp] Serving notebooks from local directory: /home/boris
[I 2025-08-15 03:36:23.855 ServerApp] Jupyter Server 2.16.0 is running at:
[I 2025-08-15 03:36:23.855 ServerApp] http://localhost:8888/tree?token=bbf1246db58d591018fa2e34290b4757cd4bf04964ccdf43
[I 2025-08-15 03:36:23.855 ServerApp]     http://127.0.0.1:8888/tree?token=bbf1246db58d591018fa2e34290b4757cd4bf04964ccdf43
[I 2025-08-15 03:36:23.855 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2025-08-15 03:36:23.890 ServerApp] 
    
    To access the server, open this file in a browser:
        file:///home/boris/.local/share/jupyter/runtime/jpserver-229484-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/tree?token=bbf1246db58d591018fa2e34290b4757cd4bf04964ccdf43
        http://127.0.0.1:8888/tree?token=bbf1246db58d591018fa2e34290b4757cd4bf04964ccdf43
[D 2025-08-15 03:36:23.891 ServerApp] notebook_shim | extension was successfully started.
[D 2025-08-15 03:36:23.891 ServerApp] jupyterlab | extension was successfully started.
[D 2025-08-15 03:36:23.892 ServerApp] notebook | extension was successfully started.
[D 2025-08-15 03:36:24.260 ServerApp] 200 GET /api/contents/Untitled1.ipynb/checkpoints?1755203784180 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 7.66ms
[W 2025-08-15 03:36:24.923 ServerApp] 404 GET /api/kernels/183785d9-43aa-4f29-a341-cfd49c581c1b/channels?session_id=12585788-e7f2-4081-8999-7d75c20aeaac (127.0.0.1): Kernel does not exist: 183785d9-43aa-4f29-a341-cfd49c581c1b
[D 2025-08-15 03:36:24.923 ServerApp] Using contents: services/contents
[D 2025-08-15 03:36:24.939 ServerApp] Path favicon.ico served from /usr/lib/python3.13/site-packages/jupyter_server/static/favicon.ico
[D 2025-08-15 03:36:24.939 ServerApp] Path style/bootstrap.min.css served from /usr/lib/python3.13/site-packages/jupyter_server/static/style/bootstrap.min.css
[D 2025-08-15 03:36:24.940 ServerApp] Path style/bootstrap-theme.min.css served from /usr/lib/python3.13/site-packages/jupyter_server/static/style/bootstrap-theme.min.css
[D 2025-08-15 03:36:24.940 ServerApp] Path style/index.css served from /usr/lib/python3.13/site-packages/jupyter_server/static/style/index.css
[D 2025-08-15 03:36:24.940 ServerApp] Path logo/logo.png served from /usr/lib/python3.13/site-packages/jupyter_server/static/logo/logo.png
[W 2025-08-15 03:36:24.941 ServerApp] 404 GET /api/kernels/183785d9-43aa-4f29-a341-cfd49c581c1b/channels?session_id=12585788-e7f2-4081-8999-7d75c20aeaac (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 18.93ms referer=None
[W 2025-08-15 03:36:25.063 ServerApp] 404 GET /api/kernels/183785d9-43aa-4f29-a341-cfd49c581c1b?1755203784943 (127.0.0.1): Kernel does not exist: 183785d9-43aa-4f29-a341-cfd49c581c1b
[W 2025-08-15 03:36:25.063 ServerApp] wrote error: 'Kernel does not exist: 183785d9-43aa-4f29-a341-cfd49c581c1b'
    Traceback (most recent call last):
      File "/usr/lib/python3.13/site-packages/tornado/web.py", line 1790, in _execute
        result = await result
                 ^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/auth/decorator.py", line 73, in inner
        return await out
               ^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/handlers.py", line 75, in get
        model = await ensure_async(km.kernel_model(kernel_id))
                                   ~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 508, in kernel_model
        self._check_kernel_id(kernel_id)
        ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 539, in _check_kernel_id
        raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id)
    tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: 183785d9-43aa-4f29-a341-cfd49c581c1b)
[W 2025-08-15 03:36:25.067 ServerApp] 404 GET /api/kernels/183785d9-43aa-4f29-a341-cfd49c581c1b?1755203784943 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 4.98ms referer=http://localhost:8888/tree
[D 2025-08-15 03:36:25.146 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:25.147 ServerApp] Paths used for configuration of page_config: 
        /etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:25.147 ServerApp] Paths used for configuration of page_config: 
        /usr/local/etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:25.148 ServerApp] Paths used for configuration of page_config: 
        /usr/etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:25.148 ServerApp] Paths used for configuration of page_config: 
        /home/boris/.local/etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:25.148 ServerApp] Paths used for configuration of page_config: 
        /home/boris/.jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:25.156 JupyterNotebookApp] Using contents: services/contents
[D 2025-08-15 03:36:25.157 JupyterNotebookApp] 200 GET /tree?token=[secret] (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 12.08ms
[D 2025-08-15 03:36:25.254 ServerApp] Paths used for configuration of page_config: 
        /etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:25.254 ServerApp] Paths used for configuration of page_config: 
        /usr/local/etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:25.254 ServerApp] Paths used for configuration of page_config: 
        /usr/etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:25.255 ServerApp] Paths used for configuration of page_config: 
        /home/boris/.local/etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:25.255 ServerApp] Paths used for configuration of page_config: 
        /home/boris/.jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:25.257 JupyterNotebookApp] 304 GET /custom/custom.css (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 5.27ms
[W 2025-08-15 03:36:25.468 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7?1755203785319 (127.0.0.1): Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7
[W 2025-08-15 03:36:25.469 ServerApp] wrote error: 'Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7'
    Traceback (most recent call last):
      File "/usr/lib/python3.13/site-packages/tornado/web.py", line 1790, in _execute
        result = await result
                 ^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/auth/decorator.py", line 73, in inner
        return await out
               ^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/handlers.py", line 75, in get
        model = await ensure_async(km.kernel_model(kernel_id))
                                   ~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 508, in kernel_model
        self._check_kernel_id(kernel_id)
        ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 539, in _check_kernel_id
        raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id)
    tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7)
[W 2025-08-15 03:36:25.471 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7?1755203785319 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 3.78ms referer=http://localhost:8888/notebooks/Untitled1.ipynb
[D 2025-08-15 03:36:25.503 ServerApp] 200 GET /api/contents?content=1&hash=0&1755203785317 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 39.19ms
[W 2025-08-15 03:36:25.646 ServerApp] 404 GET /api/kernels/f104efde-096b-4376-a01a-d6666ef7cfea?1755203785625 (127.0.0.1): Kernel does not exist: f104efde-096b-4376-a01a-d6666ef7cfea
[W 2025-08-15 03:36:25.646 ServerApp] wrote error: 'Kernel does not exist: f104efde-096b-4376-a01a-d6666ef7cfea'
    Traceback (most recent call last):
      File "/usr/lib/python3.13/site-packages/tornado/web.py", line 1790, in _execute
        result = await result
                 ^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/auth/decorator.py", line 73, in inner
        return await out
               ^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/handlers.py", line 75, in get
        model = await ensure_async(km.kernel_model(kernel_id))
                                   ~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 508, in kernel_model
        self._check_kernel_id(kernel_id)
        ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 539, in _check_kernel_id
        raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id)
    tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: f104efde-096b-4376-a01a-d6666ef7cfea)
[W 2025-08-15 03:36:25.647 ServerApp] 404 GET /api/kernels/f104efde-096b-4376-a01a-d6666ef7cfea?1755203785625 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 2.48ms referer=http://localhost:8888/tree
[D 2025-08-15 03:36:25.746 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:25.747 ServerApp] Found kernel python3 in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:25.747 ServerApp] Found kernel gap-4 in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:25.747 ServerApp] Found kernel sagemath in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:25.771 ServerApp] 200 GET /api/kernelspecs?1755203785742 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 25.65ms
[D 2025-08-15 03:36:25.773 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:25.774 ServerApp] 200 GET /api/me?1755203785743 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.45ms
[D 2025-08-15 03:36:25.793 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:25.794 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:25.794 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:25.794 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:25.795 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:25.795 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:25.887 LabApp] 200 GET /lab/api/settings?1755203785757 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 94.79ms
[D 2025-08-15 03:36:25.891 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:25.892 ServerApp] 200 GET /api/sessions?1755203785763 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 3.75ms
[D 2025-08-15 03:36:25.893 ServerApp] 101 GET /api/events/subscribe (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 3.90ms
[D 2025-08-15 03:36:25.893 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:25.894 ServerApp] Found kernel python3 in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:25.894 ServerApp] Found kernel gap-4 in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:25.894 ServerApp] Found kernel sagemath in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:25.896 ServerApp] 200 GET /api/kernelspecs?1755203785795 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 6.26ms
[D 2025-08-15 03:36:25.896 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:25.897 ServerApp] 200 GET /api/me?1755203785810 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 6.51ms
[D 2025-08-15 03:36:25.897 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:25.898 ServerApp] 200 GET /api/kernels?1755203785762 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 7.05ms
[D 2025-08-15 03:36:26.054 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.054 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.055 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.055 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.055 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.055 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.084 ServerApp] 200 GET /lab/api/translations/default?1755203786048 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 30.63ms
[D 2025-08-15 03:36:26.138 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.138 ServerApp] Using contents: services/contents
[W 2025-08-15 03:36:26.139 ServerApp] 404 GET /lsp/status?1755203786132 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.61ms referer=http://localhost:8888/tree
[D 2025-08-15 03:36:26.204 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.204 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.204 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.205 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.205 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.205 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.246 ServerApp] 200 GET /lab/api/translations?1755203786201 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 42.82ms
[D 2025-08-15 03:36:26.255 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.289 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.289 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.289 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.290 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.290 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.290 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.294 LabApp] 200 GET /lab/api/settings?ids_only=true&1755203786285 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 6.32ms
[D 2025-08-15 03:36:26.295 ServerApp] 200 GET /api/contents?content=1&hash=0&1755203786247 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 41.07ms
[D 2025-08-15 03:36:26.296 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.297 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.297 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.297 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.297 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.298 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.386 LabApp] 200 GET /lab/api/settings?1755203786286 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 89.86ms
[D 2025-08-15 03:36:26.388 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.389 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.389 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.389 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.389 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.390 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.392 LabApp] 200 GET /lab/api/settings/@jupyterlab/codemirror-extension:plugin?1755203786342 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 4.71ms
[D 2025-08-15 03:36:26.393 ServerApp] Path @jupyterlab/theme-light-extension/index.css served from /usr/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.css
[D 2025-08-15 03:36:26.393 ServerApp] 304 GET /lab/api/themes/@jupyterlab/theme-light-extension/index.css (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 3.84ms
[D 2025-08-15 03:36:26.394 ServerApp] 200 GET /api/contents/Untitled1.ipynb/checkpoints?1755203786317 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 7.59ms
[D 2025-08-15 03:36:26.395 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.396 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.396 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.396 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.397 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.397 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.400 LabApp] 200 GET /lab/api/settings/@jupyterlab/notebook-extension:panel?1755203786343 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 5.71ms
[D 2025-08-15 03:36:26.452 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.482 ServerApp] 200 GET /api/contents?content=1&hash=0&1755203786450 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 30.42ms
[D 2025-08-15 03:36:26.564 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.565 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.565 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.565 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.566 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.566 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.568 LabApp] 200 GET /lab/api/settings/@jupyterlab/tooltip-extension:notebooks?1755203786556 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 4.75ms
[D 2025-08-15 03:36:26.570 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.570 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.571 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.571 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.571 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.572 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.572 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.573 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.573 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.573 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.574 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.575 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.575 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.575 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.576 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.576 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.578 LabApp] 200 GET /lab/api/settings/@jupyterlab/tooltip-extension:consoles?1755203786556 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 8.85ms
[D 2025-08-15 03:36:26.579 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.579 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.579 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.580 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.580 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.581 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.581 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.581 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.581 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.582 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.583 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.583 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.583 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.583 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.584 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.584 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.588 LabApp] 200 GET /lab/api/settings/@jupyterlab/metadataform-extension:metadataforms?1755203786557 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 16.50ms
[D 2025-08-15 03:36:26.588 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.592 LabApp] 200 GET /lab/api/settings/@jupyterlab/markdownviewer-extension:plugin?1755203786557 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 17.88ms
[D 2025-08-15 03:36:26.592 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.595 LabApp] 200 GET /lab/api/settings/@jupyterlab/toc-extension:registry?1755203786556 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 16.45ms
[D 2025-08-15 03:36:26.595 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.597 LabApp] 200 GET /lab/api/settings/@jupyterlab/notebook-extension:tools?1755203786557 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 16.84ms
[D 2025-08-15 03:36:26.597 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.599 LabApp] 200 GET /lab/api/settings/@jupyterlab/notebook-extension:completer?1755203786557 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 17.17ms
[D 2025-08-15 03:36:26.601 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.601 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.601 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.602 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.602 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.603 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.603 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.603 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.604 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.604 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.606 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.606 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.606 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.607 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.607 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.607 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.610 LabApp] 200 GET /lab/api/settings/@jupyterlab/logconsole-extension:plugin?1755203786558 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 10.57ms
[D 2025-08-15 03:36:26.612 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.613 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.613 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.613 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.613 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.615 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.615 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.616 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.616 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.616 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:26.617 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.620 LabApp] 200 GET /lab/api/settings/@jupyterlab/fileeditor-extension:completer?1755203786558 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 17.60ms
[D 2025-08-15 03:36:26.620 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.625 LabApp] 200 GET /lab/api/settings/@jupyterlab/debugger-extension:main?1755203786558 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 19.87ms
[D 2025-08-15 03:36:26.625 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.628 LabApp] 200 GET /lab/api/settings/@jupyterlab/celltags-extension:plugin?1755203786558 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 16.93ms
[D 2025-08-15 03:36:26.628 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:26.632 LabApp] 200 GET /lab/api/settings/@jupyterlab/cell-toolbar-extension:plugin?1755203786558 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 18.15ms
[W 2025-08-15 03:36:27.411 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7/channels?session_id=e6a3d15f-72df-410d-ac28-135e1892f6b4 (127.0.0.1): Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7
[D 2025-08-15 03:36:27.412 ServerApp] Using contents: services/contents
[W 2025-08-15 03:36:27.414 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7/channels?session_id=e6a3d15f-72df-410d-ac28-135e1892f6b4 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 3.50ms referer=None
[W 2025-08-15 03:36:27.424 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7?1755203787417 (127.0.0.1): Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7
[W 2025-08-15 03:36:27.425 ServerApp] wrote error: 'Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7'
    Traceback (most recent call last):
      File "/usr/lib/python3.13/site-packages/tornado/web.py", line 1790, in _execute
        result = await result
                 ^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/auth/decorator.py", line 73, in inner
        return await out
               ^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/handlers.py", line 75, in get
        model = await ensure_async(km.kernel_model(kernel_id))
                                   ~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 508, in kernel_model
        self._check_kernel_id(kernel_id)
        ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 539, in _check_kernel_id
        raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id)
    tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7)
[W 2025-08-15 03:36:27.428 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7?1755203787417 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 5.24ms referer=http://localhost:8888/notebooks/Untitled1.ipynb
[W 2025-08-15 03:36:28.411 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7?1755203788404 (127.0.0.1): Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7
[W 2025-08-15 03:36:28.411 ServerApp] wrote error: 'Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7'
    Traceback (most recent call last):
      File "/usr/lib/python3.13/site-packages/tornado/web.py", line 1790, in _execute
        result = await result
                 ^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/auth/decorator.py", line 73, in inner
        return await out
               ^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/handlers.py", line 75, in get
        model = await ensure_async(km.kernel_model(kernel_id))
                                   ~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 508, in kernel_model
        self._check_kernel_id(kernel_id)
        ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 539, in _check_kernel_id
        raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id)
    tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7)
[W 2025-08-15 03:36:28.414 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7?1755203788404 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 5.05ms referer=http://localhost:8888/notebooks/Untitled1.ipynb
[D 2025-08-15 03:36:28.838 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:29.033 ServerApp] Paths used for configuration of page_config: 
        /etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:29.034 ServerApp] Paths used for configuration of page_config: 
        /usr/local/etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:29.034 ServerApp] Paths used for configuration of page_config: 
        /usr/etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:29.035 ServerApp] Paths used for configuration of page_config: 
        /home/boris/.local/etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:29.035 ServerApp] Paths used for configuration of page_config: 
        /home/boris/.jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:29.049 JupyterNotebookApp] Using contents: services/contents
[D 2025-08-15 03:36:29.050 JupyterNotebookApp] 200 GET /notebooks/Untitled.ipynb (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 19.52ms
[D 2025-08-15 03:36:29.051 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:29.163 ServerApp] 200 GET /api/contents/Untitled.ipynb?type=notebook&content=1&hash=1&contentProviderId=undefined&1755203788842 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 132.39ms
[D 2025-08-15 03:36:29.168 ServerApp] Paths used for configuration of page_config: 
        /etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:29.168 ServerApp] Paths used for configuration of page_config: 
        /usr/local/etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:29.169 ServerApp] Paths used for configuration of page_config: 
        /usr/etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:29.170 ServerApp] Paths used for configuration of page_config: 
        /home/boris/.local/etc/jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:29.170 ServerApp] Paths used for configuration of page_config: 
        /home/boris/.jupyter/labconfig/page_config.json
[D 2025-08-15 03:36:29.175 JupyterNotebookApp] 304 GET /custom/custom.css (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 9.69ms
[D 2025-08-15 03:36:29.788 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:29.790 ServerApp] Found kernel python3 in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:29.790 ServerApp] Found kernel gap-4 in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:29.790 ServerApp] Found kernel sagemath in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:29.792 ServerApp] 200 GET /api/kernelspecs?1755203789717 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 4.02ms
[D 2025-08-15 03:36:29.794 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:29.795 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:29.795 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:29.795 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:29.796 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:29.796 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:29.797 ServerApp] 200 GET /api/me?1755203789719 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 3.54ms
[D 2025-08-15 03:36:29.797 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:29.915 LabApp] 200 GET /lab/api/settings?1755203789734 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 121.72ms
[D 2025-08-15 03:36:29.917 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:29.918 ServerApp] 200 GET /api/kernels?1755203789739 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 2.31ms
[D 2025-08-15 03:36:29.919 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:29.921 ServerApp] 200 GET /api/sessions?1755203789739 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 4.38ms
[D 2025-08-15 03:36:29.922 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:29.924 ServerApp] 200 GET /api/me?1755203789807 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.80ms
[D 2025-08-15 03:36:29.925 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:29.927 ServerApp] Found kernel python3 in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:29.927 ServerApp] Found kernel gap-4 in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:29.927 ServerApp] Found kernel sagemath in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:29.932 ServerApp] 200 GET /api/kernelspecs?1755203789806 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 7.55ms
[D 2025-08-15 03:36:30.013 ServerApp] 200 GET /api/nbconvert?1755203788834 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1174.93ms
[D 2025-08-15 03:36:30.123 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.124 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.124 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.124 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.124 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.125 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.151 ServerApp] 200 GET /lab/api/translations/default?1755203790120 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 28.21ms
[D 2025-08-15 03:36:30.171 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.171 ServerApp] Using contents: services/contents
[W 2025-08-15 03:36:30.172 ServerApp] 404 GET /lsp/status?1755203790162 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.80ms referer=http://localhost:8888/notebooks/Untitled.ipynb
[D 2025-08-15 03:36:30.270 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.270 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.270 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.271 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.271 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.271 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.285 ServerApp] 200 GET /lab/api/translations?1755203790266 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 15.58ms
[D 2025-08-15 03:36:30.467 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.484 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.487 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.489 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.489 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.490 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.490 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.490 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.573 LabApp] 200 GET /lab/api/settings?ids_only=true&1755203790481 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 87.58ms
[D 2025-08-15 03:36:30.576 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.578 ServerApp] 200 GET /api/contents/Untitled.ipynb/checkpoints?1755203790481 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 94.24ms
[D 2025-08-15 03:36:30.597 ServerApp] 200 GET /api/contents/Untitled.ipynb?type=notebook&content=1&hash=1&contentProviderId=undefined&1755203790513 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 21.59ms
[D 2025-08-15 03:36:30.612 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.613 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.613 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.614 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.614 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.620 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.624 LabApp] 200 GET /lab/api/settings/@jupyterlab/codemirror-extension:plugin?1755203790575 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 13.17ms
[D 2025-08-15 03:36:30.625 ServerApp] 304 GET /lab/api/themes/@jupyterlab/theme-light-extension/index.css (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 10.70ms
[D 2025-08-15 03:36:30.628 ServerApp] Paths used for configuration of default_setting_overrides: 
        /etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.628 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.629 ServerApp] Paths used for configuration of default_setting_overrides: 
        /usr/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.630 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.630 ServerApp] Paths used for configuration of default_setting_overrides: 
        /home/boris/.jupyter/labconfig/default_setting_overrides.json
[D 2025-08-15 03:36:30.631 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.638 LabApp] 200 GET /lab/api/settings/@jupyterlab/notebook-extension:panel?1755203790576 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 11.57ms
[D 2025-08-15 03:36:30.639 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.640 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.646 ServerApp] 200 GET /api/contents/Untitled.ipynb/checkpoints?1755203790603 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 7.53ms
[D 2025-08-15 03:36:30.729 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.730 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.731 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.735 ServerApp] 200 GET /api/contents/Untitled.ipynb/checkpoints?1755203790723 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 6.99ms
[D 2025-08-15 03:36:30.736 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.737 ServerApp] 200 GET /api/contents/Untitled.ipynb/checkpoints?1755203790724 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 8.73ms
[D 2025-08-15 03:36:30.739 ServerApp] 200 GET /api/contents/Untitled.ipynb/checkpoints?1755203790724 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 9.99ms
[D 2025-08-15 03:36:30.741 ServerApp] 200 GET /api/contents/Untitled.ipynb/checkpoints?1755203790728 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 7.66ms
[D 2025-08-15 03:36:30.770 ServerApp] 200 GET /api/contents?content=1&hash=0&1755203790577 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 131.80ms
[D 2025-08-15 03:36:30.844 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.846 ServerApp] 200 GET /api/sessions?1755203790840 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 2.47ms
[D 2025-08-15 03:36:30.871 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.874 ServerApp] Instantiating kernel 'GAP 4' with kernel provisioner: local-provisioner
[D 2025-08-15 03:36:30.900 ServerApp] Starting kernel: ['jupyter-kernel-gap', '/home/boris/.local/share/jupyter/runtime/kernel-6c9a78b6-ae95-40b3-a70c-6a8501366f5f.json']
GAP Jupyter Kernel Starting using gap
[D 2025-08-15 03:36:30.904 ServerApp] Connecting to: tcp://127.0.0.1:46159
[I 2025-08-15 03:36:30.919 ServerApp] Kernel started: 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:30.919 ServerApp] Kernel args (excluding env): {'kernel_name': 'gap-4', 'cwd': '/home/boris'}
[D 2025-08-15 03:36:30.919 ServerApp] Kernel argument 'env' passed with: ['SHELL', 'SESSION_MANAGER', 'WINDOWID', 'COLORTERM', 'XDG_CONFIG_DIRS', 'XDG_SESSION_PATH', 'XDG_MENU_PREFIX', 'ICEAUTHORITY', 'LANGUAGE', 'SHELL_SESSION_ID', 'MEMORY_PRESSURE_WRITE', 'DESKTOP_SESSION', 'GTK_RC_FILES', 'XDG_SEAT', 'PWD', 'XDG_SESSION_DESKTOP', 'LOGNAME', 'XDG_SESSION_TYPE', 'SYSTEMD_EXEC_PID', 'XAUTHORITY', 'JUPYTER_GAP_EXECUTABLE', 'MOTD_SHOWN', 'GTK2_RC_FILES', 'HOME', 'LANG', 'LS_COLORS', 'XDG_CURRENT_DESKTOP', 'KONSOLE_DBUS_SERVICE', 'MEMORY_PRESSURE_WATCH', 'WAYLAND_DISPLAY', 'KONSOLE_DBUS_SESSION', 'PROFILEHOME', 'XDG_SEAT_PATH', 'INVOCATION_ID', 'KONSOLE_VERSION', 'MANAGERPID', 'KDE_SESSION_UID', 'XDG_SESSION_CLASS', 'TERM', 'USER', 'COLORFGBG', 'QT_WAYLAND_RECONNECT', 'KDE_SESSION_VERSION', 'PAM_KWALLET5_LOGIN', 'DISPLAY', 'SHLVL', 'XDG_VTNR', 'XDG_SESSION_ID', 'XDG_RUNTIME_DIR', 'DEBUGINFOD_URLS', 'JOURNAL_STREAM', 'KDE_FULL_SESSION', 'PATH', 'DBUS_SESSION_BUS_ADDRESS', 'KDE_APPLICATIONS_AS_SCOPE', 'MAIL', 'OLDPWD', '_', 'JPY_SESSION_NAME']
[D 2025-08-15 03:36:30.920 ServerApp] Connecting to: tcp://127.0.0.1:50417
[D 2025-08-15 03:36:30.925 ServerApp] 201 POST /api/sessions?1755203790867 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 54.68ms
[D 2025-08-15 03:36:30.931 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.932 ServerApp] 200 GET /api/sessions?1755203790928 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.47ms
[D 2025-08-15 03:36:30.940 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.943 ServerApp] 200 PATCH /api/sessions/e5eccb91-307b-4bab-8050-f9e9278c42af?1755203790936 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 3.74ms
[D 2025-08-15 03:36:30.944 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.945 ServerApp] 200 GET /api/kernels?1755203790937 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.32ms
[D 2025-08-15 03:36:30.949 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.955 ServerApp] 200 PATCH /api/sessions/e5eccb91-307b-4bab-8050-f9e9278c42af?1755203790946 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 6.60ms
[D 2025-08-15 03:36:30.956 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.957 ServerApp] 200 GET /api/sessions?1755203790946 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.51ms
[D 2025-08-15 03:36:30.963 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:30.964 ServerApp] Found kernel python3 in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:30.965 ServerApp] Found kernel gap-4 in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:30.965 ServerApp] Found kernel sagemath in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:30.971 ServerApp] 200 GET /api/kernelspecs?1755203790958 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 7.46ms
[D 2025-08-15 03:36:31.201 ServerApp] 200 GET /api/nbconvert?1755203790454 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 734.38ms
[W 2025-08-15 03:36:31.424 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7?1755203791420 (127.0.0.1): Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7
[W 2025-08-15 03:36:31.424 ServerApp] wrote error: 'Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7'
    Traceback (most recent call last):
      File "/usr/lib/python3.13/site-packages/tornado/web.py", line 1790, in _execute
        result = await result
                 ^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/auth/decorator.py", line 73, in inner
        return await out
               ^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/handlers.py", line 75, in get
        model = await ensure_async(km.kernel_model(kernel_id))
                                   ~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 508, in kernel_model
        self._check_kernel_id(kernel_id)
        ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 539, in _check_kernel_id
        raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id)
    tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7)
[W 2025-08-15 03:36:31.425 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7?1755203791420 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 2.44ms referer=http://localhost:8888/notebooks/Untitled1.ipynb
[D 2025-08-15 03:36:32.621 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:32.655 ServerApp] 200 GET /api/contents?content=1&hash=0&1755203792618 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 34.30ms
[W 2025-08-15 03:36:32.713 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7/channels?session_id=e6a3d15f-72df-410d-ac28-135e1892f6b4 (127.0.0.1): Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7
[D 2025-08-15 03:36:32.713 ServerApp] Using contents: services/contents
[W 2025-08-15 03:36:32.714 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7/channels?session_id=e6a3d15f-72df-410d-ac28-135e1892f6b4 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.28ms referer=None
[D 2025-08-15 03:36:32.718 ServerApp] 101 GET /api/events/subscribe (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.00ms
[W 2025-08-15 03:36:32.719 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7?1755203792716 (127.0.0.1): Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7
[W 2025-08-15 03:36:32.720 ServerApp] wrote error: 'Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7'
    Traceback (most recent call last):
      File "/usr/lib/python3.13/site-packages/tornado/web.py", line 1790, in _execute
        result = await result
                 ^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/auth/decorator.py", line 73, in inner
        return await out
               ^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/handlers.py", line 75, in get
        model = await ensure_async(km.kernel_model(kernel_id))
                                   ~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 508, in kernel_model
        self._check_kernel_id(kernel_id)
        ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 539, in _check_kernel_id
        raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id)
    tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7)
[W 2025-08-15 03:36:32.721 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7?1755203792716 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 2.15ms referer=http://localhost:8888/notebooks/Untitled1.ipynb
[D 2025-08-15 03:36:32.724 ServerApp] Requesting kernel info from 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:32.724 ServerApp] Connecting to: tcp://127.0.0.1:58673
[D 2025-08-15 03:36:32.836 ServerApp] Accepting token-authenticated request from 127.0.0.1
[W 2025-08-15 03:36:32.838 ServerApp] 404 GET /api/kernels/5ae24805-e734-40cc-9896-c877c2050dcb?1755203792833 (127.0.0.1): Kernel does not exist: 5ae24805-e734-40cc-9896-c877c2050dcb
[W 2025-08-15 03:36:32.838 ServerApp] wrote error: 'Kernel does not exist: 5ae24805-e734-40cc-9896-c877c2050dcb'
    Traceback (most recent call last):
      File "/usr/lib/python3.13/site-packages/tornado/web.py", line 1790, in _execute
        result = await result
                 ^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/auth/decorator.py", line 73, in inner
        return await out
               ^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/handlers.py", line 75, in get
        model = await ensure_async(km.kernel_model(kernel_id))
                                   ~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 508, in kernel_model
        self._check_kernel_id(kernel_id)
        ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 539, in _check_kernel_id
        raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id)
    tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: 5ae24805-e734-40cc-9896-c877c2050dcb)
[W 2025-08-15 03:36:32.839 ServerApp] 404 GET /api/kernels/5ae24805-e734-40cc-9896-c877c2050dcb?1755203792833 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 2.00ms referer=http://localhost:8888/tree
[D 2025-08-15 03:36:32.840 ServerApp] 200 GET /api/contents/Untitled.ipynb/checkpoints?1755203792832 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 4.22ms
true
[D 2025-08-15 03:36:33.187 ServerApp] Received kernel info: {'banner': 'GAP Jupyter kernel 1.5.1\nRunning on GAP 4.14.0\n', 'help_links': [{'text': 'GAP website', 'url': 'https://www.gap-system.org/'}, {'text': 'GAP documentation', 'url': 'https://www.gap-system.org/Doc/doc.html'}, {'text': 'GAP tutorial', 'url': 'https://docs.gap-system.org/doc/chap0_mj.html'}, {'text': 'GAP reference', 'url': 'https://docs.gap-system.org/doc/ref/chap0_mj.html'}], 'implementation': 'GAP', 'implementation_version': '1.5.1', 'language_info': {'codemirror_mode': 'gap', 'file_extension': '.g', 'mimetype': 'text/x-gap', 'name': 'GAP 4', 'nbconvert_exporter': '', 'pygments_lexer': 'gap', 'version': '4.14.0'}, 'protocol_version': '5.3', 'status': 'ok'}
[D 2025-08-15 03:36:33.188 ServerApp] 101 GET /api/kernels/6c9a78b6-ae95-40b3-a70c-6a8501366f5f/channels?session_id=1ebc0d7d-00f8-4daa-bd23-5a290f517e36 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 465.57ms
[D 2025-08-15 03:36:33.188 ServerApp] Opening websocket /api/kernels/6c9a78b6-ae95-40b3-a70c-6a8501366f5f/channels
[I 2025-08-15 03:36:33.189 ServerApp] Connecting to kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f.
[D 2025-08-15 03:36:33.189 ServerApp] Getting buffer for 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:33.189 ServerApp] Connecting to: tcp://127.0.0.1:50417
[D 2025-08-15 03:36:33.190 ServerApp] Connecting to: tcp://127.0.0.1:58673
[D 2025-08-15 03:36:33.190 ServerApp] Connecting to: tcp://127.0.0.1:46159
[D 2025-08-15 03:36:33.190 ServerApp] Connecting to: tcp://127.0.0.1:45211
[D 2025-08-15 03:36:33.191 ServerApp] Connecting to: tcp://127.0.0.1:58673
[D 2025-08-15 03:36:33.191 ServerApp] Connecting to: tcp://127.0.0.1:46159
[D 2025-08-15 03:36:33.193 ServerApp] Nudge: attempt 1 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:33.196 ServerApp] Nudge: IOPub received: 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:33.196 ServerApp] Nudge: resolving iopub future: 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:33.197 ServerApp] 101 GET /api/kernels/6c9a78b6-ae95-40b3-a70c-6a8501366f5f/channels?session_id=b9b70e67-c264-47bb-aedc-9fe63fd69b24 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 2.85ms
[D 2025-08-15 03:36:33.197 ServerApp] Opening websocket /api/kernels/6c9a78b6-ae95-40b3-a70c-6a8501366f5f/channels
[I 2025-08-15 03:36:33.197 ServerApp] Connecting to kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f.
[D 2025-08-15 03:36:33.198 ServerApp] Getting buffer for 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:33.198 ServerApp] Connecting to: tcp://127.0.0.1:50417
[D 2025-08-15 03:36:33.199 ServerApp] Connecting to: tcp://127.0.0.1:58673
[D 2025-08-15 03:36:33.199 ServerApp] Connecting to: tcp://127.0.0.1:46159
[D 2025-08-15 03:36:33.199 ServerApp] Connecting to: tcp://127.0.0.1:45211
[D 2025-08-15 03:36:33.200 ServerApp] Connecting to: tcp://127.0.0.1:58673
[D 2025-08-15 03:36:33.200 ServerApp] Connecting to: tcp://127.0.0.1:46159
[D 2025-08-15 03:36:33.203 ServerApp] Nudge: attempt 1 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:33.205 ServerApp] Nudge: IOPub received: 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:33.205 ServerApp] Nudge: resolving iopub future: 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:33.206 ServerApp] Nudge: shell info reply received: 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:33.206 ServerApp] Nudge: resolving shell future: 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:33.206 ServerApp] 101 GET /api/kernels/6c9a78b6-ae95-40b3-a70c-6a8501366f5f/channels?session_id=d134b56e-eabc-423f-99a6-97045eccfd8e (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 2.76ms
[D 2025-08-15 03:36:33.206 ServerApp] Opening websocket /api/kernels/6c9a78b6-ae95-40b3-a70c-6a8501366f5f/channels
[I 2025-08-15 03:36:33.206 ServerApp] Connecting to kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f.
[D 2025-08-15 03:36:33.206 ServerApp] Getting buffer for 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:33.207 ServerApp] Connecting to: tcp://127.0.0.1:50417
[D 2025-08-15 03:36:33.207 ServerApp] Connecting to: tcp://127.0.0.1:58673
[D 2025-08-15 03:36:33.207 ServerApp] Connecting to: tcp://127.0.0.1:46159
[D 2025-08-15 03:36:33.208 ServerApp] Connecting to: tcp://127.0.0.1:45211
[D 2025-08-15 03:36:33.208 ServerApp] Connecting to: tcp://127.0.0.1:58673
[D 2025-08-15 03:36:33.208 ServerApp] Connecting to: tcp://127.0.0.1:46159
[D 2025-08-15 03:36:33.210 ServerApp] Nudge: attempt 1 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:33.213 ServerApp] 101 GET /api/events/subscribe (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 0.98ms
[D 2025-08-15 03:36:33.704 ServerApp] Nudge: attempt 2 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:33.711 ServerApp] Nudge: attempt 2 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:34.206 ServerApp] Nudge: attempt 3 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:34.213 ServerApp] Nudge: attempt 3 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:34.707 ServerApp] Nudge: attempt 4 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:34.714 ServerApp] Nudge: attempt 4 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:34.849 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:34.851 ServerApp] 200 GET /api/contents/Untitled.ipynb/checkpoints?1755203794846 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 2.05ms
[D 2025-08-15 03:36:35.207 ServerApp] 200 GET /api/me?1755203795204 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 0.95ms
[D 2025-08-15 03:36:35.208 ServerApp] Nudge: attempt 5 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:35.209 ServerApp] Found kernel python3 in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:35.209 ServerApp] Found kernel gap-4 in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:35.210 ServerApp] Found kernel sagemath in /usr/share/jupyter/kernels
[D 2025-08-15 03:36:35.211 ServerApp] 200 GET /api/kernelspecs?1755203795204 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 2.45ms
[D 2025-08-15 03:36:35.214 ServerApp] Nudge: attempt 5 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:35.710 ServerApp] Nudge: attempt 6 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:35.715 ServerApp] Nudge: attempt 6 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:36.211 ServerApp] Nudge: attempt 7 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:36.217 ServerApp] Nudge: attempt 7 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:36.425 ServerApp] 200 GET /api/sessions?1755203796421 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.10ms
[D 2025-08-15 03:36:36.433 ServerApp] 101 GET /api/kernels/6c9a78b6-ae95-40b3-a70c-6a8501366f5f/channels?session_id=5396a0df-3d1b-4310-bce6-4642fc5c9629 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 2.14ms
[D 2025-08-15 03:36:36.433 ServerApp] Opening websocket /api/kernels/6c9a78b6-ae95-40b3-a70c-6a8501366f5f/channels
[I 2025-08-15 03:36:36.433 ServerApp] Connecting to kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f.
[D 2025-08-15 03:36:36.433 ServerApp] Getting buffer for 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:36.434 ServerApp] Connecting to: tcp://127.0.0.1:50417
[D 2025-08-15 03:36:36.434 ServerApp] Connecting to: tcp://127.0.0.1:58673
[D 2025-08-15 03:36:36.434 ServerApp] Connecting to: tcp://127.0.0.1:46159
[D 2025-08-15 03:36:36.434 ServerApp] Connecting to: tcp://127.0.0.1:45211
[D 2025-08-15 03:36:36.435 ServerApp] Connecting to: tcp://127.0.0.1:58673
[D 2025-08-15 03:36:36.435 ServerApp] Connecting to: tcp://127.0.0.1:46159
[D 2025-08-15 03:36:36.436 ServerApp] Nudge: attempt 1 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:36.712 ServerApp] Nudge: attempt 8 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:36.718 ServerApp] Nudge: attempt 8 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:36.849 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:36.850 ServerApp] 200 GET /api/sessions?1755203796846 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.37ms
[D 2025-08-15 03:36:36.852 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:36.853 ServerApp] 200 GET /api/kernels?1755203796847 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.60ms
[D 2025-08-15 03:36:36.853 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:36.861 ServerApp] 101 GET /api/kernels/6c9a78b6-ae95-40b3-a70c-6a8501366f5f/channels?session_id=c8290676-4f2d-4243-b190-5db22954847e (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 2.73ms
[D 2025-08-15 03:36:36.862 ServerApp] Opening websocket /api/kernels/6c9a78b6-ae95-40b3-a70c-6a8501366f5f/channels
[I 2025-08-15 03:36:36.862 ServerApp] Connecting to kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f.
[D 2025-08-15 03:36:36.862 ServerApp] Getting buffer for 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:36.862 ServerApp] Connecting to: tcp://127.0.0.1:50417
[D 2025-08-15 03:36:36.863 ServerApp] Connecting to: tcp://127.0.0.1:58673
[D 2025-08-15 03:36:36.863 ServerApp] Connecting to: tcp://127.0.0.1:46159
[D 2025-08-15 03:36:36.863 ServerApp] Connecting to: tcp://127.0.0.1:45211
[D 2025-08-15 03:36:36.863 ServerApp] Connecting to: tcp://127.0.0.1:58673
[D 2025-08-15 03:36:36.864 ServerApp] Connecting to: tcp://127.0.0.1:46159
[D 2025-08-15 03:36:36.865 ServerApp] Nudge: attempt 1 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:36.866 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:36.868 ServerApp] 200 GET /api/contents/Untitled.ipynb/checkpoints?1755203796862 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.73ms
[D 2025-08-15 03:36:36.911 ServerApp] 200 GET /api/contents?content=1&hash=0&1755203796847 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 59.40ms
[D 2025-08-15 03:36:36.937 ServerApp] Nudge: attempt 2 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:37.213 ServerApp] Nudge: attempt 9 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:37.219 ServerApp] Nudge: attempt 9 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:37.366 ServerApp] Nudge: attempt 2 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:37.433 ServerApp] 200 GET /api/kernels?1755203797430 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 0.84ms
[D 2025-08-15 03:36:37.438 ServerApp] Nudge: attempt 3 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[W 2025-08-15 03:36:37.715 ServerApp] Nudge: attempt 10 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[W 2025-08-15 03:36:37.720 ServerApp] Nudge: attempt 10 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:37.866 ServerApp] Nudge: attempt 3 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:37.940 ServerApp] Nudge: attempt 4 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:38.216 ServerApp] Nudge: attempt 11 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:38.221 ServerApp] Nudge: attempt 11 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:38.368 ServerApp] Nudge: attempt 4 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:38.441 ServerApp] Nudge: attempt 5 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:38.717 ServerApp] Nudge: attempt 12 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:38.722 ServerApp] Nudge: attempt 12 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:38.869 ServerApp] Nudge: attempt 5 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:38.875 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:38.877 ServerApp] 200 GET /api/contents/Untitled.ipynb/checkpoints?1755203798872 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.88ms
[D 2025-08-15 03:36:38.943 ServerApp] Nudge: attempt 6 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:39.219 ServerApp] Nudge: attempt 13 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:39.223 ServerApp] Nudge: attempt 13 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:39.370 ServerApp] Nudge: attempt 6 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[W 2025-08-15 03:36:39.436 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7?1755203799433 (127.0.0.1): Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7
[W 2025-08-15 03:36:39.436 ServerApp] wrote error: 'Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7'
    Traceback (most recent call last):
      File "/usr/lib/python3.13/site-packages/tornado/web.py", line 1790, in _execute
        result = await result
                 ^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/auth/decorator.py", line 73, in inner
        return await out
               ^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/handlers.py", line 75, in get
        model = await ensure_async(km.kernel_model(kernel_id))
                                   ~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 508, in kernel_model
        self._check_kernel_id(kernel_id)
        ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 539, in _check_kernel_id
        raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id)
    tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7)
[W 2025-08-15 03:36:39.437 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7?1755203799433 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.90ms referer=http://localhost:8888/tree
[D 2025-08-15 03:36:39.444 ServerApp] Nudge: attempt 7 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:39.720 ServerApp] Nudge: attempt 14 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:39.724 ServerApp] Nudge: attempt 14 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:39.871 ServerApp] Nudge: attempt 7 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[W 2025-08-15 03:36:39.876 ServerApp] 404 GET /api/kernels/5ae24805-e734-40cc-9896-c877c2050dcb/channels?session_id=d551deba-0f7c-4f1d-b039-6408d16947c9 (127.0.0.1): Kernel does not exist: 5ae24805-e734-40cc-9896-c877c2050dcb
[D 2025-08-15 03:36:39.876 ServerApp] Using contents: services/contents
[W 2025-08-15 03:36:39.877 ServerApp] 404 GET /api/kernels/5ae24805-e734-40cc-9896-c877c2050dcb/channels?session_id=d551deba-0f7c-4f1d-b039-6408d16947c9 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.43ms referer=None
[W 2025-08-15 03:36:39.881 ServerApp] 404 GET /api/kernels/5ae24805-e734-40cc-9896-c877c2050dcb?1755203799879 (127.0.0.1): Kernel does not exist: 5ae24805-e734-40cc-9896-c877c2050dcb
[W 2025-08-15 03:36:39.882 ServerApp] wrote error: 'Kernel does not exist: 5ae24805-e734-40cc-9896-c877c2050dcb'
    Traceback (most recent call last):
      File "/usr/lib/python3.13/site-packages/tornado/web.py", line 1790, in _execute
        result = await result
                 ^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/auth/decorator.py", line 73, in inner
        return await out
               ^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/handlers.py", line 75, in get
        model = await ensure_async(km.kernel_model(kernel_id))
                                   ~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 508, in kernel_model
        self._check_kernel_id(kernel_id)
        ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 539, in _check_kernel_id
        raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id)
    tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: 5ae24805-e734-40cc-9896-c877c2050dcb)
[W 2025-08-15 03:36:39.883 ServerApp] 404 GET /api/kernels/5ae24805-e734-40cc-9896-c877c2050dcb?1755203799879 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.88ms referer=http://localhost:8888/tree
[D 2025-08-15 03:36:39.945 ServerApp] Nudge: attempt 8 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
^C[I 2025-08-15 03:36:40.026 ServerApp] interrupted
[I 2025-08-15 03:36:40.026 ServerApp] Serving notebooks from local directory: /home/boris
    1 active kernel
    Jupyter Server 2.16.0 is running at:
    http://localhost:8888/tree?token=bbf1246db58d591018fa2e34290b4757cd4bf04964ccdf43
        http://127.0.0.1:8888/tree?token=bbf1246db58d591018fa2e34290b4757cd4bf04964ccdf43
Shut down this Jupyter server (y/[n])? [D 2025-08-15 03:36:40.222 ServerApp] Nudge: attempt 15 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:40.226 ServerApp] Nudge: attempt 15 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:40.372 ServerApp] Nudge: attempt 8 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:40.446 ServerApp] Nudge: attempt 9 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[W 2025-08-15 03:36:40.648 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7/channels?session_id=3153d78f-6957-45e0-b963-07bda8ddf1be (127.0.0.1): Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7
[D 2025-08-15 03:36:40.648 ServerApp] Using contents: services/contents
[W 2025-08-15 03:36:40.648 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7/channels?session_id=3153d78f-6957-45e0-b963-07bda8ddf1be (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.21ms referer=None
[W 2025-08-15 03:36:40.653 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7?1755203800650 (127.0.0.1): Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7
[W 2025-08-15 03:36:40.653 ServerApp] wrote error: 'Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7'
    Traceback (most recent call last):
      File "/usr/lib/python3.13/site-packages/tornado/web.py", line 1790, in _execute
        result = await result
                 ^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/auth/decorator.py", line 73, in inner
        return await out
               ^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/handlers.py", line 75, in get
        model = await ensure_async(km.kernel_model(kernel_id))
                                   ~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 508, in kernel_model
        self._check_kernel_id(kernel_id)
        ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 539, in _check_kernel_id
        raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id)
    tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: 063a8fa1-3704-4105-b5b6-36fe6b4c05f7)
[W 2025-08-15 03:36:40.654 ServerApp] 404 GET /api/kernels/063a8fa1-3704-4105-b5b6-36fe6b4c05f7?1755203800650 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.84ms referer=http://localhost:8888/tree
[D 2025-08-15 03:36:40.723 ServerApp] Nudge: attempt 16 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:40.727 ServerApp] Nudge: attempt 16 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:40.874 ServerApp] Nudge: attempt 9 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:40.885 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:40.886 ServerApp] 200 GET /api/contents/Untitled.ipynb/checkpoints?1755203800881 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 2.21ms
[W 2025-08-15 03:36:40.947 ServerApp] Nudge: attempt 10 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:40.951 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:40.952 ServerApp] 200 GET /api/kernels?1755203800948 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.12ms
[D 2025-08-15 03:36:40.980 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:40.981 ServerApp] 200 GET /api/sessions?1755203800977 (ac8f7b9ed2db49eaafb969cadb1dab3a@127.0.0.1) 1.27ms
y[D 2025-08-15 03:36:41.224 ServerApp] Nudge: attempt 17 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:41.228 ServerApp] Nudge: attempt 17 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[W 2025-08-15 03:36:41.375 ServerApp] Nudge: attempt 10 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:41.449 ServerApp] Nudge: attempt 11 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f

[C 2025-08-15 03:36:41.454 ServerApp] Shutdown confirmed
[I 2025-08-15 03:36:41.455 ServerApp] Shutting down 3 extensions
[D 2025-08-15 03:36:41.455 ServerApp] jupyterlab | extension app 'lab' stopping
[D 2025-08-15 03:36:41.455 ServerApp] jupyterlab | extension app 'lab' stopped
[D 2025-08-15 03:36:41.455 ServerApp] notebook | extension app 'notebook' stopping
[D 2025-08-15 03:36:41.455 ServerApp] notebook | extension app 'notebook' stopped
[I 2025-08-15 03:36:41.455 ServerApp] Shutting down 1 kernel
[D 2025-08-15 03:36:41.456 ServerApp] Clearing buffer for 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[I 2025-08-15 03:36:41.456 ServerApp] Kernel shutdown: 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:41.726 ServerApp] Nudge: attempt 18 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:41.729 ServerApp] Nudge: attempt 18 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:41.877 ServerApp] Nudge: attempt 11 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:41.950 ServerApp] Nudge: attempt 12 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:42.227 ServerApp] Nudge: attempt 19 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:42.230 ServerApp] Nudge: attempt 19 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:42.379 ServerApp] Nudge: attempt 12 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:42.452 ServerApp] Nudge: attempt 13 on kernel 6c9a78b6-ae95-40b3-a70c-6a8501366f5f
[D 2025-08-15 03:36:42.661 ServerApp] Accepting token-authenticated request from 127.0.0.1
[D 2025-08-15 03:36:42.675 ServerApp] Websocket closed 6c9a78b6-ae95-40b3-a70c-6a8501366f5f:b9b70e67-c264-47bb-aedc-9fe63fd69b24
[D 2025-08-15 03:36:42.676 ServerApp] Websocket closed 6c9a78b6-ae95-40b3-a70c-6a8501366f5f:1ebc0d7d-00f8-4daa-bd23-5a290f517e36
[D 2025-08-15 03:36:42.678 ServerApp] Websocket closed 6c9a78b6-ae95-40b3-a70c-6a8501366f5f:c8290676-4f2d-4243-b190-5db22954847e
[D 2025-08-15 03:36:42.678 ServerApp] Websocket closed 6c9a78b6-ae95-40b3-a70c-6a8501366f5f:d134b56e-eabc-423f-99a6-97045eccfd8e
[D 2025-08-15 03:36:42.679 ServerApp] Websocket closed 6c9a78b6-ae95-40b3-a70c-6a8501366f5f:5396a0df-3d1b-4310-bce6-4642fc5c9629

This problem appeared approximatly at November 2024 after gap and jupyter updates, maybe the solution is to install old versions of python, jupyter and gap, but I don't think that it is possible. I didn't update my system with about half of year, but new version of python was needed to install some package.

Very wish for the help)

Last edited by borgch (2025-08-23 22:32:27)

Offline

#2 2025-08-14 22:58:12

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,395

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

You installed the jupyter-notebook package right ? https://wiki.archlinux.org/title/Jupyter

Is there any specific reason to use that kernel ? If that's the case can you clarify why is that ?

Have you ever tried to work with REPL ? https://zed.dev/docs/repl not sure if your IDE support it, but maybe you can try to launch the kernel from your coding IDE.


str( @soyg ) == str( @potplant ) btw!

Also now with avatar logo included!

Online

#3 2025-08-15 03:55:40

borgch
Member
Registered: 2017-10-10
Posts: 39

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

Yes, the jupyter-notebook is installed too.

[boris@boris-hp ~]$ yay -Qs jupyter
local/gap-jupyterkernel-install 1.5.1-1
    install Jupyter kernel for GAP
local/gap-packages 4.14.0-4
    Extra packages for GAP
local/jupyter-nbclient 0.10.2-2
    A tool for running Jupyter Notebooks in different execution contexts
local/jupyter-nbconvert 7.16.6-1
    Jupyter Notebook Conversion
local/jupyter-nbformat 5.10.4-3
    The base implementation of the Jupyter Notebook format and Python APIs for working with notebooks
local/jupyter-notebook 7.4.4-1
    The language-agnostic HTML notebook application for Project Jupyter
local/jupyter-notebook-shim 0.2.4-3
    Provides a way for JupyterLab and other frontends to switch to Jupyter Server for their Python Web application backend
local/jupyter-server 2.16.0-1
    Provides the backend for Jupyter web applications like Jupyter notebook, JupyterLab, and Voila
local/jupyterlab 4.4.5-1
    JupyterLab computational environment
local/jupyterlab-pygments 0.3.0-3
    Pygments theme using JupyterLab CSS variables
local/python-comm 0.2.3-1
    Python Comm implementation for the Jupyter kernel protocol
local/python-ipykernel 6.30.0-1
    The ipython kernel for Jupyter
local/python-ipywidgets 8.1.7-1
    IPython HTML widgets for Jupyter
local/python-jupyter-client 8.6.3-3
    Jupyter protocol implementation and client libraries
local/python-jupyter-core 5.8.1-1
    Jupyter core package. A base package on which Jupyter projects rely
local/python-jupyter-events 0.12.0-1
    Configurable event system for Jupyter applications and extensions
local/python-jupyterlab-server 2.27.3-3
    Launch an application built using JupyterLab
local/python-matplotlib-inline 0.1.7-2
    Inline Matplotlib backend for Jupyter
[boris@boris-hp ~]$ yay -Qs gap
local/gap 4.14.0-4
    Groups, Algorithms, Programming: a system for computational discrete algebra
local/gap-jupyterkernel-install 1.5.1-1
    install Jupyter kernel for GAP
local/gap-packages 4.14.0-4
    Extra packages for GAP
local/texlive-latexextra 2025.2-1 (texlive)
    TeX Live - LaTeX additional packages

Yes, I need this kernel - I am writing a math article, and it is the draft - it is very convenient, that I can create cells with latex text (atomic parts of the proof) and check them immediately in the cells with gap code.

gap-jupyter-usage.png

Unfortunately, REPL doesn't seem to support GAP - or is there a way to run arbitrary jupyter kernel with it?

Zed supports running code in multiple languages. To get started, you need to install a kernel for the language you want to use.

Currently supported languages:

    Python (ipykernel)
    TypeScript (Deno)
    R (Ark)
    R (Xeus)
    Julia
    Scala (Almond)

Offline

#4 2025-08-15 12:13:11

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,395

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

no, REPL doesn't support the GAP kernel. But maybe you can try it and talk with the devs of the zed IDE.

But I get it, it seems that you are doing some matrix stuff and obviously using latex without his syntax helps you.
In theory you can use the older packages, do you remember the versions ? if seems this is the official repo no https://github.com/gap-packages/JupyterKernel/releases ? I'm mostly sure you can download the version and install it with pacman [I'm going to check that now], but first I think is more convenient to delete all your AUR stuff that you think would enter in conflict with the dependencies. Just try to recreate your environment before stops working.

Do you think that GAP kernel could not work with your current python version ? Maybe that's the issue, so if that's the case try to create a virtual environment using the python version that you think should work. That can be made using uv.

I'm going to do my research also, but that's all the ideas that I have in mind now smile


str( @soyg ) == str( @potplant ) btw!

Also now with avatar logo included!

Online

#5 2025-08-15 12:52:14

borgch
Member
Registered: 2017-10-10
Posts: 39

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

Thank you very much for the helping!)

I already tried to install old versions of gap and gap-packages (and manually created necessary symlinks to system directories, as gap-jupyterkernel-install does), but it doesn't help. The key problem was the jupyter update - I needed to update python to newer version to install an another program (and the python-jupyter automatically updated to). I don't know how to safely downgrade python to, for example, version of last summer - do you have any ideas?

Or maybe is there an opportunity to have two python versions in one system?

UPD: I have read your message more carefully, and read about the uv - I'll try it, thanks smile If everything works, I will send the bug reports, but the main goal is to make it somehow to work smile

Last edited by borgch (2025-08-15 12:56:38)

Offline

#6 2025-08-15 13:20:19

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,395

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

Try to use uv with the python version that was working, and recreate everything in the virtual environment. It sound that you have some dependency issue from the update of jupyter.  In that way you can still work with the GAP kernel and keep the new python version for the rest of the system.


str( @soyg ) == str( @potplant ) btw!

Also now with avatar logo included!

Online

#7 2025-08-17 04:59:39

borgch
Member
Registered: 2017-10-10
Posts: 39

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

I want to install all necessary packages to version of May 2024 (not September):

python-jupyter-client-versions.png

I tried to did it that way, but it didn't works:

$ uv python install 3.12.3
$ uv pip install jupyter
$ uv venv
$ uv python update-shell
$ source .venv/bin/activate

It is enough to install old version of jupyter notebook? Maybe I did something wrong? It seems to be correct:

$ uv pip install jupyter==8.6.2
  × No solution found when resolving dependencies:
  ╰─▶ Because there is no version of jupyter==8.6.2 and you require jupyter==8.6.2, we can conclude that your requirements are unsatisfiable.

Then I copied gap kernel to installed python:

$ cat .cache/yay/gap-jupyterkernel-install/PKGBUILD
# Maintainer: Dringsim <dringsim@qq.com>

pkgname=gap-jupyterkernel-install
pkgver=1.5.1
pkgrel=1
pkgdesc="install Jupyter kernel for GAP"
arch=('any')
url="https://github.com/EugeneLoy/coq_jupyter"
license=('BSD')
depends=('gap-jupyterkernel=1.5.1' 'gap-crypting' 'gap-gapdoc' 'gap-io' 'gap-json' 'gap-uuid' 'gap-zeromqinterface' 'python-jupyter-client')

package() {
    install -Dm644 /usr/lib/gap/pkg/jupyterkernel/etc/gap-mode/* -t "${pkgdir}/usr/share/jupyter/nbextensions/gap-mode"
    install -Dm644 /usr/lib/gap/pkg/jupyterkernel/etc/gap-mode.json -t "${pkgdir}/usr/share/jupyter/nbconfig/notebook.d"
    install -Dm644 /usr/lib/gap/pkg/jupyterkernel/etc/jupyter/* -t "${pkgdir}/usr/share/jupyter/kernels/gap-4"
    install -Dm755 /usr/lib/gap/pkg/jupyterkernel/bin/jupyter-kernel-gap -t "${pkgdir}/usr/bin"
        install -Dm644 /usr/lib/gap/pkg/jupyterkernel/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE
}

$ pkgdir=/home/boris/.local
$    install -Dm644 /usr/lib/gap/pkg/jupyterkernel/etc/gap-mode/* -t "${pkgdir}/usr/share/jupyter/nbextensions/gap-mode"
$    install -Dm644 /usr/lib/gap/pkg/jupyterkernel/etc/gap-mode.json -t "${pkgdir}/usr/share/jupyter/nbconfig/notebook.d"
$    install -Dm644 /usr/lib/gap/pkg/jupyterkernel/etc/jupyter/* -t "${pkgdir}/usr/share/jupyter/kernels/gap-4"
$    install -Dm755 /usr/lib/gap/pkg/jupyterkernel/bin/jupyter-kernel-gap -t "${pkgdir}/usr/bin"
$        install -Dm644 /usr/lib/gap/pkg/jupyterkernel/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE

When I try to run jupyter from uv, there is no changes, still the same kernel errors:

$ uv run jupyter notebook #the same errors
$ uvx jupyter --version #the same as in the system

Last edited by borgch (2025-08-17 05:17:22)

Offline

#8 2025-08-17 14:15:59

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,395

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

In practice you are working with the latest jupyter package  with this line command:

$ uv pip install jupyter

You need to specify the version, that  you can check it in pip and going to the release page. You click the desired version and the page will show you the command to install that version.

I made some quick research, read this: https://jupyter.org/install

It seems that pip install jupyter is not the main package anymore. And there is like an overhaul new version of jupyter called jupyterlab. I went to check in the releases the versions to send you the command line in the following links:

https://pypi.org/project/jupyter/#history
https://pypi.org/project/notebook/#history
https://pypi.org/project/jupyterlab/#history

But I wasn't able to found any 8.6.2 version.  Also github repo said that the latest version is 7.4.5 https://github.com/jupyter/notebook/releases/tag/v7.4.5

Are you sure is that the correct version ?

EDIT: can i ask you what are you doing in you math project ? I also like math and create a topic for operation research https://bbs.archlinux.org/viewtopic.php?id=307633 smile

Last edited by Succulent of your garden (2025-08-17 14:28:02)


str( @soyg ) == str( @potplant ) btw!

Also now with avatar logo included!

Online

#9 2025-08-17 18:52:59

borgch
Member
Registered: 2017-10-10
Posts: 39

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

You are right - versions sere not correct) Now I have installed these, which were actual for the May 2024:

jupyter-client            8.6.2
jupyter-core              5.8.1
jupyter-events            0.12.0
jupyter-lsp               2.2.6
jupyter-server            2.14.1
jupyter-server-terminals  0.5.3
jupyterlab                4.2.1
jupyterlab-pygments       0.3.0
jupyterlab-server         2.27.3

But I noticed, that kernel in /home/boris/.venv/share/jupyter/kernels is not using - instead of it jupyter uses the system one, and so there is no changes. How to fix it?

(boris) [boris@boris-hp ~]$ jupyter kernelspec list
Available kernels:
  python3     /home/boris/.venv/share/jupyter/kernels/python3
  gap-4       /usr/share/jupyter/kernels/gap-4
  sagemath    /usr/share/jupyter/kernels/sagemath

The kernel, that I installed:

(boris) [boris@boris-hp ~]$ ls /home/boris/.venv/usr/share/jupyter/kernels/
gap-4

The research is about groups, generated by the set of conjugated elements of order 3, every two of them are generating group SL(2,3), SL(3,5) or 3^{1+2}, the generalization of https://www.sciencedirect.com/science/a … 0808718206 )

Last edited by borgch (2025-08-17 19:08:13)

Offline

#10 2025-08-17 21:27:04

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,395

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

But I noticed, that kernel in /home/boris/.venv/share/jupyter/kernels is not using - instead of it jupyter uses the system one, and so there is no changes. How to fix it?

You must do something like this, if i'm not wrong:

 uv run "the--correct-string-to-start-the-jupyter-service" 

I'm assuming you are using jupyter by browser. But if you use the pip approach of source bin/activate I believe that would not work. The whole idea of uv is to not use that kind of syntax and make the life more easy. It doesn't work the same way as pip in that sense.

The research is about groups, generated by the set of conjugated elements of order 3, every two of them are generating group SL(2,3), SL(3,5) or 3^{1+2}, the generalization of https://www.sciencedirect.com/science/a … 0808718206 )

wow you are pretty deep into math, my engineer brain doesn't understand the context of that lol.  hessian and gradient descent must be a joke to you cool I understand that you are making some generalization of grouping some stuff by three. Does this have relationship with Galois theory ?

As for me in November I'll be learning multi objective function optimizations. I'm starting to see almost everything in life as an operation research problem lol But it's pretty neat. I really like how were algorithms made and all the approaches with derivatives and without it to found local minima or maximum in problems.

Last edited by Succulent of your garden (2025-08-17 21:32:16)


str( @soyg ) == str( @potplant ) btw!

Also now with avatar logo included!

Online

#11 2025-08-18 03:35:59

borgch
Member
Registered: 2017-10-10
Posts: 39

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

I'm already running the jupyter in venv - sorry, I didn't show it:

[boris@boris-hp ~]$ which jupyter
/usr/bin/jupyter
[boris@boris-hp ~]$ source .venv/bin/activate
(boris) [boris@boris-hp ~]$ which jupyter
/home/boris/.venv/bin/jupyter
(boris) [boris@boris-hp ~]$ jupyter kernelspec list
Available kernels:
  python3     /home/boris/.venv/share/jupyter/kernels/python3
  gap-4       /usr/share/jupyter/kernels/gap-4
  sagemath    /usr/share/jupyter/kernels/sagemath

So I don't understand why jupyter in venv loads the gap kernel from  /usr/share/jupyter/kernels/gap-4 and not from /home/boris/.venv/usr/share/jupyter/kernels/gap-4 ?

About Galois - he is the one of fathers of the group theory, so there are some relationship, of course, but not direct)

Offline

#12 2025-08-18 08:38:22

borgch
Member
Registered: 2017-10-10
Posts: 39

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

I'm trying to install with uv in venv the package jupyterkernel in gap as in the documentation: https://docs.gap-system.org/pkg/jupyter … manual.pdf. I'm installing last versions of python, maybe all be working.

$ ls /usr/lib/gap/pkg/jupyterkernel
bin  COPYRIGHT.md  demos  doc  etc  gap  init.g  LICENSE  makedoc.g  PackageInfo.g  read.g  README.md  setup.py  tst

I have already created venv using

$ uv venv
$ source ~/.venv/bin/activate
$ uv python install
$ uv pip install jupyter
$ uv  pip install --upgrade setuptools wheel

Now I'm trying to install the setup.py:

(boris) [boris@boris-hp jupyterkernel]$ uv pip install .
Using Python 3.13.6 environment at: /home/boris/.venv
error: The build backend returned an error
  Caused by: Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)

[stdout]
running egg_info
creating gap_jupyter.egg-info

[stderr]
error: could not create 'gap_jupyter.egg-info': Permission denied

hint: This usually indicates a problem with the package or the build environment.

Am I doing something wrong?

Offline

#13 2025-08-18 23:43:36

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,395

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

Okey, I had done some research first to talk here.

First you are okey, I was wrong in thinking that you need to use uv run, most of the time I just use uv run but uv also does have the pip version to get into the virtual environment.

So I'm going to quote this:
https://docs.astral.sh/uv/concepts/python-versions/

Requesting a version
A specific Python version can be requested with the --python flag in most uv commands. For example, when creating a virtual environment:

uv venv --python 3.11.6
uv will ensure that Python 3.11.6 is available — downloading and installing it if necessary — then create the virtual environment with it.

We are trying to recreate your past dependencies to recreate all of it in the virt env. Do you still need to run it in some older python version ? If that's the case maybe that could make some trouble in the future.

Not sure why the virt env is viewing your /usr/share version of gap kernel. Have you ever tried with uninstalling the system version and reinstalling the version of the virtual environment ? Maybe the virt env is detecting two but only suggesting the system wide version for some reason that I don't know. It's possible to do that for you ?

Maybe I'm thinking that in some way you can symlink the usr/share with the virt env version, to trick the system lol, but not sure if that's something wisely. I'm going to call Seth for that and investigate some potential solutions.

Currently in the working days weeks I'm not too much over here, but I'm going to do my best and try to help you in asap. But maybe some day I could not be here, I'm going to share some other potential solutions for your problem, if you are in a hurry:

1) Do you know if someone has created some container that just make jupyter with gap works ? maybe that's the fastest solution, just install docker and run the container. After that go to the browser with localhost:the_port_where_your_docker_container_is_listening

2) Recreate the whole environment in Nix OS in a virtual machine. This second one is going to take you some time, but it is a potential solution.

Both solutions here have the advantage that they recreate the environment and the dependencies never going to change, unless you make the order in the case of Nix.

Also if you make it work  in the python virt env approach, maybe it's a good idea to create a container with that for you, so you can never have this kind of problem in the future smile

About Galois - he is the one of fathers of the group theory, so there are some relationship, of course, but not direct)

smile

Last edited by Succulent of your garden (2025-08-18 23:54:29)


str( @soyg ) == str( @potplant ) btw!

Also now with avatar logo included!

Online

#14 2025-08-19 12:20:14

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,395

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

hey I found these:

https://github.com/gap-packages/JupyterKernel

https://jupyter-kernel-gateway.readthed … en/latest/

https://gap-packages.github.io/JupyterK … chap1.html

But please check everything, I just made a  very quick reading and seems promising to you. So check it well before installing something smile

Check the repo part who says:

Adding JupyterKernel to your PATH
If GAP is not in your PATH, then you have to set the environment variable JUPYTER_GAP_EXECUTABLE to point to your GAP executable for Jupyter to be able to execute GAP, and the script jupyter-kernel-gap that is distributed with this package in the directory bin/ needs to be in your path.

This can be done through symlinking:

I was thinking in something like that, by using a symbolic link tongue

Last edited by Succulent of your garden (2025-08-19 12:21:47)


str( @soyg ) == str( @potplant ) btw!

Also now with avatar logo included!

Online

#15 2025-08-23 21:20:31

borgch
Member
Registered: 2017-10-10
Posts: 39

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

Yes, I read these links - but it didn't help, unfortunately)

I have a 8 month old installation of Manjaro on an external SSD, and here everything works - is there a way to use this to install specific versions of needed packages to current system?
jupyter-kernel-gap-old.png

In this system:

$ sudo pacman -Qs python
[sudo] пароль для boris: 
local/boost-libs 1.86.0-3
    Free peer-reviewed portable C++ source libraries (runtime libraries)
local/imath 3.1.12-1
    A C++ and python library of 2D and 3D vector, matrix, and math operations for computer graphics
local/ipython 8.29.0-1
    Enhanced Interactive Python shell
local/jupyter-nbformat 5.10.4-2
    The base implementation of the Jupyter Notebook format and Python APIs for working with notebooks
local/jupyter-notebook-shim 0.2.4-2
    Provides a way for JupyterLab and other frontends to switch to Jupyter Server for their Python Web application backend
local/libftdi 1.5-6
    A library to talk to FTDI chips, optional python bindings.
local/python 3.12.7-1
    The Python programming language
local/python-aaf2 1.7.1-2
    Read and write Advanced Authoring Format (AAF) files
local/python-anyio 4.6.2.post1-1
    High level compatibility layer for multiple asynchronous event loop implementations
local/python-argcomplete 3.4.0-1
    Easy, extensible command line tab completion of arguments for your Python script
local/python-argon2-cffi 23.1.0-2
    Secure password hashing algorithm for Python
local/python-argon2-cffi-bindings 21.2.0-5
    Low-level CFFI bindings for Argon2
local/python-asttokens 2.4.1-2
    Get the currently executing AST node of a frame, and other information
local/python-async-lru 2.0.4-3
    Simple LRU cache for asyncio
local/python-attrs 23.2.0-3
    Attributes without boilerplate.
local/python-autocommand 2.2.2-6
    A library to create a command-line program from a function
local/python-babel 2.15.0-1
    A collection of tools for internationalizing Python applications
local/python-beautifulsoup4 4.12.3-2
    A Python HTML/XML parser designed for quick turnaround projects like screen-scraping
local/python-bleach 6.1.0-2
    An easy whitelist-based HTML-sanitizing tool
local/python-cairo 1.27.0-1
    Python bindings for the cairo graphics library
local/python-certifi 2024.08.30-1
    Python package for providing Mozilla's CA Bundle (using system CA store)
local/python-cffi 1.17.1-1
    Foreign Function Interface for Python calling C code
local/python-charset-normalizer 3.4.0-1
    Encoding and language detection alternative to chardet
local/python-click 8.1.7-3
    Simple wrapper around optparse for powerful command line utilities
local/python-colorama 0.4.6-3
    Python API for cross-platform colored terminal text.
local/python-comm 0.2.2-2
    Python Comm implementation for the Jupyter kernel protocol
local/python-cryptography 43.0.3-1
    A package designed to expose cryptographic recipes and primitives to Python developers
local/python-dateutil 2.9.0-5
    Provides powerful extensions to the standard datetime module
local/python-dbus 1.3.2-4
    Python bindings for D-Bus
local/python-decorator 5.1.1-4
    Python Decorator module
local/python-defusedxml 0.7.1-6
    XML bomb protection for Python stdlib modules
local/python-docopt 0.6.2-13
    Pythonic argument parser, that will make you smile
local/python-executing 2.1.0-1
    Get the currently executing AST node of a frame, and other information
local/python-fastjsonschema 2.20.0-1
    Fast JSON schema validator for Python
local/python-filelock 3.16.1-1
    A platform independent file lock
local/python-gobject 3.50.0-1
    Python bindings for GLib/GObject/GIO/GTK
local/python-h11 0.14.0-4
    A pure-Python, bring-your-own-I/O implementation of HTTP/1.1
local/python-httpcore 1.0.5-1
    A minimal HTTP client
local/python-httpx 0.27.2-1
    A next generation HTTP client for Python
local/python-idna 3.10-1
    Internationalized Domain Names in Applications (IDNA)
local/python-importlib-metadata 7.2.1-1
    Read metadata from Python packages
local/python-ipykernel 6.29.5-1
    The ipython kernel for Jupyter
local/python-jaraco.collections 5.0.1-1
    Models and classes to supplement the stdlib 'collections' module.
local/python-jaraco.context 5.3.0-1
    Context managers by jaraco
local/python-jaraco.functools 4.0.2-1
    Functools like those found in stdlib
local/python-jaraco.text 4.0.0-1
    Module for text manipulation
local/python-jedi 0.19.1-2
    Awesome autocompletion for python
local/python-jinja 1:3.1.4-1
    A simple pythonic template language written in Python
local/python-json-logger 2.0.7-3
    A python library adding a json log formatter
local/python-json5 0.10.0-1
    A Python implementation of the JSON5 data format
local/python-jsonschema 4.23.0-1
    An implementation of JSON Schema validation for Python
local/python-jsonschema-specifications 2023.12.1-2
    The JSON Schema meta-schemas and vocabularies, exposed as a Registry
local/python-jupyter-client 8.6.3-1
    Jupyter protocol implementation and client libraries
local/python-jupyter-core 5.7.2-2
    Jupyter core package. A base package on which Jupyter projects rely
local/python-jupyter-events 0.10.0-2
    Configurable event system for Jupyter applications and extensions
local/python-jupyter-ydoc 3.0.2-1
    Document structures for collaborative editing using Ypy
local/python-jupyterlab-server 2.27.3-2
    Launch an application built using JupyterLab
local/python-keyutils 0.6-10
    A set of python bindings for keyutils
local/python-markdown-it-py 3.0.0-2
    Python port of markdown-it. Markdown parsing, done right!
local/python-markupsafe 2.1.5-2
    Implements a XML/HTML/XHTML Markup safe string for Python
local/python-matplotlib-inline 0.1.7-1
    Inline Matplotlib backend for Jupyter
local/python-mdurl 0.1.2-5
    URL utilities for markdown-it
local/python-mistune 1:3.0.2-2
    A fast yet powerful Python Markdown parser with renderers and plugins
local/python-more-itertools 10.3.0-1
    More routines for operating on iterables, beyond itertools
local/python-mupdf 1.25.1-1
    Library for Lightweight PDF and XPS viewer - Python bindings
local/python-nest-asyncio 1.6.0-3
    Patch asyncio to allow nested event loops
local/python-npyscreen 4.10.5-9
    Python widget library and application framework for programming terminal or console applications
local/python-ordered-set 4.1.0-5
    A MutableSet that remembers its order, so that every entry has an index
local/python-overrides 7.7.0-2
    A decorator to automatically detect mismatch when overriding a method
local/python-packaging 24.2-1
    Core utilities for Python packages
local/python-pandocfilters 1.5.1-2
    A python module for writing pandoc filters
local/python-parso 1:0.8.4-2
    Python parser that supports error recovery and round-trip parsing for different Python versions
local/python-pexpect 4.9.0-2
    For controlling and automating applications
local/python-pillow 11.0.0-1
    Python Imaging Library (PIL) fork
local/python-pip 24.3.1-1
    The PyPA recommended tool for installing Python packages
local/python-platformdirs 4.3.6-1
    A library to determine platform-specific system directories
local/python-prometheus_client 0.21.0-1
    Prometheus instrumentation library for Python applications
local/python-prompt_toolkit 3.0.48-1
    Library for building powerful interactive command lines in Python
local/python-psutil 6.1.0-1
    A cross-platform process and system utilities module for Python
local/python-ptyprocess 0.7.0-6
    Run a subprocess in a pseudo terminal
local/python-pure-eval 0.2.3-1
    Safely evaluate AST nodes without side effects
local/python-pycparser 2.22-2
    C parser and AST generator written in Python
local/python-pycrdt 0.10.8-1
    CRDTs based on Yrs
local/python-pycrdt-websocket 0.15.3-1
    CRDTs based on Yrs
local/python-pycups 2.0.4-2
    Python bindings for libcups
local/python-pygments 2.18.0-1
    Python syntax highlighter
local/python-pymupdf 1.25.0-1
    Python bindings for MuPDF's rendering library
local/python-pypdf 5.1.0-1
    Python library for manipulating pages of PDF files
local/python-pyqt5 5.15.11-1 (pyqt5)
    A set of Python bindings for the Qt5 toolkit
local/python-pyqt5-sip 12.16.1-1
    The sip module support for PyQt5
local/python-pysmbc 1.0.25.1-3
    Python 3 bindings for libsmbclient
local/python-pytz 2024.2-1
    Cross platform time zone library for Python
local/python-pyzmq 25.1.2-2
    Python bindings for ZeroMQ
local/python-referencing 0.35.1-1
    An implementation-agnostic implementation of JSON reference resolution
local/python-reportlab 4.2.2-1
    A proven industry-strength PDF generating solution
local/python-requests 2.32.3-1
    Python HTTP for Humans
local/python-rich 13.9.4-1
    Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal
local/python-rpds-py 0.19.0-1
    Python bindings to the Rust rpds crate for persistent data structures
local/python-ruamel-yaml 0.18.6-2
    YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order
local/python-ruamel.yaml.clib 0.2.12-1
    C version of reader, parser and emitter for ruamel.yaml derived from libyaml
local/python-send2trash 1.8.3-1
    Send file to trash natively
local/python-setuptools 1:75.2.0-2 (python-build-backend)
    Easily download, build, install, upgrade, and uninstall Python packages
local/python-six 1.16.0-9
    Python 2 and 3 compatibility utilities
local/python-sniffio 1.3.1-3
    Sniff out which async library your code is running under
local/python-soupsieve 2.6-1
    A CSS4 selector implementation for Beautiful Soup
local/python-sqlite-anyio 0.2.3-1
    Asynchronous client for SQLite using AnyIO
local/python-stack-data 0.6.3-2
    Extract data from python stack frames and tracebacks for informative displays
local/python-tinycss2 1.4.0-1
    Low-level CSS parser for Python
local/python-tomli 2.0.1-4
    A lil' TOML parser
local/python-tornado 6.4.1-1
    open source version of the scalable, non-blocking web server and tools
local/python-tqdm 4.67.1-1
    Fast, Extensible Progress Meter
local/python-traitlets 5.14.3-2
    A configuration system for Python applications
local/python-trove-classifiers 2024.10.21.16-1
    Canonical source for classifiers on PyPI (pypi.org)
local/python-typing_extensions 4.12.2-1
    Backported and Experimental Type Hints for Python 3.8+
local/python-uc-micro-py 1.0.3-2
    Micro subset of unicode data files for linkify-it-py projects
local/python-urllib3 1.26.20-3
    HTTP library with thread-safe connection pooling and file post support
local/python-validate-pyproject 0.22-1
    Validation library and CLI tool for checking on 'pyproject.toml' files using JSON Schema
local/python-wcwidth 0.2.13-2
    Python library that measures the width of unicode strings rendered to a terminal
local/python-webencodings 0.5.1-11
    This is a Python implementation of the WHATWG Encoding standard.
local/python-websocket-client 1.8.0-1
    WebSocket client library for Python
local/python-wheel 0.45.0-1
    A built-package format for Python
local/python-yaml 6.0.2-1
    Python bindings for YAML, using fast libYAML library
local/python-zipp 3.21.0-1
    Pathlib-compatible object wrapper for zip files
local/texlive-binextra 2024.2-3 (texlive)
    TeX Live - TeX auxiliary programs
local/texlive-latexextra 2024.2-3 (texlive)
    TeX Live - LaTeX additional packages
local/texlive-mathscience 2024.2-3 (texlive)
    TeX Live - Mathematics, natural sciences, computer science packages
local/zbar 0.23.93-3
    Application and library for reading bar codes from various sources
$ yay -Qs gap
local/gap 4.14.0-1
    Groups, Algorithms, Programming: a system for computational discrete algebra
local/gap-jupyterkernel-install 1.5.1-1
    install Jupyter kernel for GAP
local/gap-packages 4.14.0-1
    Extra packages for GAP
local/texlive-latexextra 2024.2-3 (texlive)
    TeX Live - LaTeX additional packages

Offline

#16 2025-08-23 21:38:49

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,395

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

it seems this is the official manjaro image from docker: https://hub.docker.com/r/manjarolinux/base But please check it also.

You can create a dockerfile  file to create an image that reproduce the exact environment of your manjaro current one, and launch it as a container application in your arch application in the port that the application is listening. For that you should need to start with downloading the manjaro image in the dockerfile file manifesto, and start to download the packages to reproduce each packet needed by jupyter and gap  after downloading the manjaro iso. All of it  should be  declarated in the  dockerfile config. After that with docker run -d you should be able to create a container that works in isolation in your system, which should works if all the packages are in the image.

Btw you can use whatever image for the dockerfile, it can be ubuntu or alpine for example.

Last edited by Succulent of your garden (2025-08-23 21:42:29)


str( @soyg ) == str( @potplant ) btw!

Also now with avatar logo included!

Online

#17 2025-08-23 21:49:37

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,395

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

Hey I found this: https://hub.docker.com/u/gapsystem?page=1&search=
It seems is the oficial GAP kernel docker image repo. You should ask for if that's the case in the oficial github gap repo, since in this docker repo you can found this image:

https://hub.docker.com/r/gapsystem/gap-docker-jupyter

which seems to have the gap kernel working with the jupyter interface. Maybe you can just download it after checking if it is the original made by the creators. It hasn't been updated for 7 years ago. But if they made the container works, then is going to work no matter what.

Last edited by Succulent of your garden (2025-08-23 21:50:04)


str( @soyg ) == str( @potplant ) btw!

Also now with avatar logo included!

Online

#18 2025-08-23 22:27:30

borgch
Member
Registered: 2017-10-10
Posts: 39

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

YES IT WORKS!

I run

pip freeze

in old Manjaro system, and write output to ~/requirements.txt. Then in my new Arch system I run

uv python install 3.12.7
uv pip install -r ~/requirements.txt

There were some errors, I did have to delete some problem lines from requirements.txt. The final version is

anyio==4.6.2.post1
argcomplete==3.4.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
asttokens==2.4.1
async-lru==2.0.4
attrs==23.2.0
autocommand==2.2.2
Babel==2.15.0
beautifulsoup4==4.12.3
bleach==6.1.0
certifi==2024.8.30
cffi==1.17.1
charset-normalizer==3.4.0
click==8.1.7
colorama==0.4.6
comm==0.2.2
cryptography==43.0.3
dbus-python==1.3.2
decorator==5.1.1
defusedxml==0.7.1
docopt==0.6.2
executing==2.1.0
fastjsonschema==2.20.0
filelock==3.16.1
h11==0.14.0
httpcore==1.0.5
httpx==0.27.2
idna==3.10
importlib_metadata==7.2.1
ipykernel==6.29.5
ipython==8.29.0
jaraco.collections==5.0.1
jaraco.context==5.3.0
jaraco.functools==4.0.2
jaraco.text==4.0.0
jedi==0.19.1
Jinja2==3.1.4
json5==0.10.0
jsonschema==4.23.0
jsonschema-specifications==2023.12.1
jupyter-collaboration-ui==1.1.0
jupyter-docprovider==1.1.0
jupyter-events==0.10.0
jupyter-server-ydoc==1.1.0
jupyter-ydoc==3.0.2
jupyter_client==8.6.3
jupyter_core==5.7.2
jupyter_server==2.14.2
jupyter_server_fileid==0.9.3
jupyterlab==4.3.3
jupyterlab_pygments==0.3.0
jupyterlab_server==2.27.3
markdown-it-py==3.0.0
MarkupSafe==2.1.5
matplotlib-inline==0.1.7
mdurl==0.1.2
meson==1.6.0
mistune==3.0.2
more-itertools==10.3.0
nbclient==0.10.1
nbconvert==7.16.4
nbformat==5.10.4
nest_asyncio==1.6.0
notebook==7.3.1
notebook_shim==0.2.4
npyscreen==4.10.5
OpenTimelineIO==0.17.0
ordered-set==4.1.0
overrides==7.7.0
packaging==24.2
pandocfilters==1.5.1
parso==0.8.4
pexpect==4.9.0
pillow==11.0.0
platformdirs==4.3.6
prometheus_client==0.21.0
prompt_toolkit==3.0.48
psutil==6.1.0
ptyprocess==0.7.0
pure_eval==0.2.3
pyaaf2==1.7.1
pycairo==1.27.0
pycparser==2.22
pycrdt==0.10.8
pycrdt-websocket==0.15.3
pycups==2.0.4
Pygments==2.18.0
PyGObject==3.50.0
PyMuPDF==1.25.0
pypdf==5.1.0
PyQt5==5.15.11
PyQt5_sip==12.16.1
pysmbc==1.0.25.1
python-dateutil==2.9.0
python-json-logger==2.0.7
pytz==2024.2
PyYAML==6.0.2
pyzmq==25.1.2
referencing==0.35.1
reportlab==4.2.2
requests==2.32.3
rich==13.9.4
rpds-py==0.19.0
ruamel.yaml==0.18.6
ruamel.yaml.clib==0.2.12
Send2Trash==1.8.3
setuptools==75.2.0
six==1.16.0
sniffio==1.3.1
soupsieve==2.6
sqlite-anyio==0.2.3
stack_data==0.6.3
tinycss2==1.4.0
tomli==2.0.1
tornado==6.4.1
tqdm==4.67.1
traitlets==5.14.3
trove-classifiers==2024.10.21.16
typing_extensions==4.12.2
uc-micro-py==1.0.3
udiskie==2.5.3
urllib3==1.26.20
validate-pyproject==0.22
wcwidth==0.2.13
webencodings==0.5.1
websocket-client==1.8.0
wheel==0.45.0
zipp==3.21.0

BTW, current versions of python packages in my Arch are

$ pip freeze 
alabaster==1.0.0
anyio==4.10.0
apparmor==4.1.1
argcomplete==3.6.2
argon2-cffi==25.1.0
argon2-cffi-bindings==25.1.0
asciidoc==10.2.1
asttokens==3.0.0
async-lru==2.0.5
attrs==25.3.0
autocommand==2.2.2
babel==2.17.0
beautifulsoup4==4.13.4
bleach==6.2.0
certifi==2025.8.3
cffi==1.17.1
chardet==5.2.0
charset-normalizer==3.4.3
click==8.2.1
colorama==0.4.6
comm==0.2.3
contourpy==1.3.3
conway-polynomials==0.10
cryptography==45.0.6
cvxopt==1.3.2
cycler==0.12.1
cypari2==2.2.2
cysignals==1.12.4
decorator==5.2.1
defusedxml==0.7.1
docutils==0.21.2
executing==2.2.0
fastjsonschema==2.21.2
filelock==3.19.1
fonttools==4.59.1
fpylll==0.6.4
gi-docgen==2025.4
gmpy2==2.2.1
h11==0.16.0
httpcore==1.0.9
httpx==0.28.1
idna==3.10
imagesize==1.4.1
importlib_metadata==8.7.0
ipykernel==6.30.1
ipython==9.4.0
ipython_pygments_lexers==1.1.1
ipywidgets==8.1.7
jaraco.collections==5.1.0
jaraco.context==6.0.1
jaraco.functools==4.1.0
jaraco.text==4.0.0
jedi==0.19.2
Jinja2==3.1.6
json5==0.12.1
jsonschema==4.25.1
jsonschema-specifications==2025.4.1
jupyter-events==0.12.0
jupyter_client==8.6.3
jupyter_core==5.8.1
jupyter_server==2.17.0
jupyterlab==4.4.6
jupyterlab_pygments==0.3.0
jupyterlab_server==2.27.3
kiwisolver==1.4.7
legacy-cgi==2.6.3
LibAppArmor==4.1.1
lrcalc==2.0.0
lxml==6.0.1
Mako==1.3.10.dev0
Markdown==3.8.2
markdown-it-py==4.0.0
MarkupSafe==3.0.2
matplotlib==3.10.5
matplotlib-inline==0.1.7
mdurl==0.1.2
memory_allocator==0.1.4
mercurial==7.1
meson==1.8.4
mistune==3.1.3
more-itertools==10.7.0
mpmath==1.3.0
nbclient==0.10.2
nbconvert==7.16.6
nbformat==5.10.4
nest_asyncio==1.6.0
networkx==3.5
notebook==7.4.5
notebook_shim==0.2.4
numpy==2.3.2
OpenTimelineIO==0.17.0
overrides==7.7.0
packaging==25.0
pandas==2.3.1
pandocfilters==1.5.1
parso==0.8.4
pdfCropMargins @ file:///home/boris/.cache/yay/pdfcropmargins/src/pdfCropMargins-2.2.0-py3-none-any.whl#sha256=7d0d3b9c0bfc46d75b640513279a226e0f95c52b172faaac15181015132ed946
pexpect==4.9.0
pillow==11.3.0
platformdirs==4.3.8
pooch==1.8.2
pplpy==0.8.10
primecountpy==0.1.1
prometheus_client==0.22.1
prompt_toolkit==3.0.51
psutil==7.0.0
ptyprocess==0.7.0
pure_eval==0.2.3
pyaaf2==1.7.1
pycparser==2.22
pygdbmi==0.11.0.0
Pygments==2.19.2
PyGObject==3.52.3
PyMuPDF==1.26.3
pyparsing==3.2.3
pypdf==6.0.0
python-dateutil==2.9.0
python-json-logger==3.3.0
python-magic==0.4.27
pytz==2025.2
PyYAML==6.0.2
pyzmq==27.0.2
referencing==0.36.2
requests==2.32.5
rich==14.1.0
roman-numerals-py==3.1.0
rpds-py==0.27.1
rpy2==3.6.2
rpy2-rinterface==3.6.2
rpy2-robjects==3.6.1
ruamel.yaml==0.18.10
ruamel.yaml.clib==0.2.12
scipy==1.16.1
Send2Trash==1.8.3
sentry-sdk==2.35.0
setuptools==80.9.0
six==1.17.0
smartypants==2.0.2
smbus==1.1
sniffio==1.3.1
snowballstemmer==2.2.0
soupsieve==2.7
Sphinx==8.2.3
sphinxcontrib-applehelp==2.0.0
sphinxcontrib-devhelp==2.0.0
sphinxcontrib-htmlhelp==2.1.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==2.0.0
sphinxcontrib-serializinghtml==2.0.0
stack_data==0.6.3
sympy==1.14.0
TBB==0.2
tinycss2==1.4.0
tornado==6.4.2
tqdm==4.67.1
traitlets==5.14.3
typing_extensions==4.14.1
typogrify==2.1.0
tzlocal==5.3.1
urllib3==2.5.0
wcwidth==0.2.13
webencodings==0.5.1
websocket-client==1.8.0
wheel==0.45.1
zipp==3.21.0

Then I run

install -Dm644 /usr/lib/gap/pkg/jupyterkernel/etc/gap-mode/* -t "$HOME/.venv/share/jupyter/nbextensions/gap-mode"
install -Dm644 /usr/lib/gap/pkg/jupyterkernel/etc/gap-mode.json -t "$HOME/.venv/share/jupyter/nbconfig/notebook.d"
install -Dm644 /usr/lib/gap/pkg/jupyterkernel/etc/jupyter/* -t "$HOME/.venv/share/jupyter/kernels/gap-4"
install -Dm755 /usr/lib/gap/pkg/jupyterkernel/bin/jupyter-kernel-gap -t "$HOME/.venv/bin"

to install GAP kernel in venv and now I can run jupyter notebook in venv with

uv run jupyter notebook

or something else)

Last edited by borgch (2025-08-23 22:46:46)

Offline

#19 2025-08-23 22:29:38

borgch
Member
Registered: 2017-10-10
Posts: 39

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

Succulent of your garden wrote:

Hey I found this: https://hub.docker.com/u/gapsystem?page=1&search=
It seems is the oficial GAP kernel docker image repo. You should ask for if that's the case in the oficial github gap repo, since in this docker repo you can found this image:

https://hub.docker.com/r/gapsystem/gap-docker-jupyter

which seems to have the gap kernel working with the jupyter interface. Maybe you can just download it after checking if it is the original made by the creators. It hasn't been updated for 7 years ago. But if they made the container works, then is going to work no matter what.

Thanks you very much for the help! I wouldn't figure it out without you)

Offline

#20 2025-08-24 16:36:59

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,395

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

Glad to know you solve it smile

Is this part suggested by the gap installation or you just came with that idea ?

install -Dm644 /usr/lib/gap/pkg/jupyterkernel/etc/gap-mode/* -t "$HOME/.venv/share/jupyter/nbextensions/gap-mode"
install -Dm644 /usr/lib/gap/pkg/jupyterkernel/etc/gap-mode.json -t "$HOME/.venv/share/jupyter/nbconfig/notebook.d"
install -Dm644 /usr/lib/gap/pkg/jupyterkernel/etc/jupyter/* -t "$HOME/.venv/share/jupyter/kernels/gap-4"
install -Dm755 /usr/lib/gap/pkg/jupyterkernel/bin/jupyter-kernel-gap -t "$HOME/.venv/bin"

str( @soyg ) == str( @potplant ) btw!

Also now with avatar logo included!

Online

#21 2025-08-25 09:44:11

borgch
Member
Registered: 2017-10-10
Posts: 39

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

There is no information about it in official GAP installation instructions - it is from https://aur.archlinux.org/cgit/aur.git/ … el-install. Also jupyter --paths prints information about paths, maybe there is a way to add paths to GAP into Jupyter, but it also works)

Offline

#22 2025-08-25 10:50:58

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,395

Re: [SOLVED] Issue with GAP kernel in Jupyter Notebook

Oh I see, so well done! You made it wink


str( @soyg ) == str( @potplant ) btw!

Also now with avatar logo included!

Online

Board footer

Powered by FluxBB