Public bug reported:
Ubuntu 26.04.1 LTS, python3-tornado 6.5.4-0.1ubuntu0.3, python3-notebook
/ jupyter-notebook 6.4.13-5ubuntu0.1.
After the update, the classic notebook (jupyter notebook) shows a blank
page. Every static file that python3-notebook ships as a symlink into
/usr/share/javascript (requirejs, MathJax, codemirror, jquery, …)
returns HTTP 403. Example: /static/components/requirejs/require.js.
The update that fixed bug 2172317 gives allowed_symlink_directory a
default equal to the static root. notebook’s FileFindHandler
(notebook/base/handlers.py) doesn’t pass that argument, so links
pointing outside /usr/lib/python3/dist-packages/notebook/static are
refused. The Debian/Ubuntu packaging uses exactly such links, so the
packaged notebook can’t work with this tornado.
Workaround, in ~/.jupyter/jupyter_notebook_config.py:
from notebook.base.handlers import FileFindHandler
FileFindHandler.allowed_symlink_directory = "/usr/"
("/usr/share/" is not enough: the notebook’s own files in /usr/lib are
then refused instead.)
Regression of the fix for LP: #2172317.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: python3-tornado 6.5.4-0.1ubuntu0.3
ProcVersionSignature: Ubuntu 7.0.0-42.42-generic 7.0.14
Uname: Linux 7.0.0-42-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun Nov 8 17:37:02 2026
InstallationDate: Installed on 2026-10-28 (11 days ago)
InstallationMedia: Ubuntu 26.04.1 LTS "Resolute Raccoon" - Release amd64
(20260826)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: python-tornado
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: python-tornado (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2173692
Title:
python3-tornado 6.5.4-0.1ubuntu0.3 still breaks jupyter-notebook (403
on static files symlinked into /usr/share)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-tornado/+bug/2173692/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs