FS#65287 - [jupyterlab] OSError: [Errno 99] Cannot assign requested address

Attached to Project: Community Packages
Opened by kawabanga (kawabanga) - Monday, 27 January 2020, 11:54 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 02 February 2020, 19:34 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
jupyter does not launch:

jupyter lab

Traceback (most recent call last):
File "/usr/bin/jupyter-lab", line 11, in <module>
load_entry_point('jupyterlab==1.2.6', 'console_scripts', 'jupyter-lab')()
File "/usr/lib/python3.8/site-packages/jupyter_core/application.py", line 268, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/usr/lib/python3.8/site-packages/traitlets/config/application.py", line 663, in launch_instance
app.initialize(argv)
File "</usr/lib/python3.8/site-packages/decorator.py:decorator-gen-7>", line 2, in initialize
File "/usr/lib/python3.8/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/usr/lib/python3.8/site-packages/notebook/notebookapp.py", line 1720, in initialize
self.init_webapp()
File "/usr/lib/python3.8/site-packages/jupyterlab/labapp.py", line 404, in init_webapp
super().init_webapp(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/notebook/notebookapp.py", line 1482, in init_webapp
self.http_server.listen(port, self.ip)
File "/usr/lib/python3.8/site-packages/tornado/tcpserver.py", line 151, in listen
sockets = bind_sockets(port, address=address)
File "/usr/lib/python3.8/site-packages/tornado/netutil.py", line 174, in bind_sockets
sock.bind(sockaddr)
OSError: [Errno 99] Cannot assign requested address


Additional info:
* package version(s)
local/jupyter 4.1.0-7
A language-agnostic web-based interactive shell/notebook server.
local/jupyter-nbconvert 5.6.1-1
A language-agnostic web-based interactive shell/notebook server.
local/jupyter-nbformat 4.4.0-4
The base implementation of the Jupyter Notebook format and Python APIs for working with notebooks
local/jupyter-notebook 6.0.2-1
The language-agnostic HTML notebook application for Project Jupyter
local/jupyter-widgetsnbextension 1:3.5.1-1
Interactive HTML widgets for Jupyter notebooks
local/jupyter_console 6.0.0-3
An IPython-like terminal frontend for Jupyter kernels in any language.
local/jupyterlab 1.2.6-1
JupyterLab computational environment
local/jupyterlab_server 1.0.6-3
Launch an application built using JupyterLab
local/python-ipykernel 5.1.3-2
The ipython kernel for Jupyter
local/python-ipywidgets 7.5.1-4
IPython widgets for the Jupyter Notebook
local/python-jupyter_client 5.3.4-4
Jupyter protocol implementation and client libraries
local/python-jupyter_core 4.6.1-1
Jupyter core package. A base package on which Jupyter projects rely.


* config and/or log files etc.
jupyter --version
jupyter core : 4.6.1
jupyter-notebook : 6.0.2
qtconsole : not installed
ipython : 7.11.1
ipykernel : 5.1.3
jupyter client : 5.3.4
jupyter lab : 1.2.6
nbconvert : 5.6.1
ipywidgets : 7.5.1
nbformat : 4.4.0
traitlets : 4.3.3

cat /etc/hosts
127.0.0.1 localhost
::1 localhost
127.0.1.1 box.localdomain box

cat /etc/hostname
box

* link to upstream bug report, if any

Steps to reproduce:
pacman -S jupyterlab
jupyter lab
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 02 February 2020, 19:34 GMT
Reason for closing:  Works for me
Comment by Antonio Rojas (arojas) - Monday, 27 January 2020, 13:31 GMT
This looks like a local port issue on your system. Try to launch it on a different port
Comment by kawabanga (kawabanga) - Monday, 27 January 2020, 19:33 GMT
It runs with --ip=127.0.0.1 on the default 8888 port. But shouldn't it work out of the box if the hosts is correct?
Can samba interfere with tornado somehow?
Comment by Antonio Rojas (arojas) - Tuesday, 28 January 2020, 20:29 GMT
Yes, it works out of the box. Something must be interfering with it on your system.

Loading...