Your message dated Fri, 31 Jan 2020 13:21:06 +0000
with message-id <e1ixwem-0008xq...@fasolo.debian.org>
and subject line Bug#935995: fixed in jupyter-notebook 6.0.3-1
has caused the Debian Bug report #935995,
regarding python3-notebook: in browser terminal using term.js doesn't work.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
935995: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935995
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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

--- notebook/static/terminal/js/terminado.js	2019-08-28 11:34:32.605416308 -0700
+++ /usr/lib/python3/dist-packages/notebook/static/terminal/js/terminado.js	2019-08-28 10:46:44.570493664 -0700
@@ -1,5 +1,6 @@
-define ([], function(Terminal) {
+define(function(require, exports, module) {
     "use strict";
     function make_terminal(element, ws_url) {
+        require('/static/components/term.js/term.js');
         var ws = new WebSocket(ws_url);
         var term = new Terminal({cols: 80, rows: 24});
--- notebook/templates/terminal.html	2019-08-28 09:45:57.028871925 -0700
+++ /usr/lib/python3/dist-packages/notebook/templates/terminal.html	2019-08-28 11:07:22.413702027 -0700
@@ -16,5 +16,4 @@
 {{super()}}
 <link rel="stylesheet" href="{{ static_url("terminal/css/override.css") }}" type="text/css" />
-<link rel="stylesheet" href="{{static_url("components/xterm.js-css/index.css") }}" type="text/css" />
 {% endblock %}
 
@@ -33,4 +32,4 @@
     {{super()}}
 
-<script src="{{ static_url("terminal/js/main.min.js") }}" type="text/javascript" charset="utf-8"></script>
+<script src="{{ static_url("terminal/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
 {% endblock %}

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: jupyter-notebook
Source-Version: 6.0.3-1

We believe that the bug you reported is fixed in the latest version of
jupyter-notebook, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 935...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gordon Ball <gor...@chronitis.net> (supplier of updated jupyter-notebook 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 31 Jan 2020 10:32:37 +0000
Source: jupyter-notebook
Architecture: source
Version: 6.0.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Gordon Ball <gor...@chronitis.net>
Closes: 935995
Changes:
 jupyter-notebook (6.0.3-1) unstable; urgency=medium
 .
   * New upstream version 6.0.3
   * d/control: update versioned python dependencies
   * d/control: update Standards-Version to 4.5.0
   * Refresh patches; drop 0001-Nodejs-binary-and-import-names.patch since
     node -> nodejs is no longer needed.
   * Re-enable the xtermjs-based web terminal, as node-xterm is available
     again (Closes: #935995, retires several related patches).
   * d/rules: Drop now-unneeded dh_auto_install override
   * Try and patch testsuite pythonpath issues
   * d/source/lintian-overrides: rename tag insane-line-length ->
     very-long-line-length
Checksums-Sha1:
 143304396533a94bc36f9d0299d12542647c7d68 3518 jupyter-notebook_6.0.3-1.dsc
 8db34fbcb959d9efc853db6cbdf7a45b6885957d 6439566 
jupyter-notebook_6.0.3.orig.tar.gz
 986b6be494671d52a7ecd9e79292d0f18b31da0b 57852 
jupyter-notebook_6.0.3-1.debian.tar.xz
 36707448e1f8eb01793803a26dc96f8ac26b737b 18864 
jupyter-notebook_6.0.3-1_amd64.buildinfo
Checksums-Sha256:
 6eb9034378f6393add251d4eda1a6e8285f70b3de5e3a606e6762a937d7680f6 3518 
jupyter-notebook_6.0.3-1.dsc
 d2628730fd7bf542d88dbee7e8a469e52782471ba60840356419c6691f3abdad 6439566 
jupyter-notebook_6.0.3.orig.tar.gz
 bc70ca2286f93e4493e6ee189a083e0716cb36443965dea762fe8b9719b04421 57852 
jupyter-notebook_6.0.3-1.debian.tar.xz
 7cc915b0c91bf56f3679120ef89f83bc717e458787f560ee496589d4808ea60d 18864 
jupyter-notebook_6.0.3-1_amd64.buildinfo
Files:
 45a1f1854647baa0da92cb448005842b 3518 python optional 
jupyter-notebook_6.0.3-1.dsc
 1e5962b6e1fea5c34711d28c6ba841cb 6439566 python optional 
jupyter-notebook_6.0.3.orig.tar.gz
 8f08bfa7ea6ff0245dedbbb63018d3ed 57852 python optional 
jupyter-notebook_6.0.3-1.debian.tar.xz
 4c04ad9ea8d1adec2c951172d9aa1e04 18864 python optional 
jupyter-notebook_6.0.3-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE6PwpXIa418BJ+Xuno12v+60p6N4FAl40I5wACgkQo12v+60p
6N52Pg/+Lfd8c2vBcotiZxMWQ0eitgROd3JFAANZJEbEHhpYFHvSSuAgPhrDkJhT
rvTKubXMIoZxfE879vy67mmPpSCQrIbYntLPUuhQv7yroi0fXFyg3Ujr6Nl08uQn
sMNnMCddNeT2YLpAkduL93E+GOBI+GS8KnxQ48NxJYHSS778LOg04A+vW24uV6z0
Ybreo+h81jnZXlYq4WOoZIzdTPgXH8SwgFoVvHaZ7M60niQ8n2vH4XDTTg2sUwHx
Gwo9jQJx3o0h1FTJLu1dUUpMEuiugjbOUSu2yRAnYYM4ciu6LqixgZUc+1GiY1yE
ED0+LhbMuQoK3Jq+o9GrzQKKM75VFqOk3OjyUBmqC6QV3yHdAu10J42RgxuGHq9A
y0+sTnsiwzOHJxv+xB9G3ZP+74RD6weUwnxAuaBEo/FE0bx2HC9QqMFtF1ZiTqdl
FjVC6ri3+3Shx1MUt1sAqEOJtIp+8O447vd+TgSl9ZExeZRaTI4mXu6ksfEJabEt
O3Q/RXmIQX0lwhpmxtOS7g0YCNfIVEAYQYKrpR46HQgbhOuFDZ8FQpG6akK7MZ9N
Z9neDVs3pVRxQzBFGXaaYnPc3eQypsiF23qjOnXKsQgbY0IldHl6+6FppUzXvdJ7
VA23T827HCDnyG4KHNcR7vNGfSgu2vjnS0fWAVKO/77kw+k3Txw=
=Id9u
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to