On Debian testing running on ore i7 + 16 GB RAM, upgrading a rebuilt Sage 9.2.beta4
to 9.2.beta5
and running ptestlong~ gives one transient timeout and three permanent errors:
File | Result | P/T |
---|---|---|
src/sage/tests/parigp.py | Timed out | T |
src/sage/rings/complex_arb.pyx | 6 doctests failed | P |
src/sage/tests/gap_packages.py | 1 doctest failed | P |
src/sage/rings/real_arb.pyx | 2 doctests failed | P |
Those errors are identical to those already reported for beta2
and beta4
.
Furthermore, the jupyter notebook, which worked until rebuilding 9.2.beta4
, is now somehow broken:
harpent@zen-book-flip:~$ sage -n jupyter
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.2.beta5, Release Date: 2020-07-12 │
│ Using Python 3.7.3. Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable. ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
Please wait while the Sage Jupyter Notebook server starts...
[I 15:55:11.828 NotebookApp] Using MathJax: nbextensions/mathjax/MathJax.js
[I 15:55:12.097 NotebookApp] The port 8888 is already in use, trying another port.
[I 15:55:12.106 NotebookApp] Serving notebooks from local directory: /home/charpent
[I 15:55:12.106 NotebookApp] The Jupyter Notebook is running at:
[I 15:55:12.106 NotebookApp] http://localhost:8889/?token=8d1b867d9e40a773d742265910124cc9653e6dd28e35df52
[I 15:55:12.106 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 15:55:12.137 NotebookApp]
To access the notebook, open this file in a browser:
file:///run/user/1000/jupyter/nbserver-734665-open.html
Or copy and paste one of these URLs:
http://localhost:8889/?token=8d1b867d9e40a773d742265910124cc9653e6dd28e35df52
Attempt to create a Python 3 sheet :
[I 15:55:21.557 NotebookApp] Creating new notebook in
[W 15:55:22.259 NotebookApp] 404 GET /nbextensions/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full,Safe&delayStartupUntil=configured (::1) 26.95ms referer=http://localhost:8889/notebooks/Untitled.ipynb?kernel_name=python3
Attempt to create a Sage sheet :
[I 15:55:38.201 NotebookApp] Creating new notebook in
[W 15:55:38.610 NotebookApp] 404 GET /nbextensions/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full,Safe&delayStartupUntil=configured (::1) 4.22ms referer=http://localhost:8889/notebooks/Untitled1.ipynb?kernel_name=sagemath
Attempt to create a Gap sheet :
[I 15:56:23.326 NotebookApp] Creating new notebook in
[W 15:56:23.715 NotebookApp] 404 GET /nbextensions/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full,Safe&delayStartupUntil=configured (::1) 5.99ms referer=http://localhost:8889/notebooks/Untitled2.ipynb?kernel_name=gap
Attempt to create a Pari sheet :
[I 15:57:23.483 NotebookApp] Creating new notebook in
[W 15:57:23.877 NotebookApp] 404 GET /nbextensions/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full,Safe&delayStartupUntil=configured (::1) 5.48ms referer=http://localhost:8889/notebooks/Untitled3.ipynb?kernel_name=pari_jupyter
Attempt to create an R sheet (IR kernel is a systemwide Jupyter kernel,
symlinked into Sage) :
[I 15:57:52.365 NotebookApp] Creating new notebook in
[W 15:57:52.762 NotebookApp] 404 GET /nbextensions/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full,Safe&delayStartupUntil=configured (::1) 5.52ms referer=http://localhost:8889/notebooks/Untitled4.ipynb?kernel_name=ir
[W 15:58:50.787 NotebookApp] delete /Untitled.ipynb
[W 15:58:50.791 NotebookApp] delete /Untitled2.ipynb
[W 15:58:50.794 NotebookApp] delete /Untitled1.ipynb
[W 15:58:50.797 NotebookApp] delete /Untitled3.ipynb
[W 15:58:50.800 NotebookApp] delete /Untitled4.ipynb
[I 15:58:54.627 NotebookApp] Shutting down on /api/shutdown request.
[I 15:58:54.627 NotebookApp] Shutting down 0 kernels
In all these cases, the browser (Debian’s chromium
) create a new tab, that remains blank and inactive until (manually) closed.
In contrast, the system Jupyter notebook, using symlinked kernels, can create and use active Sagemath and Gap sheets ; the Pari kernel fails to start its interpreter, however :
charpent@zen-book-flip:~$ jupyter notebook
[I 16:21:06.627 NotebookApp] The port 8888 is already in use, trying another port.
[I 16:21:06.632 NotebookApp] Serving notebooks from local directory: /home/charpent
[I 16:21:06.632 NotebookApp] The Jupyter Notebook is running at:
[I 16:21:06.632 NotebookApp] http://localhost:8889/?token=a6b03587590b0615808a11b8c65e98554a5896f701a3bf78
[I 16:21:06.632 NotebookApp] or http://127.0.0.1:8889/?token=a6b03587590b0615808a11b8c65e98554a5896f701a3bf78
[I 16:21:06.632 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 16:21:06.650 NotebookApp]
To access the notebook, open this file in a browser:
file:///home/charpent/.local/share/jupyter/runtime/nbserver-736070-open.html
Or copy and paste one of these URLs:
http://localhost:8889/?token=a6b03587590b0615808a11b8c65e98554a5896f701a3bf78
or http://127.0.0.1:8889/?token=a6b03587590b0615808a11b8c65e98554a5896f701a3bf78
[I 16:21:22.870 NotebookApp] Creating new notebook in
Successful creation (modulo minor booboos) of a Sagemath sheet :
[I 16:21:23.866 NotebookApp] Kernel started: e462e630-07a7-418c-b3c9-be44595bae8f
[I 16:21:25.256 NotebookApp] Adapting from protocol version 5.1 (kernel e462e630-07a7-418c-b3c9-be44595bae8f) to 5.3 (client).
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.version
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.version
Successful creation (modulo minor booboos) of a Gap sheet :
[I 16:21:39.302 NotebookApp] Creating new notebook in
[I 16:21:40.193 NotebookApp] Kernel started: 1f2c926b-0da9-42e5-b386-c4480ae3d5a3
[IPKernelApp] ERROR | ('starting GAP: gap',)
[I 16:21:41.794 NotebookApp] Adapting from protocol version 5.1 (kernel 1f2c926b-0da9-42e5-b386-c4480ae3d5a3) to 5.3 (client).
[IPKernelApp] WARNING | Unknown message type: 'comm_open'
[IPKernelApp] WARNING | Unknown message type: 'comm_open'
[IPKernelApp] ERROR | ('command JUPYTER_RunCommand("1+2; ;");',)
[IPKernelApp] ERROR | ('reply {"result" : {"name" : "stdout","text" : "3"},"status" : "ok"}',)
[IPKernelApp] ERROR | ('json part: {"result" : {"name" : "stdout","text" : "3"},"status" : "ok"}',)
[IPKernelApp] ERROR | ('rest part: ',)
Unsuccessful creation of a Pari sheet (the sheet is created and seems active, but the kernel doesn’t start) :
[I 16:22:55.964 NotebookApp] Creating new notebook in
[I 16:22:56.903 NotebookApp] Kernel started: 5e902bf3-eb88-42f3-b830-ab3386b66372
/usr/bin/python3: No module named PARIKernel
[I 16:22:59.903 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
/usr/bin/python3: No module named PARIKernel
[I 16:23:02.908 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
/usr/bin/python3: No module named PARIKernel
[I 16:23:05.914 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports
/usr/bin/python3: No module named PARIKernel
[I 16:23:08.920 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
/usr/bin/python3: No module named PARIKernel
[W 16:23:11.925 NotebookApp] KernelRestarter: restart failed
[W 16:23:11.926 NotebookApp] Kernel 5e902bf3-eb88-42f3-b830-ab3386b66372 died, removing from map.
[I 16:23:24.665 NotebookApp] Saving file at /Untitled.ipynb
[I 16:23:40.661 NotebookApp] Saving file at /Untitled1.ipynb
[W 16:23:56.964 NotebookApp] Timeout waiting for kernel_info reply from 5e902bf3-eb88-42f3-b830-ab3386b66372
[E 16:23:56.965 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: 5e902bf3-eb88-42f3-b830-ab3386b66372)
[W 16:23:58.014 NotebookApp] 404 GET /api/kernels/5e902bf3-eb88-42f3-b830-ab3386b66372/channels?session_id=1834273a3dab45cdb9e19c7648034db2 (::1): Kernel does not exist: 5e902bf3-eb88-42f3-b830-ab3386b66372
[W 16:23:58.134 NotebookApp] 404 GET /api/kernels/5e902bf3-eb88-42f3-b830-ab3386b66372/channels?session_id=1834273a3dab45cdb9e19c7648034db2 (::1) 122.97ms referer=None
[W 16:24:00.152 NotebookApp] Replacing stale connection: 5e902bf3-eb88-42f3-b830-ab3386b66372:1834273a3dab45cdb9e19c7648034db2
[W 16:24:10.322 NotebookApp] 410 DELETE /api/sessions/f70aa579-9aaf-42e7-97a1-c6f34210d33c (::1): Kernel deleted before session
[W 16:24:10.323 NotebookApp] Kernel deleted before session
[W 16:24:10.323 NotebookApp] 410 DELETE /api/sessions/f70aa579-9aaf-42e7-97a1-c6f34210d33c (::1) 2.21ms referer=http://localhost:8889/notebooks/Untitled2.ipynb?kernel_name=pari_jupyter
[I 16:24:19.946 NotebookApp] Starting buffering for 1f2c926b-0da9-42e5-b386-c4480ae3d5a3:bc7e5478bf2d4ffc9356a9ceb165f180
[I 16:24:19.951 NotebookApp] Kernel shutdown: 1f2c926b-0da9-42e5-b386-c4480ae3d5a3
[I 16:24:25.634 NotebookApp] Starting buffering for e462e630-07a7-418c-b3c9-be44595bae8f:0fb85877a57b42debd5f4d4ca8f9aa9c
[I 16:24:25.640 NotebookApp] Kernel shutdown: e462e630-07a7-418c-b3c9-be44595bae8f
[W 16:24:55.592 NotebookApp] delete /Untitled.ipynb
[W 16:24:55.604 NotebookApp] delete /Untitled1.ipynb
[W 16:24:55.606 NotebookApp] delete /Untitled2.ipynb
[I 16:25:00.491 NotebookApp] Shutting down on /api/shutdown request.
[I 16:25:00.492 NotebookApp] Shutting down 0 kernels
FWIW :
charpent@zen-book-flip:~$ sage -jupyter kernelspec list
Available kernels:
gap /usr/local/sage-9/local/share/jupyter/kernels/gap
pari_jupyter /usr/local/sage-9/local/share/jupyter/kernels/pari_jupyter
python3 /usr/local/sage-9/local/share/jupyter/kernels/python3
sagemath /usr/local/sage-9/local/share/jupyter/kernels/sagemath
ir /usr/local/share/jupyter/kernels/ir
charpent@zen-book-flip:~$ jupyter kernelspec list
Available kernels:
ir /usr/local/share/jupyter/kernels/ir
gap /usr/share/jupyter/kernels/gap
pari_jupyter /usr/share/jupyter/kernels/pari_jupyter
python3 /usr/share/jupyter/kernels/python3
HTH,
sagemath /usr/share/jupyter/kernels/sagemath
--
You received this message because you are subscribed to the Google Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/05e24a2d-ddc4-40ae-9278-dce7c0318060o%40googlegroups.com.
./sage -bshould make jupyter notebook work again
To unsubscribe from this group and stop receiving emails from it, send an email to sage-r...@googlegroups.com.
2020/07/14 17:23、Emmanuel Charpentier <emanuel.c...@gmail.com>のメール:
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/494cb99b-863b-4b6f-bbc9-b6d6b4383f0bo%40googlegroups.com.