Bug 1707166 - Sage kernel for Jupyter notebook does not start
Summary: Sage kernel for Jupyter notebook does not start
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sagemath
Version: 30
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Paulo Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-07 00:01 UTC by Ricardo
Modified: 2019-07-11 00:57 UTC (History)
1 user (show)

Fixed In Version: sagemath-8.8-1.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-11 00:57:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Jupyter Notebook Error (92.93 KB, image/png)
2019-05-07 00:01 UTC, Ricardo
no flags Details

Description Ricardo 2019-05-07 00:01:08 UTC
Created attachment 1564886 [details]
Jupyter Notebook Error

Description of problem:
When starting the jupyter notebook interface for sage with sage -n jupyter
command, jupyter can't connect with the kernel for running sage within the notebook, and command line print:

[ricardo@zenbook-de-ricardo ~]$ sage -n jupyter
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 8.6, Release Date: 2019-01-15                     │
│ Using Python 3.7.3. Type "help()" for help.                        │
└────────────────────────────────────────────────────────────────────┘
Please wait while the Sage Jupyter Notebook server starts...
[I 19:43:04.417 NotebookApp] Writing notebook server cookie secret to /run/user/1000/jupyter/notebook_cookie_secret
[I 19:43:04.652 NotebookApp] Serving notebooks from local directory: /home/ricardo
[I 19:43:04.652 NotebookApp] The Jupyter Notebook is running at:
[I 19:43:04.652 NotebookApp] http://localhost:8888/?token=c6d2909851bb27fe61c98d6b86ff637ca746abea956f1e0b
[I 19:43:04.652 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 19:43:04.705 NotebookApp] 
    
    To access the notebook, open this file in a browser:
        file:///run/user/1000/jupyter/nbserver-24089-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=c6d2909851bb27fe61c98d6b86ff637ca746abea956f1e0b
bash: no se puede establecer el grupo de proceso de terminal (-1): Inappropriate ioctl for device
bash: no hay control de trabajos en este shell
[I 19:43:52.687 NotebookApp] Kernel started: 6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822
/usr/bin/python2: No module named repl
[I 19:43:55.685 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
bash: no se puede establecer el grupo de proceso de terminal (-1): Inappropriate ioctl for device
bash: no hay control de trabajos en este shell
/usr/bin/python2: No module named repl
[I 19:43:58.692 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
bash: no se puede establecer el grupo de proceso de terminal (-1): Inappropriate ioctl for device
bash: no hay control de trabajos en este shell
/usr/bin/python2: No module named repl
[I 19:44:01.701 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports
bash: no se puede establecer el grupo de proceso de terminal (-1): Inappropriate ioctl for device
bash: no hay control de trabajos en este shell
/usr/bin/python2: No module named repl
[I 19:44:04.709 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
bash: no se puede establecer el grupo de proceso de terminal (-1): Inappropriate ioctl for device
bash: no hay control de trabajos en este shell
/usr/bin/python2: No module named repl
[W 19:44:07.717 NotebookApp] KernelRestarter: restart failed
[W 19:44:07.717 NotebookApp] Kernel 6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822 died, removing from map.
[W 19:44:13.714 NotebookApp] Replacing stale connection: 6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822:bf99a3fa109b413a8d3ede4f8bce5478
[W 19:44:35.739 NotebookApp] Replacing stale connection: 6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822:bf99a3fa109b413a8d3ede4f8bce5478
[W 19:44:52.754 NotebookApp] Timeout waiting for kernel_info reply from 6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822
[E 19:44:52.755 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: 6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822)
[W 19:44:52.756 NotebookApp] 404 GET /api/kernels/6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822/channels?session_id=bf99a3fa109b413a8d3ede4f8bce5478 (::1): Kernel does not exist: 6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822
[W 19:44:52.769 NotebookApp] 404 GET /api/kernels/6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822/channels?session_id=bf99a3fa109b413a8d3ede4f8bce5478 (::1) 39058.38ms referer=None
[W 19:44:52.770 NotebookApp] 404 GET /api/kernels/6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822/channels?session_id=bf99a3fa109b413a8d3ede4f8bce5478 (::1): Kernel does not exist: 6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822
[W 19:44:52.771 NotebookApp] 404 GET /api/kernels/6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822/channels?session_id=bf99a3fa109b413a8d3ede4f8bce5478 (::1) 17033.15ms referer=None
bash: no se puede establecer el grupo de proceso de terminal (-1): Inappropriate ioctl for device
bash: no hay control de trabajos en este shell
[I 19:44:55.297 NotebookApp] Kernel started: a793ea8e-f7da-4070-b981-3364140618b5
/usr/bin/python2: No module named repl
[I 19:44:58.295 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
bash: no se puede establecer el grupo de proceso de terminal (-1): Inappropriate ioctl for device
bash: no hay control de trabajos en este shell
/usr/bin/python2: No module named repl
[I 19:45:01.303 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
bash: no se puede establecer el grupo de proceso de terminal (-1): Inappropriate ioctl for device
bash: no hay control de trabajos en este shell
/usr/bin/python2: No module named repl
[W 19:45:01.605 NotebookApp] Replacing stale connection: 6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822:bf99a3fa109b413a8d3ede4f8bce5478
[I 19:45:04.310 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports
bash: no se puede establecer el grupo de proceso de terminal (-1): Inappropriate ioctl for device
bash: no hay control de trabajos en este shell
/usr/bin/python2: No module named repl
[I 19:45:07.319 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
bash: no se puede establecer el grupo de proceso de terminal (-1): Inappropriate ioctl for device
bash: no hay control de trabajos en este shell
/usr/bin/python2: No module named repl
[W 19:45:10.327 NotebookApp] KernelRestarter: restart failed
[W 19:45:10.327 NotebookApp] Kernel a793ea8e-f7da-4070-b981-3364140618b5 died, removing from map.
[W 19:53:48.619 NotebookApp] Replacing stale connection: 6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822:bf99a3fa109b413a8d3ede4f8bce5478
[W 19:54:14.382 NotebookApp] Timeout waiting for kernel_info reply from a793ea8e-f7da-4070-b981-3364140618b5
[E 19:54:14.383 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: a793ea8e-f7da-4070-b981-3364140618b5)
[W 19:54:24.624 NotebookApp] Replacing stale connection: 6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822:bf99a3fa109b413a8d3ede4f8bce5478
[W 19:55:16.632 NotebookApp] Replacing stale connection: 6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822:bf99a3fa109b413a8d3ede4f8bce5478
[W 19:56:40.638 NotebookApp] Replacing stale connection: 6d7a4b33-3a4a-4113-8a1a-fadb3a0e2822:bf99a3fa109b413a8d3ede4f8bce5478





Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. run sage -n jupyter in terminal
2.
3.

Actual results:
Jupyter kernel does not conect and command line show error

Expected results:
Sage kernel runs in jupyter 


Additional info:

Comment 1 Ricardo 2019-05-07 00:04:43 UTC
I also have the bug 1706234 exactly has how was described

 https://bugzilla.redhat.com/show_bug.cgi?id=1706234

Comment 2 Fedora Update System 2019-07-02 14:18:44 UTC
FEDORA-2019-7a52fd2c02 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7a52fd2c02

Comment 3 Fedora Update System 2019-07-03 02:26:51 UTC
sagemath-8.8-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7a52fd2c02

Comment 4 Fedora Update System 2019-07-11 00:57:50 UTC
sagemath-8.8-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.