[Python-modules-team] Bug#935995: python3-notebook: in browser terminal using term.js doesn't work.

Diane Trout diane at ghic.org
Wed Aug 28 19:36:50 BST 2019


Package: python3-notebook
Version: 5.7.8-1
Severity: normal
Tags: patch

Dear Maintainer,

I tried hitting "new -> terminal" from the notebook file browser. A
gray screen with no terminal appeared.

I hacked a fix in for me, but my knowledge of javascript is limited and
I think term.js isn't designed to work with requirejs modules, so this
fix ends up cluttering the global javascript namespace. (And I have no
idea how to rebuild the minified .js so I switched terminal.html to use
the unminified source.)

Also trying to load components/xterm.js-css/index.css was 404ing so I
removed it.

Diane

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'oldstable-debug'), (500,
'testing'), (500, 'stable'), (110, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-notebook depends on:
ii  fonts-font-awesome         5.0.10+really4.7.0~dfsg-1
ii  libjs-backbone             1.3.3~dfsg-5
ii  libjs-bootstrap            3.4.1+dfsg-1
ii  libjs-bootstrap-tour       0.12.0+dfsg-2
ii  libjs-codemirror           5.43.0-1
ii  libjs-es6-promise          4.2.8-5
ii  libjs-jed                  1.1.1-1
ii  libjs-jquery               3.3.1~dfsg-3
ii  libjs-jquery-typeahead     2.10.6+dfsg1-1
ii  libjs-jquery-ui            1.12.1+dfsg-5
ii  libjs-marked               0.5.1+dfsg-1
ii  libjs-mathjax              2.7.4+dfsg-1
ii  libjs-moment               2.24.0+ds-1
ii  libjs-requirejs            2.3.6-1
ii  libjs-requirejs-text       2.0.12-1
ii  libjs-term.js              0.0.7-1
ii  libjs-text-encoding        0.7.0-1
ii  libjs-underscore           1.9.1~dfsg-1
ii  python3                    3.7.3-1
ii  python3-ipykernel          4.9.0-1
ii  python3-ipython-genutils   0.2.0-1
ii  python3-jinja2             2.10.1-1
ii  python3-jupyter-client     5.2.3-1
ii  python3-jupyter-core       4.5.0-2
ii  python3-nbconvert          5.4-2
ii  python3-nbformat           4.4.0-1
ii  python3-prometheus-client  0.6.0-1
ii  python3-send2trash         1.5.0-1
ii  python3-terminado          0.8.2-2
ii  python3-tornado            5.1.1-4
ii  python3-traitlets          4.3.2-1
ii  python3-zmq                17.1.2-3

Versions of packages python3-notebook recommends:
pn  python3-ipywidgets  <none>

Versions of packages python3-notebook suggests:
ii  python-notebook-doc  5.7.8-1

-- no debconf information

-------------- next part --------------
A non-text attachment was scrubbed...
Name: python3-notebook-patch
Type: text/x-patch
Size: 1197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20190828/58578747/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20190828/58578747/attachment-0001.sig>


More information about the Python-modules-team mailing list